Skip to content

fix(web): preserve desktop notification hash links (ADA-50)#77

Merged
adamfgr merged 2 commits into
mainfrom
ada50-deeplink
Jul 6, 2026
Merged

fix(web): preserve desktop notification hash links (ADA-50)#77
adamfgr merged 2 commits into
mainfrom
ada50-deeplink

Conversation

@wizzoapp

@wizzoapp wizzoapp Bot commented Jul 6, 2026

Copy link
Copy Markdown

Fixes ADA-50.

Summary

  • Keep browser/PWA notification deep links as plain pathnames for createBrowserHistory().
  • Route Electron desktop notification deep links through the hash router target (#/...) used by createHashHistory() in apps/web/src/main.tsx.
  • Add focused unit coverage for browser, Electron/hash, and rejected unsafe deep-link inputs.

Repro / verification

  • Reproduced from source: main.tsx selects createHashHistory() under Electron while the pre-fix openDeepLink() assigned the raw pathname.
  • T3 subagent reproduction was unavailable in this session; the new-worktree spawn failure and follow-up timeouts are tracked as ADA-70.
  • Verified with vp test run apps/web/src/pwa/pwaRuntime.test.ts.
  • Verified with vp check --fix, vp run typecheck, and vp run build:desktop.
  • Factory precommit gate passed with clean Codex gpt-5.5 autoreview.

@wizzoapp wizzoapp Bot marked this pull request as ready for review July 6, 2026 03:40
@wizzoapp wizzoapp Bot marked this pull request as draft July 6, 2026 04:13
@wizzoapp wizzoapp Bot force-pushed the ada50-deeplink branch from c2beb25 to bc2414b Compare July 6, 2026 04:17
@wizzoapp wizzoapp Bot marked this pull request as ready for review July 6, 2026 04:17
@wizzoapp wizzoapp Bot marked this pull request as draft July 6, 2026 08:39
@wizzoapp wizzoapp Bot marked this pull request as ready for review July 6, 2026 08:39
@wizzoapp wizzoapp Bot marked this pull request as draft July 6, 2026 11:16
@wizzoapp wizzoapp Bot marked this pull request as ready for review July 6, 2026 15:10

@adamfgr adamfgr left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved by wizzo-approve: all policy conditions verified against HEAD 26810d1.

@adamfgr adamfgr added this pull request to the merge queue Jul 6, 2026
Merged via the queue into main with commit 97aede0 Jul 6, 2026
12 checks passed
@adamfgr adamfgr deleted the ada50-deeplink branch July 6, 2026 15:31
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