A better UI could be a list of checkboxes and we could have Development, Deprecated and Internal not checked by default.
Thanks -Vincent > On 17 Jul 2017, at 11:00, Marius Dumitru Florea > <[email protected]> wrote: > > +0. I hope the users won't get confused by the fact that "All macros" > doesn't show all macros. The use case I have in mind is when an user > upgrades XWiki and is looking for a macro he was using and that is now > deprecated. He won't know to select the Deprecated category unless he reads > the release notes. > > Thanks, > Marius > > On Sat, Jul 15, 2017 at 5:06 PM, Vincent Massol <[email protected]> wrote: > >> Hi devs, >> >> Needs: >> * We need some “Deprecated” macro category so that users understand when a >> macro is deprecated and are less tempted to use it >> * We need to not show “Internal” macros by default to not “pollute” the >> Macro list by default >> >> Proposal: >> * When the “All Macros” is selected display all macros *except* those from >> 2 categories: “Deprecated” and “Internal”. >> * If the user needs/wants to use those macros, he’ll need to explicitly >> select those categories. >> * When we want to deprecate a Macro we move it from its category to the >> “Deprecated” category, before removing it further in the future (when is to >> be defined on an adhoc basis) >> >> Technical details: >> * Change https://github.com/xwiki-contrib/application-ckeditor/ >> blob/master/plugins/src/main/resources/xwiki-macro/macroSelector.js#L144 >> to implement this new behavior >> >> WDYT? >> >> Thanks >> -Vincent >> >>

