On Nov 25, 2008, at 5:05 PM, Jean-Vincent Drean wrote:
In a previous thread we've discussed about how to
add a link in the
WYSIWYG editor, and more generally, how to browse the wiki from a
WYSIWYG dialog box (See
http://markmail.org/message/tyxrcr24w3n6m2pn
for more details).
After some thinking and a discussion with Laurent Lunati, I'd like to
suggest a 3rd way of browsing the wiki from the WYSIWYG: an enhanced
tree menu.
I've put the mockups and Pros/Cons on this wiki page :
http://dev.xwiki.org/xwiki/bin/view/Design/
NewWysiwygEditorWikiExplorer
This wiki explorer widget would be used in the link dialogs, image
dialogs, file (attachment) dialogs.
Here's my +1 for 3) A).
+1 for 3) with filter option.
+1 for 3) but provided we have a filter box above the tree to filter
pages/attachments/spaces/wikis
+1 for 3B or 3C. 3A doesn't scale with the number of pages.
From the implementation POV 3) is probably the most
difficult proposal
and 1) the simplest one. Widget 3) would need to be a reusable (and
highly configurable) GWT component so that we could use it as our main
navigation/reorganization tool in the future. This tree would replace
our current treeview (Main.AllDocs) which is AFAIR the only page using
the YUI library in XE.
+1 for replacing the current index treeview and have a single
implementation (will require drag and drop for the index).
Re GWT +1 provided we can find an easy way to do drag and drop (I hope
it exists and that we won't have to rewrite it - Otherwise might be
better to use another ajax fwk maybe?)
Thanks
-Vincent