Matrix: the timeline cannot be jumped to a date #228

Closed
opened 2026-09-13 11:59:56 -04:00 by Salastil · 1 comment
Owner

No /rooms/{roomId}/timestamp_to_event. Reading back to a particular day means scrolling to it.

Element's "jump to date" uses that endpoint, and this client already has the machinery either side of it - jumpToMessage and the history gap - so what is missing is the question, not the plumbing.

No `/rooms/{roomId}/timestamp_to_event`. Reading back to a particular day means scrolling to it. Element's "jump to date" uses that endpoint, and this client already has the machinery either side of it - `jumpToMessage` and the history gap - so what is missing is the question, not the plumbing.
Salastil added the featurelow priority labels 2026-09-13 11:59:56 -04:00
Author
Owner

Finished.

Forwards by default, because a date means "that day" rather than "whatever came before it": asking backwards from midnight lands on the last message of the day before. Backwards is kept for the case the parameter exists to answer — a date after everything in the room, where forwards finds nothing at all, so "take me to Tuesday" in a room that went quiet in March lands on the last thing anybody said.

Local midnight, not UTC: somebody picking the 3rd means the 3rd where they are, and a UTC midnight is still the 2nd across most of the Americas.

It sits under the search box, because it answers the same question by another route — and because an encrypted room cannot be searched at all, which leaves the date as the only way back into one. From there it is the path a search result already takes.

a73b011

Finished. Forwards by default, because a date means "that day" rather than "whatever came before it": asking backwards from midnight lands on the last message of the day before. Backwards is kept for the case the parameter exists to answer — a date after everything in the room, where forwards finds nothing at all, so "take me to Tuesday" in a room that went quiet in March lands on the last thing anybody said. Local midnight, not UTC: somebody picking the 3rd means the 3rd where they are, and a UTC midnight is still the 2nd across most of the Americas. It sits under the search box, because it answers the same question by another route — and because an encrypted room cannot be searched at all, which leaves the date as the only way back into one. From there it is the path a search result already takes. [a73b011](https://git.salastil.com/Salastil/moho/commit/a73b011)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Salastil/moho#228