Hi,
On Mon, Aug 31, 2009 at 12:12 AM, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
Hi devs,
I'd like to introduce a 'Create' entry in the XWiki action menu. This
would be the first entry (it would appear before 'Edit') and would have
the following sub-menus:
- Page
- Page from Office Document
- Space
I like the idea. I've got a couple remarks though.
The action bar is meant to be contextual to the current page - to hold
actions related to the current page. This will be made clearer once we move
the action bar closer to the content area. Therefore we should make clear
that the create button does stuff related to the current page by:
- renaming "Page" into "Child page"
- make sure that the created page has the current one set as its
parent
- renaming "Page from Office Document" into "Child page from Office
Document"
- make sure that the created page has the current page as its parent
(might require a couple changes to the OOImporter XApplication)
Making the created page a child of the current page has at least 3 benefits:
- it respects the wiki philosophy that pages should always be
linked together
(no orphan pages)
- it is consistent with other action bars action (creating a child page
is related to the current page)
- it makes it easier to create a tree-like navigation structure (we often
do that on wiki pages: create a new page that links towards a set of pages)
- we could also introduce a {{childrenpages /}} macro to make the
creation of tree stuctures even easier
I've purposedly not included the "Create space" button for 2 reasons:
- it doesn't fit with the "related to the current page" rule
- spaces are high-level items and they have a specific role in XWiki
Creating a new space without knowing which spaces already exist makes it
easy to create "Space clutter" (we experience it on our intranet for
instance). Right now, the home page (through the Dashboard) already displays
the list of spaces in the wiki and provides a "create new space" button.
I think this button is enough to provide an interface for new space creation
and that it doesn't have to be duplicated on every page for the reasons set
out above.
The "Page from Office document" entry
replaces the "Import Office
Document" entry from the "Actions" menu, which IMHO does not really fit
there. This allows to also get rid of the "Create" panel, and have all
the features available from the menu.
I've got another semantic question: should we use "Create" or
"Add" (or
something else)?
- Create
- "create whild page"
- "create child page from Office Document"
- Add
- "add child page"
- "add child page from Office Document"
My gut feeling is that "add" sounds better (I can't really give a rational
reason) thus I'd like to get other people's feedback about it.
We could include this only in the Colibri skin for the
moment,
experimentally, to see how it is received by the users.
Definitely.
Thanks,
Guillaume
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Guillaume Lerouge
Product Manager - XWiki
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/