Hi,
Especially for a groupware/workspaces use case I think is very important to
mark specially the main wiki, and display it as a parent for the other
wikis.
For a farm use case, the main wiki will not be displayed on subwikis and
the home icon will represent the local wiki homepage (but in theory the
main wiki is still a parent wiki).
Regarding consistency, I think breadcrumbs and trees should reflect the
same hierarchy. They should not be different and their representation
should reinforce the organization of pages everytime an user is using one
or the other. We cannot have discrepancies between them, because users will
be confused and will always try to process why there are differences
between the representations.
Also is not like breadcrumbs and trees are distinct displayers. With the
http://jira.xwiki.org/browse/XWIKI-12430 proposal, they will be tightly
related so consistency is a must.
Thanks,
Caty
On Mon, Aug 24, 2015 at 4:09 PM, vincent(a)massol.net <vincent(a)massol.net>
wrote:
On 24 Aug 2015 at 14:21:19, Marius Dumitru Florea (
mariusdumitru.florea@xwiki.com(mailto:mariusdumitru.florea@xwiki.com))
wrote:
Hi devs,
I recently discussed with Edy about how the breadcrumb should look and
there may be an inconsistency with the hierarchy displayed by the
document tree.
Breadcrumb on the main wiki:
Home Icon (pointing to the main wiki home page) / MDoc1 / MDoc2 / ... /
MDocX
Breadcrumb on a subwiki (that has only global users):
Home Icon (pointing to the main wiki home page) / Subwiki Pretty Name
(pointing to the subwiki home page) / SDoc1 / SDoc2 / ... / SDocX
After seeing the breadcrumbs both on the main wiki and on a subwiki
the user might think that the document MDoc1 and the wiki "Subwiki
Pretty Name" are on the same level: both children of the main wiki.
Next if the user tries the document tree macro using:
{{documentTree showWikis="true" /}}
he will notice that "Subwiki Pretty Name" is not actually a child of
the main wiki but a top level node (a child of the "farm"), on the
same level with the main wiki.
Can this be considered as an inconsistency? In our model (e.g.
document reference) there is no hierarchy between wikis, although, as
Edy pointed out, there are places where we consider the main wiki to
be the "parent" of the subwikis (e.g. in the authorization module, by
inheriting access rights from the main wiki).
WDYT? Is the main wiki the parent of the subwikis or just a sibling?
Good question and indeed we need to decide what we want to do since we
have the 2 options.
Personally I think it’s interesting to mark the main wiki as special since
it is special (accounts there are different than on subwikis) so I’d be in
favor of considering subwikis as children of the main wiki.
Should the breadcrumb be synchronized with the
tree?
I’d say the other way around. The tree should probably show the main wiki
as the parent of all subwikis. And when there’s only one wiki (ie the main
wiki), we could simply not show the wiki level for simplicity. We could
also decide to open the tree to the level below the main wiki by default so
that users don’t have to open it themselves.
Thanks
-Vincent
Thanks,
Marius
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs