Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collapsible/expandable sequence of small events #118

Open
kevinaboos opened this issue Aug 20, 2024 · 2 comments
Open

Collapsible/expandable sequence of small events #118

kevinaboos opened this issue Aug 20, 2024 · 2 comments
Labels
enhancement New feature or request help wanted Looking for help from anyone!

Comments

@kevinaboos
Copy link
Member

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.

@github-project-automation github-project-automation bot moved this to Ready in Robrix Aug 20, 2024
@kevinaboos kevinaboos added enhancement New feature or request help wanted Looking for help from anyone! labels Aug 20, 2024
@ZhangHanDong
Copy link
Contributor

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.

@kevinaboos
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Looking for help from anyone!
Projects
Status: Ready
Development

No branches or pull requests

2 participants