element-web: When a Space contains Sub-spaces, the room listing shouldn't show a flat list including all subspace-rooms.
Your use case
Our Space has a lot of rooms – there are probably going to be hundreds. In order to make that not overwhelming, I want to organize these via sub-spaces. However, the UI considers all rooms in sub-spaces to be rooms in the top-level space too. Observe:

(Please ignore visual styling … this is a new server in progress!)
We don’t even have all of our rooms configured yet, and the list is already basically useless. It’s even worse on mobile.
I would really like one of:
- Spaces and Rooms displayed as multi-level hierarchy replacing the
> Roomslist. - Room list shows just rooms, but there’s a second section
> Spacesafter> Peopleand> Roomswhich lists nested spaces. - Long flat list of rooms under
> Rooms, but broken up into sections with Spaces serving as a section headers
The could also get sub-spaces out of the leftmost bar, allowing that to take up less space.
Have you considered any alternatives?
We could create multiple top-level spaces and not use nested spaces. This probably would be fine on our own server, but is less convenient for anyone coming in from a federated server since we’d have to send them a bunch of different space invites.
Additional context
This is really important to us; one of the chief reasons for moving to Matrix is for ease of use for new users, and this feels like an impediment to that.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 11
- Comments: 20 (7 by maintainers)
I think this should ultimately be a per space setting. There are two modes at play here.
Spaces considered as (hierarchical) tags. If a room belongs to a space it is as if it was tagged by that space. Sub-spaces are like sub-tags. Selecting the space acts as a filter of the total collection of rooms to show all rooms tagged by that space.
This mode is especially useful for context switching, e.g. between
WorkandPersonal.Example: if room A is a member of the space
Fooand room B is a member of the spaceFoo/Bar(a sub-space ofFoo), both rooms are tagged byFoo, but only one is tagged byFoo/Bar.Spaces considered as sets of rooms. A space is just a set of rooms (or other spaces). Selecting a space just shows all of its elements, which may be rooms or other spaces.
Example: room A is a member of space
Foo, but so is spaceBar. SpaceBaralso contains a roomB. SelectingFooonly displays its immediate children, which are the roomAand the spaceBar.Like @Twi1ightSparkle, I also primarily use my spaces for switching between contexts. When I switch to a context, I expect the space to filter down my total collection of rooms to those particular to that context. But when in that context, I expect for everything that is a descendant of that context to be visible at once and sorted by recency.
I think I like this suggestion, provided I could get the context-like behaviour I want by creating a private space and adding the public space as a sub-space.
Perhaps we should just differentiate between the two use cases on the UX level since these two use cases seem fundamentally different, even though both would be implemented using spaces. Something like “Contexts” and “Guilds” (to draw a parallel with Discord). There are other use cases I would like to see in the Context case, such as silencing notifications from non-member rooms when it is activated.
It feels to me that this discussion is simply a repeat of the Home discussion (#18093) just one level down. The solution should include the results of the experiment there and allow the user to select “Show all rooms” for the parent space. Or maybe even just inherit that setting globally since it seems to be a conceptual thing, so if someone has indicated they don’t consider Home to be an Other category, then the same should apply to parent spaces.
@MayeulC that would be vector-im/element-meta#306 I think.
For me the Discord model doesn’t work well with very large Guilds, I often find myself having to scroll the list loads to be able to find unreads/notifications as there isn’t a way to sort by recency.
A similar issue would be the case if we split up the room list more than just People/Favs/Rooms because then each list would be recents-sorted but not the whole list. Another issue with this proposal is a room may exist in multiple subspaces and thus now then be shown multiple times in a single room list in multiple places, confusingly.
+1 though I am already addicted to this behavior in Cinny client, but when switching to Element, I get lost in scroll when there are hundreds of rooms in subspaces and then the only option is to left is remembering room name and searching it.
High Agree, When I used to use discord and finding huge, active servers It was very fustrating just to find one specific channel under the 5+ or so categories. Just to chime in with my own idea, having some sort of “folders” within the sections that give the freedom to the user of only wanting to be in and see a specific set of rooms within said space.
Just to pitch in: We use Matrix in our solution Verji, and spaces is very important to us. “Room hierarchies” is a highly requested feature from our customers, and we believe that the introduction of Spaces is a game-changer. (So kudos to everyone involved in creating spaces)
However, for our customers, the current implementation where rooms from sub-spaces float up and show up in higher level spaces renders the solution practically useless.
Our preferred solution to this would be:
I would like to +1 what @mattdm is saying/proposing. Current implementation of spaces doesn’t help with organizing my rooms in a logical manner, since top level (or higher level) spaces also include all the lower level channels. This become more evident if you have rooms in a higher level space that don’t belong in any sub-space and the only view with these rooms gets “polluted” by all the rooms in all the lower level spaces.
As @Twi1ightSparkle said, I would be happy with a setting to choose between the two behaviours and I’m willing to try implementing this if:
Here’s a screenshot of the Rust Discord setup:
This is basically “option 3” of my suggested approaches above. It seems superior in a lot of ways:
This particular approach (as opposed to my “option 2”) also has the advantage that you can still see everything at once and move easily between subspaces /sections.