Collapsible/expandable sequence of small events
kevinaboos opened this issue · 2 comments
Small state events can take up a lot of vertical space on the timeline. This includes things like room membership changes, room metadata changes, profile name/avatar changes, etc.
By default, a series of two or more adjacent small events should be collapsed into an abbreviated view that takes up much less vertical space. This will make it easier for the user to focus on important content like text and image messages from other users, rather than less important metadata.
For example, this is how Element shows a series of contiguous state events:
and then when expanded, it looks like what Robrix currently shows:
We would also want dynamic buttons that toggle between "expand" and "collapse" based on whether a range of state events was collapsed or expanded.
Inspired by the recent new UI of Rust doc, I feel that changing "Collapsible/expandable" to "Summary/show all" may better convey the semantics of this feature.
Indeed, I agree. It's also related to github's details+summary markdown feature: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections