On 3 May 2018, at 12:14, Ecaterina Moraru (Valica)
<valicac(a)gmail.com> wrote:
On Thu, May 3, 2018 at 12:07 PM, Vincent Massol <vincent(a)massol.net> wrote:
On 3 May 2018, at 10:58, Ecaterina Moraru
(Valica) <valicac(a)gmail.com>
wrote:
On Wed, May 2, 2018 at 7:02 PM, Marius Dumitru Florea <
mariusdumitru.florea(a)xwiki.com> wrote:
> Hi devs,
>
> Some users have complained that the navigation panel shows top level
pages
> that they don't need/want to navigate to,
most importantly the XWiki
page.
>
> There are multiple ways in which we can fix this.
>
> Solution 1: Content Page
>
> Create a top level "Content" page for user content and configure the
> navigation panel to show the contents of this page.
>
> Pros:
> * Namespace isolation (no conflicts between user pages and application
> pages)
>
> Cons:
> * The user may want to navigate to a top level application page
(although
it's
better to use the application panel for this instead)
* All the paths / references used to access the user content will start
with this "Content" page
S1: This solution is good if users would work in isolation or in the
evaluation period, but for team and multiple people sharing spaces, I
don't
see this as a valid solution.
-0
>
> Solution 2: Blacklisting
>
> Add support for specifying a list of (top level) pages to exclude from
the
> navigation panel.
>
> Pros:
> * The user (top level) pages created later on will be visible in the
> navigation panel
> * The blacklist could be used to filter not only top level pages but
also
> any nested page from the navigation panel.
>
> Cons:
> * The blacklist depends on the installed apps. The administrator may
have
> to update the blacklist when new applications
are installed
> * The blacklist depends on whether you view hidden pages or not. If you
> don't view hidden pages then the blacklist probably contains 4 pages:
Help,
> Menu, Sandbox, XWiki (there is an application
panel entry for each of
them
> except XWiki), which is manageable. If you
view hidden pages then you
need
> to black list 28+ pages which is hard to
manage and maintain.
> * The filtering needs to happen on the database (otherwise we break the
> pagination) so the database queries will become a bit more complex,
which
> could led to some performance penalty,
depending on how long the
blacklist
is.
S2: I see the blacklist solution more as a hack for things in XWiki that
should be fixed (have users outside XWiki space, move Sandbox into Help
space, hide Help pages and provide a dedicated Help entry in the User
menu,
etc.) but we don't have the time to do it.
-0 in an ideal state
What you’re saying is that users will always want to show the full tree in
the Navigation panel and that there are no use cases where they’ll want to
hide some parts (that they have created). I believe that this use case
exists.
If they want to hide something, they have the Hidden pages mechanism.