Wiki source code of Macro Options

Version 5.3 by Ecaterina Valica on 2012/06/12 18:03

Show last authors
1 {{velocity}}
2 $xwiki.ssx.use("Improvements.WebHome")
3 $xwiki.ssx.use("Standards.WebHome")
4 {{/velocity}}
5
6 == Community Feedback ==
7
8 {{info}}
9 [UX][Idea]
10 [users] Making it user-friendly to edit pages with macros for new users (was Re: Need some Help & Explanations) http://xwiki.markmail.org/thread/rnhe6tl3x7snquz7
11 {{/info}}
12
13 (% class="left column40 dashboardleft" %)
14 (((
15 == Issues ==
16 * the include macro rendering is confusing because the user might think he can in-line edit the content
17 * trying to delete some words in the welcome message results in deleting the macro
18 * we need to make clear that the home page content is just using an include macro to display the content located in another place
19
20 == Solution ==
21 * first have all macros collapsed by default
22
23 )))
24
25 (% class="dashboardright right column60 " %)
26 (((
27 == Current ==
28 (% class="left column50 dashboardleft"%)
29 (((
30 Default: Macro Expanded
31 [[[[image:current.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:current.png]]
32 )))
33
34 (% class="left column50 dashboardleft"%)
35 (((
36 Macro Collapsed
37 [[[[image:currentCollapsed.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:currentCollapsed.png]]
38 )))
39
40 (%class='clearfloats'%)((()))
41
42 == Proposal ==
43
44 === 1. Collapsed as default ===
45
46 (% class="left column50 dashboardleft"%)
47 (((
48 Default: Macros Collapsed
49 [[[[image:collapsedByDefault.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:collapsedByDefault.png]]
50 )))
51
52 (% class="left column50 dashboardleft"%)
53 (((
54 Expand Macros on demand
55 [[[[image:expandedOnDemand.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:expandedOnDemand.png]]
56 Even in the expanded form, keep the macro header and have a special background color for the content in order to show it's a macro
57 )))
58
59 (%class='clearfloats'%)((()))
60
61 === 2. Macro Parameters ===
62
63 (% class="left column50 dashboardleft"%)
64 (((
65
66 [[[[image:macrosNoParams.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:macrosNoParams.png]]
67 )))
68
69 (% class="left column50 dashboardleft"%)
70 (((
71
72 [[[[image:macrosParams.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:macrosParams.png]]
73
74 )))
75
76 (%class='clearfloats'%)((()))
77
78 === x. Nested macros ===
79
80 (% class="left column50 dashboardleft"%)
81 (((
82
83 [[[[image:nestedMacrosCollapsed.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:nestedMacrosCollapsed.png]]
84 )))
85
86 (% class="left column50 dashboardleft"%)
87 (((
88
89 [[[[image:nestedMacrosExpanded.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:nestedMacrosExpanded.png]]
90
91 )))
92
93 (%class='clearfloats'%)((()))
94
95 )))