Macro Options

Version 6.15 by Ecaterina Valica on 2012/06/12 18:36
Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [incubator:Improvements.MacrosOptions]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

Community Feedback

[UX][Idea]
[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

Issues

  • the include macro rendering is confusing because the user might think he can in-line edit the content
  • trying to delete some words in the welcome message results in deleting the macro
  • we need to make clear that the home page content is just using an include macro to display the content located in another place

Solution

  • Have all macros collapsed by default
  • Add collapsed/extended functionality inside the toolbar
  • Make macros actions (edit, delete, +custom) more visible

Current

Default: Macro Expanded
current.png

Macro Collapsed
currentCollapsed.png

Proposal

1. Macros collapsed by default

Default: Macros Collapsed
collapsedByDefault.png
The collapse/expanded functionality could be also added in the toolbar in order to be more discoverable

Expand Macros on demand
expandedOnDemand.png
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

2. Macro Parameters

macrosNoParams.png
The macro's header contains at least the macro's name

macrosParams.png
We could also display the macro params in the header

2. Macro Actions

macrosActionsV1.png

macrosActionsV2.png

x. Nested macros

nestedMacrosCollapsed.png

Specially useful for macros like: Unknown macro: columns. Click on this message for details.