Skip to content

✨(frontend) show the user's workspaces in the sidebar#765

Open
maartendra wants to merge 1 commit into
suitenumerique:mainfrom
maartendra:feat/workspaces-in-sidebar
Open

✨(frontend) show the user's workspaces in the sidebar#765
maartendra wants to merge 1 commit into
suitenumerique:mainfrom
maartendra:feat/workspaces-in-sidebar

Conversation

@maartendra

Copy link
Copy Markdown

Purpose

The sidebar tree is seeded with the Favorites node only (resetTree([favoritesNode])), even though its own comment says "root items (aka workspaces)". As a result a user's workspaces never appear as sidebar entries — the personal main workspace and any shared/team drive are only reachable inside the My files / Shared with me content views. This also matches the sidebar in docs/assets/Drive_screenshot.png ("Espace de stockage"), which the current build doesn't render.

What changes

Seed the sidebar tree with the user's root items in addition to Favorites — each becomes a first-class, lazily-expandable entry through the existing onLoadChildren handler. The personal main workspace already renders as "Espace de stockage" via getItemTitle. No new components or endpoints.

Result

Notes

This touches a design-led area — happy to align with your Figma and adjust ordering, grouping, or styling. Opening it as a concrete, working starting point rather than a spec.

Context: deploying Drive as the "drive" pillar of email.eu, a sovereign EU business workspace.

The sidebar tree seeded only the Favorites node, so a user's workspaces — the
personal main workspace and any shared/team drive — never appeared as top-level
entries (only inside the My files / Shared with me content views). Seed the tree
with the root items too, so each workspace is a first-class, lazily-expandable
sidebar entry (the main workspace already renders as "Espace de stockage" via
getItemTitle). Matches docs/assets/Drive_screenshot.png.
@sonarqubecloud

sonarqubecloud Bot commented Jul 7, 2026

Copy link
Copy Markdown

@kernicPanel
kernicPanel requested review from NathanVss, arnaud-robin and robin-lecomte and removed request for arnaud-robin and robin-lecomte July 8, 2026 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant