Changes for page Macro Options

Last modified by Ecaterina Moraru on 2013/11/13 12:50

From version 4.5
edited by Ecaterina Valica
on 2012/06/12 17:24
Change comment: There is no comment for this version
To version 6.8
edited by Ecaterina Valica
on 2012/06/12 18:09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -18,7 +18,9 @@
18 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 19  
20 20  == Solution ==
21 -* first have all macros collapsed by default
21 +* Have all macros collapsed by default
22 +* Add collapsed/extended functionality inside the toolbar
23 +* Make macros actions (edit, delete, +custom) more visible
22 22  
23 23  )))
24 24  
... ... @@ -40,11 +40,15 @@
40 40  (%class='clearfloats'%)((()))
41 41  
42 42  == Proposal ==
45 +{{toc start='3' depth='3'/}}
43 43  
47 +=== 1. Collapsed as default ===
48 +
44 44  (% class="left column50 dashboardleft"%)
45 45  (((
46 46  Default: Macros Collapsed
47 47  [[[[image:collapsedByDefault.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:collapsedByDefault.png]]
53 +The collapse/expanded functionality could be also added in the toolbar in order to be more discoverable
48 48  )))
49 49  
50 50  (% class="left column50 dashboardleft"%)
... ... @@ -51,13 +51,49 @@
51 51  (((
52 52  Expand Macros on demand
53 53  [[[[image:expandedOnDemand.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:expandedOnDemand.png]]
54 -* 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
60 +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
55 55  )))
56 56  
57 57  (%class='clearfloats'%)((()))
58 58  
65 +=== 2. Macro Parameters ===
66 +
67 +(% class="left column50 dashboardleft"%)
68 +(((
69 +
70 +[[[[image:macrosNoParams.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:macrosNoParams.png]]
71 +The macro's header contains at least the macro's name
59 59  )))
60 60  
74 +(% class="left column50 dashboardleft"%)
75 +(((
61 61  
77 +[[[[image:macrosParams.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:macrosParams.png]]
78 +We could also display the macro params in the header
62 62  
80 +)))
63 63  
82 +(%class='clearfloats'%)((()))
83 +
84 +=== x. Nested macros ===
85 +
86 +(% class="left column50 dashboardleft"%)
87 +(((
88 +
89 +[[[[image:nestedMacrosCollapsed.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:nestedMacrosCollapsed.png]]
90 +)))
91 +
92 +(% class="left column50 dashboardleft"%)
93 +(((
94 +
95 +[[[[image:nestedMacrosExpanded.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:nestedMacrosExpanded.png]]
96 +
97 +)))
98 +
99 +(%class='clearfloats'%)((()))
100 +
101 +)))
102 +
103 +
104 +
105 +
macrosNoParams.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.evalica
Size
... ... @@ -1,0 +1,1 @@
1 +37.3 KB
Content
macrosParams.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.evalica
Size
... ... @@ -1,0 +1,1 @@
1 +41.4 KB
Content
nestedMacrosCollapsed.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.evalica
Size
... ... @@ -1,0 +1,1 @@
1 +53.6 KB
Content
nestedMacrosExpanded.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.evalica
Size
... ... @@ -1,0 +1,1 @@
1 +55.9 KB
Content