robrix icon indicating copy to clipboard operation
robrix copied to clipboard

Collapsible/expandable sequence of small events

Open kevinaboos opened this issue 1 year ago • 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: image

and then when expanded, it looks like what Robrix currently shows: image

We would also want dynamic buttons that toggle between "expand" and "collapse" based on whether a range of state events was collapsed or expanded.

kevinaboos avatar Aug 20 '24 16:08 kevinaboos

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.

ZhangHanDong avatar Oct 05 '24 11:10 ZhangHanDong

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

kevinaboos avatar Oct 05 '24 15:10 kevinaboos