improvement(links): open go/ links alongside sim/ and call the page Links
Merged
WA
5d ago+154+154+012345678901234567890123456789-109-109-012345678901234567890123456789
Summary
- Links open from both
sim/<name>andgo/<name>: the extension's redirect rule, host access, and opt-in search recovery cover both hosts, and/sim-links/recoveraccepts both - One shared host list (
SIM_LINK_HOSTSin@sim/browser-extension-protocol) drives the redirect filter, host permissions, recovery rules, and server-side prefix stripping - Typed names drop a leading
sim/orgo/in the create form, search, and the Chat lookup by name (which previously normalizedsim/handbooktosimhandbookand missed) - The
simaddress-bar keyword still strips only its ownsim/, since a link can be namedgo - The page is called Links (sidebar, title, empty state, errors); the registry shows link names without a prefix
- Browser shortcuts offers Enable go/ shortcuts and Enable sim/ shortcuts
- Docs, extension README/DESIGN, and the privacy policy describe both prefixes
Type of Change
- Improvement
Testing
- Extension:
tsc --noEmit, production build, and a headless Chromium run with the built extension:http://go/bookface,https://go/jira/ABC-1?x=1, andhttp://sim/bookfaceall land on<origin>/sim/...with path and query intact - Extension E2E covers both hosts for direct navigation and search recovery; sim-links E2E covers
go/recovery and the new conflict message vitestonlib/sim-links,message-sources.test.tsx, andsettings.test.ts(89 passing);bun run lint
Checklist
- Code follows project style guidelines
- Self-reviewed my changes
- Tests added/updated and passing (new tests pass the
test-auditauthoring gate) - No new warnings introduced
- I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)