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

Collapsable messages should collapse across days #332

Open
bytesized opened this issue Apr 9, 2021 · 2 comments
Open

Collapsable messages should collapse across days #332

bytesized opened this issue Apr 9, 2021 · 2 comments
Labels
A-Timeline T-Enhancement X-Needs-Product More input needed from the Product team

Comments

@bytesized
Copy link

Is your suggestion related to a problem? Please describe.

When I look in low-traffic channels, all I see is a barrage of name changes. I would like to see the last messages that were sent in the channel instead

Describe the solution you'd like.

I would like all the name changes to collapse into a single line rather than collapsing into one line per day.

Describe alternatives you've considered.

I assume that the only alternative is to scroll up every time I open the channel.

Additional context

Here's an example of what I'm talking about:
expand,collapse

@t3chguy
Copy link
Member

t3chguy commented Apr 10, 2021

This was done on purpose at the time but for low traffic rooms it does create a mess, the alternative would result in the event list summary needing to support data separators inside it

@HarHarLinks
Copy link

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.

@t3chguy t3chguy transferred this issue from element-hq/element-web May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Timeline T-Enhancement X-Needs-Product More input needed from the Product team
Projects
None yet
Development

No branches or pull requests

4 participants