This issue has been created
There is 1 update, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-890c5954-dd46-4977-a29d-e03987f9bf58 XWIKI-24097 Open

Add a "root parent children" navigation panel

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-849eb59f-45ab-4263-b98e-f6722932c12b Anca Luca created this issue on 08/Mar/26 19:36
 
Summary: Add a "root parent children" navigation panel
Issue Type: cid:jira-generated-image-avatar-890c5954-dd46-4977-a29d-e03987f9bf58 New Feature
Affects Versions: 17.10.4, 17.8.0
Assignee: Unassigned
Components: Panels
Created: 08/Mar/26 19:36
Priority: cid:jira-generated-image-static-major-75229a1b-70cd-451a-8ed5-a45d52ad5882 Major
Reporter: Anca Luca
Description:

Today, in XWiki, there are a couple of navigation panels that can be configured for a page tree, that provide tree navigation features:

  • the standard navigation panel, which displays the whole page tree of the wiki, according to its configuration from the administration (exclusions)
  • the children panel, that displays all children of the current page
  • the siblings macro, that shows pages on the same level as the current page
  • etc.

This issue is about adding a new panel available by default, that would display the navigation inside the first parent from the root of the wiki of the current page.

For example, for a page A.B.C.WebHome, the panel would show a tree with the root in A, without showing A.

For a page P.R.S.WebHome, the panel would show the tree with the root in P, without showing P.

 
 

1 update

 
cid:jira-generated-image-avatar-849eb59f-45ab-4263-b98e-f6722932c12b Changes by Anca Luca on 08/Mar/26 19:38
 
Description: Today, in XWiki, there are a couple of navigation panels that can be configured for a page tree, that provide tree navigation features:
* the standard navigation panel, which displays the whole page tree of the wiki, according to its configuration from the administration (exclusions)
* the children panel, that displays all children of the current page
* the siblings macro, that shows pages on the same level as the current page
* etc.

This issue is about adding a new panel available by default, that would display the navigation inside the first parent from the root of the wiki of the current page.

For example, for a page A.B.C.WebHome, the panel would show a tree with the root in  A, without showing A.

For a page P.R.S.WebHome, the panel would show the tree with the root in P, without showing P.

Although a navigation panel that shows a document tree with the root somewhere lower in the tree is both rather easy to write and not restricted to the toplevel pages, this panel would allow to cover a number of usecases, where navigation is expected at first level.

This panel is helpful towards the usecase of setting up  "areas" of content in a wiki without creating subwikis, by simulating some form of toplevel units, that are "isolated" between eachother.


 
 

1 comment

 
cid:jira-generated-image-avatar-849eb59f-45ab-4263-b98e-f6722932c12b Anca Luca on 08/Mar/26 19:43
 

A better yet version of this panel would dynamically display the navigation tree for the page where the panel is set. For example, imagine a page A.B.WebHome, that has some children also, C and D. Then, in the administration of page B, a panels configuration is made and this "root page navigation" panel is set. Then, when navigating to B, C or D, the panel would display a tree for navigating inside B, not inside A, because the setting is made at B level.
Maybe both panels could be added, the simple one that is described in the description of this issue but also the fancy dynamic one described in this comment.