Skip to content

Deep link date in roomΒ #24914

@MadLittleMods

Description

@MadLittleMods

Your use case

What would you like to do?

Originally proposed by @pdurbin in #7677,

Add a way to navigate by URL to a point in time (date/time) of the room.

Examples from other platforms:

Jump to date exists in Element under a feature flag but that requires first loading the room, then manually using the date picker to get to where you want. It's much more convenient to be able to link directly to that point in the room. You can already link people to a given event in the room, ex. https://app.element.io/#/room/#matrix-public-archive:matrix.org/$iVgFrFNtRWAoCALNo1-uLATWSirw27S1XunPUgPoCFM

And this issue is proposing to also be able to link to a point in the room but by date and time. ex.

  • https://app.element.io/#/room/#matrix-public-archive:matrix.org/2023-03-24
  • https://app.element.io/#/room/#matrix-public-archive:matrix.org/2023-03-24T06:20:30
  • These examples are just using the new Date().toISOString() format without the timezone.

Why would you like to do it?

For my own specific use case, I'd like to use it for Gitter in order to setup redirects from the old Gitter URL scheme to the new world at app.gitter.im (Gitter branded Element), see https://gitlab.com/gitterHQ/gitter.im/-/issues/9

How would you like to achieve it?

The jump can be facilitated with MSC3030's /timestamp_to_event (also known as jump to date) API.

Should the dates be in UTC or the users local timezome? It kinda makes most sense to keep them in UTC so anyone visiting the same link will end up in the same place.

Have you considered any alternatives?

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Jump-To-DateJump to date headers or slash commandT-EnhancementX-Needs-ProductMore input needed from the Product teamZ-GitterIssues relating to or coming out of the Gitter migration, feature parity, etc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions