Skip to content

Conversation

@fsamin
Copy link
Member

@fsamin fsamin commented Jan 2, 2026

Add a "Collapse All" button in the project explore sidebar with progressive collapse behavior similar to VSCode:

  • First click: collapses all repositories and entity type folders
  • Second click: collapses all VCS nodes
  • Automatically navigates to explore overview when collapsing from an entity view
  • Persists collapse state in preferences store for proper restoration on page reload

Changes:

  • Add MenuFoldOutline icon to shared module
  • Implement collapseAll() method with two-step collapse logic
  • Fix saveTreeExpandState() to persist both open and closed repository states
  • Add navigation handling to redirect to overview when collapsing from entity pages
  1. Description
  2. Related issues
  3. About tests
  4. Mentions

@ovh/cds

Add a "Collapse All" button in the project explore sidebar with progressive collapse behavior similar to VSCode:
- First click: collapses all repositories and entity type folders
- Second click: collapses all VCS nodes
- Automatically navigates to explore overview when collapsing from an entity view
- Persists collapse state in preferences store for proper restoration on page reload

Changes:
- Add MenuFoldOutline icon to shared module
- Implement collapseAll() method with two-step collapse logic
- Fix saveTreeExpandState() to persist both open and closed repository states
- Add navigation handling to redirect to overview when collapsing from entity pages

Signed-off-by: francois.samin <francois.samin@ovhcloud.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 2, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 60%)

See analysis details on SonarQube Cloud

@richardlt richardlt merged commit 9f491a7 into master Jan 5, 2026
3 of 4 checks passed
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.

3 participants