Add permalink highlighting - Highlight tile that matches ?at=$xxx
#4
Labels
A-archive-room-view
The view to look at a room day by day in the archive
hydrogen
Issues which involve https://github.com/vector-im/hydrogen-web
T-Enhancement
New feature or request
Milestone
Similar to the permalink highlighting in the Gitter archives:
https://gitter.im/webpack/webpack/archives/2021/04/12?at=6074b67bd79539186153c59a
We can do the same in the Matrix public archives when adding
?at=$xxx
to highlight the event tile in Hydrogen.ex.
http://localhost:3050/!HBehERstyQBxyJDLfR:my.synapse.server/date/2022/02/08?at=$xtyFUuYaHb63XsvEsdPAvQraCkimLCRPoZB6a6Cvy40
Considerations
What happens if the
eventId
isn't found on that given day? -> Split out to #124eventId
and redirect people to the correct day. But I don't think I want to do all of those round-trips to the homeserver to do this sort of thing./:roomIdOrAlias/event/:eventId
which will actually do redirection work. This way, it's a choice by the user to take the action to jump to the correct day and it's explained what happened.Dev notes
Related to #73 because of the different scroll behavior needed to center the message in the viewport.
The text was updated successfully, but these errors were encountered: