Anca Paula Luca a écrit :
Ludovic Dubost wrote:
I'm having some thoughts about the
attachments and image insert. I just
tested the current work on attachment link insert.
The more I think about it, the more I believe that images and
attachments should be mainly attached to the CURRENT page.
It is a nice to have to be able to use images or attachments for other
pages (and even less upload to another page).
However, when I look at the superbe tree UI, I have the feeling it will
actually get in the way of the main usage, which is having the file
attached to the current page.
1/ I can make sure the currently selected page in the tree on loading the dialog
is the current page, so that the main usage is facilitated: either one selects a
file attached to the current page, either she hits "Add attachment" and uploads
a new one.
This option in my opinion is not good enough. The tree will actually go
in the way of people understanding the tool.
I believe the first impressio of the user needs to be simple and simple
means less information shown on the screen.
So it means a UI much more like the current Image UI (with the page
choice removed).
The tree or whatever concerning images or attachments from different
pages than the current one should be hidden from the user.
And this feature is actually NOT a priority. I'm not even sure we have
had any people asking for inserting images from other pages did we ?
Therefore I believe we should have 2 different
UIs. One simple and one
advanced. The simple one would only manager files or images attached to
the current page. The advanced would be the tree one.
So one would not be able to add a link to an attachment / image from another
page, using the simple UI? I think this is acceptable only if we provide the
simple and advanced UIs accessible almost as easy.
2/ One idea for this would be to have 2 tabs in the selection step, one with a
simple UI, the other with the advanced tree, and let the user select an attached
file / image from any of them.
Yes Tabs is an option.
3/ Another idea is that the simple UI is still the
tree, but drawing only the
current page's node. On hitting a "More" button, the tree will be completed
with
the whole wiki, so that the user can select other things too (we need to check
if that's possible with the tree)
I think this is less optimal for the simple case. We need to focus on
making the simple case optimal.
I vote for 2/ or sergiu's hidden tree idea.
Ludovic
My vote goes for 1/ for consistency reasons (same
widget everywhere), for not
crowding the UI with tabs, buttons, options, for not having to make the user
understand what is the difference between the two and why she needs two, and
because I think it would do its job smoothly (will get the tree out of the way
of the main usage).
Happy coding,
Anca Luca
I understand this is more work, but if you ask
me, if we should do only
one, then it should be the one with file or images in the current page.
WDYT ?
Ludovic
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Ludovic Dubost
Blog:
http://blog.ludovic.org/
XWiki:
http://www.xwiki.com
Skype: ldubost GTalk: ldubost