matrix-org / matrix-org/matrix-viewer
Archive shouldn't have jump links into the future - `You can't view the history of a room on a future day` error
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 84
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
When viewing the current day of messages, the page still has a jump link to the next activity in the room. This means it's very easy to to run into the `You can't view the history of a room on a future day` error by just clicking the jump link in the UI.
---
*As [discussed in Matrix Public Archive room](https://matrix.to/#/!SzoPnANsRYxITaDPaJ:matrix.org/$gUlETTa7i8vx5PvlLi6YqVM1Mz76c_7tJUtN456E06s?via=matrix.org&via=matrix.vgorcum.com&via=tchncs.de)*
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue while viewing the current day of messages in a public Matrix room, then trace the UI code that renders the next-activity jump link. Done means the current day no longer offers a link into a future day, so clicking available jump links cannot trigger the future-history error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100