Changes for page Macro Options

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

From version 4.6
edited by Ecaterina Valica
on 2012/06/12 17:25
Change comment: There is no comment for this version
To version 6.6
edited by Ecaterina Valica
on 2012/06/12 18:08
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  
... ... @@ -41,12 +41,15 @@
41 41  
42 42  == Proposal ==
43 43  
44 -=== Collapsed as default ===
46 +{{toc start='2'/}}
45 45  
48 +=== 1. Collapsed as default ===
49 +
46 46  (% class="left column50 dashboardleft"%)
47 47  (((
48 48  Default: Macros Collapsed
49 49  [[[[image:collapsedByDefault.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:collapsedByDefault.png]]
54 +The collapse/expanded functionality could be also added in the toolbar in order to be more discoverable
50 50  )))
51 51  
52 52  (% class="left column50 dashboardleft"%)
... ... @@ -53,30 +53,49 @@
53 53  (((
54 54  Expand Macros on demand
55 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
61 +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 57  )))
58 58  
59 59  (%class='clearfloats'%)((()))
60 60  
61 -=== Nested macros ===
66 +=== 2. Macro Parameters ===
62 62  
63 63  (% class="left column50 dashboardleft"%)
64 64  (((
65 65  
66 -[[[[image:collapsedByDefault.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:collapsedByDefault.png]]
71 +[[[[image:macrosNoParams.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:macrosNoParams.png]]
72 +The macro's header contains at least the macro's name
67 67  )))
68 68  
69 69  (% class="left column50 dashboardleft"%)
70 70  (((
71 71  
72 -[[[[image:expandedOnDemand.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:expandedOnDemand.png]]
78 +[[[[image:macrosParams.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:macrosParams.png]]
79 +We could also display the macro params in the header
73 73  
74 74  )))
75 75  
76 76  (%class='clearfloats'%)((()))
77 77  
85 +=== x. Nested macros ===
86 +
87 +(% class="left column50 dashboardleft"%)
88 +(((
89 +
90 +[[[[image:nestedMacrosCollapsed.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:nestedMacrosCollapsed.png]]
78 78  )))
79 79  
93 +(% class="left column50 dashboardleft"%)
94 +(((
80 80  
96 +[[[[image:nestedMacrosExpanded.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:nestedMacrosExpanded.png]]
81 81  
98 +)))
82 82  
100 +(%class='clearfloats'%)((()))
101 +
102 +)))
103 +
104 +
105 +
106 +
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