Changes for page Macro Options

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

From version 3.6
edited by Ecaterina Valica
on 2012/06/12 17:17
Change comment: There is no comment for this version
To version 6.5
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  
... ... @@ -39,27 +39,64 @@
39 39  
40 40  (%class='clearfloats'%)((()))
41 41  
42 -== Proposal ==
44 +== Proposal ==
43 43  
44 -(% class="left column33 dashboardleft"%)
46 +=== 1. Collapsed as default ===
47 +
48 +(% class="left column50 dashboardleft"%)
45 45  (((
50 +Default: Macros Collapsed
51 +[[[[image:collapsedByDefault.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:collapsedByDefault.png]]
52 +The collapse/expanded functionality could be also added in the toolbar in order to be more discoverable
53 +)))
46 46  
55 +(% class="left column50 dashboardleft"%)
56 +(((
57 +Expand Macros on demand
58 +[[[[image:expandedOnDemand.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:expandedOnDemand.png]]
59 +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
47 47  )))
48 48  
49 -(% class="left column33 dashboardleft"%)
62 +(%class='clearfloats'%)((()))
63 +
64 +=== 2. Macro Parameters ===
65 +
66 +(% class="left column50 dashboardleft"%)
50 50  (((
51 51  
69 +[[[[image:macrosNoParams.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:macrosNoParams.png]]
70 +The macro's header contains at least the macro's name
52 52  )))
53 53  
54 -(% class="left column33 dashboardright" %)
73 +(% class="left column50 dashboardleft"%)
55 55  (((
56 56  
76 +[[[[image:macrosParams.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:macrosParams.png]]
77 +We could also display the macro params in the header
78 +
57 57  )))
58 58  
59 59  (%class='clearfloats'%)((()))
60 60  
83 +=== x. Nested macros ===
84 +
85 +(% class="left column50 dashboardleft"%)
86 +(((
87 +
88 +[[[[image:nestedMacrosCollapsed.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:nestedMacrosCollapsed.png]]
61 61  )))
62 62  
91 +(% class="left column50 dashboardleft"%)
92 +(((
63 63  
94 +[[[[image:nestedMacrosExpanded.png||style="max-width: 98%; margin-bottom: 3em;"]]>>attach:nestedMacrosExpanded.png]]
64 64  
96 +)))
65 65  
98 +(%class='clearfloats'%)((()))
99 +
100 +)))
101 +
102 +
103 +
104 +
collapsedByDefault.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.evalica
Size
... ... @@ -1,0 +1,1 @@
1 +37.3 KB
Content
expandedOnDemand.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.evalica
Size
... ... @@ -1,0 +1,1 @@
1 +46.3 KB
Content
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