Hi JV, On Jan 5, 2009, at 6:52 PM, Jean-Vincent Drean wrote:
On Mon, Jan 5, 2009 at 3:27 PM, Vincent Massol <[email protected]> wrote:
I'd really like to have a way to filter/search macros. I want to be able to type "ht" and all macros containing "ht" in their names or description or parameter description would be listed.
I guess this could be done with a suggest input at the bottom as seen in the link dialogs mockup. I suggest to put this in the "possible improvements to keep in mind" category since it's a power user need and we don't have that much macros ftm.
I'm pretty sure this is not a power user feature. It's like saying search are for power users... Google.com has probably proven it's not the case :)
Re macros we also need to define behaviors:
I thought this had been voted before but it was a proposal : http://markmail.org/message/zz2iyc6lhjgtvwja
Yes but I thought we were re-voting on everything in each UI domain. I'm fine if we agreed about something but I can't find it on http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface#HMacros so it wasn't recorded as agreed on. I haven't scanned past discussions but if you have then maybe you could move the result on that page for all topics that were agreed on?
* Rendered macros
We must support them as well as "placeholder macros" IMO.
I don't understand what a "placeholder macro" is (did you mean "macro placeholder"?). Maybe you mean a "placeholder mode" which can be toggled on/off. If so would be nice to include it in the UI proposal to see where it would be located.
* Outline around macro block when cursor is inside a macro rendered content
I think we should always keep this outline to have a visual hint for "everything in this box is not editable".
* Ability to double click inside macro content and it opens up the edit dialog box?
+0.
* When is the rendered macro content refreshed? Manual refresh button? (the easiest I think)
From the thread linked aboved I understood that we'd have to refresh the whole page ? Do you suggest to have a top level refresh button or did I missed something ?
That's what we had discussed. Now I don't see that button in your UI proposal.
* What about macros that take a lot of space like an {{include}}? Do we offer a button to "fold"/"unfold" macros?
I think this is the kind of macro that should be represented by a placeholder. Has stated in a previous thread having included document displayed inline in the editor would distract editors from the page content itself. This will be also needed by other macros like "map" (mentioned by Jerome) where having an iframe in our WYSIWYG iframe could be a problem and, if not, performance would certainly be.
Thanks -Vincent