element-hq / element-hq/element-web
Collapse subsequent leave and re-join if there is no activity in between
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. e.g. view https://matrix.to/#/!yjuDlPJPWncSXskCvf:envs.net/$rmRO6LVCK8IQRolrzS48XcL1csNVNC2OgGcuP8Q9VeE?via=envs.net&via=matrix.org in https://matrix.to/#/#matrix-voip:envs.net
### Outcome
#### What did you expect?
Collapse similar to

#### What happened instead?

This is the same user (mxid) leaving and rejoining 21:24 later
### Operating system
arch
### Application version
Element Nightly version: 2022041801 Olm version: 3.2.8
### How did you install the app?
aur
### Homeserver
1.56
### Will you send logs?
No
Contributor guide
Research direction
Open the linked Matrix room and event in Element Nightly to reproduce the repeated leave-and-rejoin display. Trace the room timeline or membership-event rendering from that example and compare it with the expected collapsed presentation. Done means consecutive leave and re-join events for the same user, with no intervening activity, are shown as one collapsed entry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100