# Proposal: Grouping the user profile menu into collapsible sections

**URL:** <https://forum.xwiki.org/t/proposal-grouping-the-user-profile-menu-into-collapsible-sections/19136>\
**Category:** Development\
**Tags:** proposal, ui\
**Created:** [November 19, 2026, 3:24pm UTC](https://forum.xwiki.org/t/proposal-grouping-the-user-profile-menu-into-collapsible-sections/19136 "2026-11-19T15:24:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![CharpentierLucas](https://forum.xwiki.org/user_avatar/forum.xwiki.org/charpentierlucas/32/4830_2.png) [@CharpentierLucas](https://forum.xwiki.org/u/CharpentierLucas)\
**Post date:** [November 19, 2026, 3:24pm UTC](https://forum.xwiki.org/t/proposal-grouping-the-user-profile-menu-into-collapsible-sections/19136/1 "2026-11-19T15:24:33Z")

</div>

## Context

The left menu of the user profile is a flat list of 8 entries in XWiki Standard (Profile, Preferences, Groups, Network, Notifications, Wikis, Dashboard, Liked pages), and extensions keep adding more: there’s at least 9 outside xwiki-platform. There’s no obvious place for a new preference, and the list keeps growing ([XWIKI-22065](https://jira.xwiki.org/browse/XWIKI-22065)).

## Proposal

Group the entries in collapsible sections, displayed as an accordion like the one of the Administration menu:

| Before | After, on load | After, Preferences opened |
| --- | --- | --- |
| ![Flat user profile menu](https://forum.xwiki.org/uploads/default/original/2X/b/b7f510bd2b48bfa10e4af1c0d65be554d167e382.png) | ![Grouped user profile menu with the Profile group expanded](https://forum.xwiki.org/uploads/default/original/2X/0/0d023cac1249870e2e288aa92d54e233a6764cb7.png) | ![Grouped user profile menu with the Settings group expanded](https://forum.xwiki.org/uploads/default/original/2X/c/cb94add9f3238d9a1b7c738e7b2ec3db2c5e4953.png) |

The default groups:

| Group | Entries |
| --- | --- |
| Profile | Profile, Groups, Wikis |
| Activity | Network, Dashboard, Liked pages |
| Settings | Preferences, Notifications |
| Other | entries without a group, e.g. those of extensions not updated yet |

The behaviour is the one of the Administration menu:

- Only one group is expanded at a time.
- The group of the displayed entry is expanded on load, and again when going back in the browser history.
- Clicking a group heading only expands or collapses it, groups have no page of their own.
- Empty groups are hidden.

Here it is in action: [https://github.com/user-attachments/assets/6f5f214d-3d20-41c6-ae41-3f1d7f7a671c](https://github.com/user-attachments/assets/6f5f214d-3d20-41c6-ae41-3f1d7f7a671c)  
 ![accordion](https://forum.xwiki.org/uploads/default/original/2X/a/a194d2f56b40b02ee7770349293df138ea774e1e.gif)

On the technical side, in short:

- Groups are UI extensions of a new `org.xwiki.platform.user.profile.menuGroup` extension point, so an extension can add its own group.
- Menu entries get an optional `group` parameter. Existing extensions keep working unchanged and land in `Other`.
- The accordion is a new generic `#verticalNavigationAccordion` skin macro. The Administration menu is not migrated to it right now but it’s an improvement we could do later on.
- The panes content themselves don’t change.,

The details, the rules and the dropped options are on this design page: [https://design.xwiki.org/xwiki/bin/view/Proposal/UserProfileMenuSubsections/](https://design.xwiki.org/xwiki/bin/view/Proposal/UserProfileMenuSubsections/)  
The implementation is in draft PR [XWIKI-22065: Add subsections to the preference menu by Sereza5 · Pull Request #7508 · xwiki/xwiki-platform · GitHub](https://github.com/xwiki/xwiki-platform/pull/7508)

## Questions

1. Do you agree with this accordion for the user profile menu? It takes more space than the previous menu but it matches better what we have in the Admin menu.
2. Do you agree with the 4 default groups and the entries in each?

Here’s my +1 for both.

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [November 19, 2026, 4:48pm UTC](https://forum.xwiki.org/t/proposal-grouping-the-user-profile-menu-into-collapsible-sections/19136/2 "2026-11-19T16:48:48Z")

</div>

> [@CharpentierLucas](#):
>
> Profile: Profile, Groups, Wikis

I’m fine with the content of the category, but not sure it’s the right naming for the category itself.

> [@CharpentierLucas](#):
>
> Settings: Preferences, Notifications

I’m wondering if renaming “Preference” to something like “General” (i.e. the general settings, and then other specific ones) would not look better.

> [@CharpentierLucas](#):
>
> 1. Do you agree with this accordion for the user profile menu? It takes more space than the previous menu but it matches better what we have in the Admin menu.

+1

> [@CharpentierLucas](#):
>
> 1. Do you agree with the 4 default groups and the entries in each?

+1

---

<div class="post-metadata">

**Author:** ![mleduc](https://forum.xwiki.org/user_avatar/forum.xwiki.org/mleduc/32/2328_2.png) [@mleduc](https://forum.xwiki.org/u/mleduc)\
**Post date:** [November 20, 2026, 8:59am UTC](https://forum.xwiki.org/t/proposal-grouping-the-user-profile-menu-into-collapsible-sections/19136/3 "2026-11-20T08:59:05Z")

</div>

Thanks for the proposal @CharpentierLucas !

+0 to group by categories, it could be interesting, but that’s one more discussion to have, and that always takes a lot of time.  
-0 to make the categories foldable, currently the list of entries in the profile menu is quite short 8 by default and 9 more if an instance installs _all_ the extensions contributing new entries. Even in this worst case, 17 entries are not that bad. On the contrary, having the entries folded will decrease discoverability.

So overall, I’m not really sure if we need this change unless there is a need I’m not seeing.

---

<div class="post-metadata">

**Author:** ![CharpentierLucas](https://forum.xwiki.org/user_avatar/forum.xwiki.org/charpentierlucas/32/4830_2.png) [@CharpentierLucas](https://forum.xwiki.org/u/CharpentierLucas)\
**Post date:** [November 20, 2026, 9:51am UTC](https://forum.xwiki.org/t/proposal-grouping-the-user-profile-menu-into-collapsible-sections/19136/4 "2026-11-20T09:51:07Z")

</div>

IMO 8 is already the limit, going to 17 completely goes over Miller’s law.

> **[Miller’s Law | Laws of UX](https://lawsofux.com/millers-law/)**
>
> The average person can only keep 7 (plus or minus 2) items in their working memory.

That’s why I blocked myself a couple other improvement that involved adding panels to this menu in XS ([Loading...](https://jira.xwiki.org/browse/XWIKI-16216) or [Changing order of notification -\> autowatch](https://forum.xwiki.org/t/changing-order-of-notification-autowatch/14342)), imo it would be a big usability regression to just keep adding panels without adding some structure here.  
It’s the primary argument behind this proposal.

Of course for people who know it it’s more convenient to just have a small list like today, but I think most newcomers won’t look at or internalize easily the whole list if we just keep adding items to it.

The accordion features are overkill for XS today, I agree we can drop it for now (maybe add it in the future when the number of panels has increased too much again – it would probably be a sign that we need to cut down somewhere else though ^^').  
@mleduc are you okay with this grouping and going towards a shared style with the admin menu (less dense)?
