On Wed, Jun 23, 2010 at 15:44, Marius Dumitru Florea <[email protected]> wrote: > On 06/23/2010 03:44 PM, Anca Luca wrote: >> Hi all, >> >> I wanted to insert a macro in a page using the wysiwyg and I noticed >> that the macros filter (search box on top right) is not searching in the >> macro ids. >> >> For example, if I try to write "toc" I get no results. If I write >> "table" I get the "Table of contents" macro as result, since its name >> matches. I found this a bit annoying in my case, since i know the >> macroid (if I were to write it in the wiki syntax) and I cannot find the >> macro (still, I'm using the wysiwyg because I can never remember macro >> params). Also, I use the search function because it's far easier to >> filter it out then scroll for it in the list. >> >> WDYT about searching in the macro ids as well? (1) > > I think this is an edge case, when the macro name is an abbreviation. > This is also mixed with the fact that you are a technical user. Most of > the time the macro name is very close to the macro id ("myCoolMacro" vs. > "My Cool Macro"). So IMO this is a false problem. Also, I think it can > be confusing if the result list contains an item that doesn't include > the search/filter term ("xyz" is displayed but I searched for "abc"). > This brings us to the second proposal below. > >> >> Also, the macro id is not displayed. This is good for simple users for >> which it has no meaning, but there can be a situation when 2 macros have >> the same name and same description (e.g. void description) and users >> would want to be able to differentiate one from the other in the macros >> list, even the simple users, I would say (for example because they >> always want to use one macro of the 2 and they can never tell one from >> the other only by name). >> >> WDYT about displaying the macro is as well? (2) of course pretty small >> and greyed out, like some advanced metadata. > > I don't think displaying the macro id is a good idea at all: > > * macro id is an information that the average user isn't interested in > * most of the time we would be displaying the same information twice > ("Velociy" vs. "velocity" and "myCoolMacro" vs. "My Cool Macro"). This > will clutter the dialog and will confuse the user.
Could be in a tooltip. > * all macros should have a good title and description; it's the > responsibility of the macro author to provide them; as a user I wouldn't > be tempted to use a macro that is not well described. > > Again, I think the use case with the two macros that have the same title > and description is an edge case and it's doesn't show a real problem. > >> >> Marius said it's no big deal to implement neither, as long as we agree. >> >> My +1 for both (1) and (2). > > I'm -0 for (1) and close to -1 for (2). > > Thanks, > Marius > >> >> Thanks, >> Anca >> >> >> >> _______________________________________________ >> devs mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > -- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

