Add jump to next and previous activity in room #46
Labels
A-archive-room-view
The view to look at a room day by day in the archive
T-Enhancement
New feature or request
Milestone
Rooms can be gappy and inactive for days at a time. Instead of having to manually navigate day by day in the archive trying to find the previous message, it would be better if you could just jump to where the next event is.
Under the calendar in the sidebar we can add,
Jump to next activity in room
,Jump to previous activity in room
(better way to phrase?)I was also thinking of adding it to the timeline and especially showcase it in the empty view when there are no events for the day.
If there is no next/previous activity, consider following tombstone and predecessor history, #59
Dev notes
We can use
/timestamp_to_event
again to find the next/previous event in the room.For the archive, we would have the
/:roomId/date/2022/02/08/next
endpoint which would redirect you to the next date with activity (same with/previous
)Could be a more general endpoint:
/:roomId/jump?ts=xxx&dir=[f|b]
The text was updated successfully, but these errors were encountered: