Skip to content

URL generation/routing is only compatible with Hydrogen itself #677

@MadLittleMods

Description

@MadLittleMods

Problem

If you use hydrogen-view-sdk to embed some Hydrogen pieces in your own app, the URL's throughout the Hydrogen UI only use a specific routing scheme and can't be changed.

Even if you supply your own urlCreator/urlRouter and Navigation, that only controls the base part of the URL and the rest of the path is just string interpolated on top, ex.

https://github.com/vector-im/hydrogen-web/blob/d9acc831826c14f311ff65bdb57756584448aab7/src/domain/session/room/timeline/tiles/BaseMessageTile.js#L61

Expected

In regards to my use case with https://github.com/matrix-org/matrix-public-archive

Potential solutions

To be determined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or requestsdk

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions