-
- Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
MSC1772 says (emphasis mine):
Rooms are sorted based on a lexicographic ordering of the Unicode codepoints of the characters in
ordervalues. Rooms with noordercome last, in ascending numeric order of theorigin_server_tsof theirm.room.createevents, or ascending lexicographic order of theirroom_ids in case of equalorigin_server_ts.
However, Element Web currently puts rooms with no order at the end of the list in the space view, rather than at the beginning.I think it also doesn't sort the orderless rooms by origin_server_ts as the MSC says (related: #18763). This is only about the space view, as the room list in the sidebar doesn't do any space-based sorting yet.
I'm not completely sure if this is a synapse or element web bug, but element android seems to sort the rooms correctly (at least the order-based ones, not sure about unordered ones based on timestamp), so I'm guessing it's web.
Steps to reproduce
- Create a space
- Add
m.space.childstate events where some of them have theorderfield and some don't - Observe the rooms with
orderat the bottom of the list instead of the top