Skip to content

Room list: add collapse/expand all sections#33318

Merged
florianduros merged 10 commits intodevelopfrom
florianduros/collapse-all-sections
Apr 30, 2026
Merged

Room list: add collapse/expand all sections#33318
florianduros merged 10 commits intodevelopfrom
florianduros/collapse-all-sections

Conversation

@florianduros
Copy link
Copy Markdown
Member

@florianduros florianduros commented Apr 28, 2026

Closes #33285

Add an expand and collapse button in the room list header.

Screen.Recording.2026-04-28.at.17.37.19.mov

Copy link
Copy Markdown

@gaelledel gaelledel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good to me!

@@ -0,0 +1,15 @@
/*
* Copyright 2026 New Vector Ltd.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong entity name

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -0,0 +1,20 @@
/*
* Copyright 2026 New Vector Ltd.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong entity name

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +11 to +15
export interface RoomListCollapseAllSectionsPayload extends ActionPayload {
action: Action.RoomListCollapseAllSections;
/** true = expand all, false = collapse all */
expand: boolean;
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO either the name of the action needs to be clearer to make it obvious it doesn't just collapse or you need 2 actions

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c71ee24 I went to the 2 actions path

Comment thread apps/web/src/viewmodels/room-list/RoomListHeaderViewModel.ts Outdated
@florianduros florianduros added this pull request to the merge queue Apr 30, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 30, 2026
@florianduros florianduros added this pull request to the merge queue Apr 30, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 30, 2026
@florianduros florianduros added this pull request to the merge queue Apr 30, 2026
Merged via the queue into develop with commit c2e5aa7 Apr 30, 2026
51 checks passed
@florianduros florianduros deleted the florianduros/collapse-all-sections branch April 30, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Room list: sections - P9 collapse/expand sections

4 participants