Hi Marius, On 12 Jun 2015 at 12:30:28, Marius Dumitru Florea ([email protected](mailto:[email protected])) wrote:
Hi guys,
The wiki home page displays, by default, the list of spaces that exist in the wiki (hidden or not, depending on the user profile settings). This is done using the http://extensions.xwiki.org/xwiki/bin/view/Extension/Spaces+Macro . As we have started to work on adding support for nested spaces/documents, we need to review the purpose of this macro. Is it still relevant to display a list of spaces when there is a tree hierarchy? It only makes sense if you want to display just the list of direct children of a given node.
I see the following options:
(1) Display the list of top level nodes (space/document) on the wiki home page. No tree. The rationale is that loading the tree (even if done lazy) is more expensive that displaying a static list of links. For this we can extend the Spaces Macro with a parameter to specify the parent node. When this parameter is not specified the macro will list the top level nodes. (In the context of nested documents we could introduce a new macro Document List instead)
-0. BTW I’ve fixed the Spaces macro so that it doesn’t fail when used for NS (see http://jira.xwiki.org/browse/XWIKI-12354).
(2) Display the tree hierarchy on the wiki home page, using http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro .Of course, the tree will be lazy loaded, and only the top level nodes are displayed initially. If we do this then we can probably deprecate the Spaces Macro and advice the users to use the Document Tree Macro instead.
WDYT?
+1 for (2). (3) However we may also stop displaying a navigation widget in the Dashboard since we’re going to have another way for navigation soon, see http://markmail.org/message/vzjcdr7fgewe4m7j My only worry is that it’s likely that the chosen solution will be sol5 + sol6 and thus less visible for users who don’t know how to use it a first. This could be solved by using the Tour application for first time users I guess and showing them the UI through a Tour overlay. So I’m also +1 for (3) FTR this discussion is related to issue http://jira.xwiki.org/browse/XWIKI-12362 which we may close as won’t fix depending on the result of this discussion. Thanks -Vincent