Skip to content

History link: server-visible ?version= mirror #668

Closed

Description

@HMarzban

Part of #663 (slice 6a, R6).

Goal

A History version link the server can see: ?version=<n> beside today's hash. The image stays the Document card until slice 6b.

Scope

  • The History share link carries ?version=<n> as well as its hash.
  • On arrival, the app opens History at that version and strips ?version= from the address bar.
  • src/proxy.ts does not change.

Acceptance checks

  • A copied link opens History at that version.
  • After arrival the query is gone, and Back does not reopen it.
  • Old hash-only links still work.

Activity

  1. added
    enhancement
    on Nov 1, 2026
  2. HMarzban commented on Nov 1, 2026

    @HMarzban
    CollaboratorAuthor

    Built on main and checked locally, not committed yet. Status and the checks owed before switch-on are in #663 (comment of 2026-11-01).

  3. HMarzban commented on Nov 3, 2026

    @HMarzban
    CollaboratorAuthor

    Status, 2026-11-03. History share links carry ?version=<n>, pushed and deployed on 2026-11-03 in 43eca20ea. This change is live now; it has no switch. Left:

    • maintainer: one browser check in production. Open a copied History link. Check that History opens at that version, the query is gone, Back does not reopen it, and an old hash-only link still works.
  4. HMarzban commented on Nov 3, 2026

    @HMarzban
    CollaboratorAuthor

    Verified on production on 2026-11-03, signed out, on /demo with a real copied History link for version 103 (43eca20ea, deployed with 8e25e83df).

    • The link /demo?version=103#history?version=103 loaded as /demo#history?version=103. The query was removed on arrival.
    • History opened at version 103. The active row and the toolbar both show it.
    • Back did not bring the ?version= address back. Forward returned without the query.
    • An old hash-only link, /demo#history?version=103, opened version 103 with no address change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Featureenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions