Skip to content

Persist chart and map display-mode selectors in shareable knowledge-gap URLs #625

Open

Description

@realmarcin

Found during adversarial review of #618.

Search and drill-down filters (mech, vocab, layer, stance, experiments, ref, month, term, term2, sort) are serialized into /knowledge-gaps/ query parameters, but view-only chart and map display selectors (#gap-breakdown-lens, #gap-matrix-mode, #gap-refs-mode, #gap-blindspot-scope, #gap-pairs-metric, #gap-map-color, #gap-map-bridges) are local DOM state only.

Evaluate serializing non-default display selectors into URL parameters (with popstate sync and reset semantics) so readers can share links directly to e.g. off-diagonal cross-Mech vocabulary reuse, cross-Mech shared citations, or the map bridge-arc overlay without breaking existing URL-equality expectations.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions