Skip to content

Make Stackroom review views shareable through typed URLs - #78

Merged
tasercake merged 3 commits into
mainfrom
codex/stackroom-url-view-state
Nov 28, 2026
Merged

tasercake merged 3 commits into
mainfrom
codex/stackroom-url-view-state

Conversation

@tasercake

@tasercake tasercake commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Store the comparison selections, heatmap controls, score details, lightbox viewport and swipe, appearance, and open evaluation draft in shareable query parameters.
  • Replay those selections on a fresh visit or Back/Forward and support existing fragment links.
  • Use a strict TypeScript schema with serialize-query-params and Valibot. Check the browser bundle into the Python package so running Stackroom needs no JavaScript toolchain.

Verification

  • Strict TypeScript, reproducible bundle, and four URL codec and history tests
  • Chromium and Firefox with a saved evaluation, including share links, Back/Forward, viewport and alternate-reference restoration, invalid score dialogs, and confirming replay sends no rating writes or evaluation requests
  • BokehForge test suite (277 passed, 8 platform skips)

@tasercake
tasercake merged commit ec22598 into main Nov 28, 2026
5 checks passed
@tasercake
tasercake deleted the codex/stackroom-url-view-state branch November 28, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant