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

Collapse collapsible timeline events across date borders #21839

Closed
HarHarLinks opened this issue Apr 18, 2022 · 1 comment
Closed

Collapse collapsible timeline events across date borders #21839

HarHarLinks opened this issue Apr 18, 2022 · 1 comment

Comments

@HarHarLinks
Copy link
Contributor

Your use case

What would you like to do?

Collapse collapsible timeline events (room state changes?) such as ACL, join, leave, dis/invite, remove (kick), ban, name change, avatar change, power level change across date borders

Why would you like to do it?

collapsing these events in rooms like https://matrix.to/#/#matrix-voip:envs.net or announcement channels that see only irregular activity but frequent updates to room state allows to see the conversation instead of just screens full of room state changes

How would you like to achieve it?

A day (localtime) is eligible for day-collapsing if there are only regularly collapsible events in it. Potentially always exclude today from that list.

If there are 2+ subsequent of such days, collapse the date headers, e.g. Tue, Apr 5 2022 and Wed, Apr 6 2022 to the appropriate range Tue, Apr 5 2022 - Wed, Apr 6 2022. Potentially extend the behaviour to be smarter like Tue, Apr 5 - Wed, Apr 6 2022 but I foresee a lot of issues with that regarding localisation, e.g. German could be Di 5. - Mi 6. Apr 2022 in this case while stupider locales such as US can't.

Have you considered any alternatives?

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants