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

Open
#215 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

A-archive-room-view help wanted T-Enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.