wraith/src-tauri
Vantz Stockwell 6015f8669b
All checks were successful
Build & Sign Wraith / Build Windows + Sign (push) Successful in 3m45s
fix: WebviewUrl::App hash fragment bug — tool windows loading empty page
ROOT CAUSE FOUND: WebviewUrl::App takes a PathBuf, not a URL.
Passing "index.html#/tool/ping?sessionId=abc" treated the ENTIRE
string including # and ? as a file path. Tauri looked for a file
literally named "index.html#/tool/ping?sessionId=abc" which doesn't
exist. The webview loaded an empty/404 page and WKWebView killed
the content process, closing the window instantly.

Fix:
- Rust: split URL at '#' — pass only "index.html" to WebviewUrl::App,
  then set the hash fragment via window.eval() after build()
- Vue: App.vue now listens for 'hashchange' event in addition to
  checking hash on mount, so the eval-injected hash triggers the
  correct tool/detached mode

This was NEVER a CSP issue, focus issue, crossorigin issue, or
async chunk loading issue. It was always a bad file path.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 15:04:30 -04:00
..
capabilities feat: Help menu + fix tab detach rendering 2026-03-26 14:07:45 -04:00
gen/schemas feat: Help menu + fix tab detach rendering 2026-03-26 14:07:45 -04:00
icons feat: Phase 1 complete — Tauri v2 foundation 2026-03-17 15:09:41 -04:00
src fix: WebviewUrl::App hash fragment bug — tool windows loading empty page 2026-03-30 15:04:30 -04:00
windows fix: remove desktop shortcut from NSIS installer by default 2026-03-24 20:04:06 -04:00
build.rs feat: Phase 1 complete — Tauri v2 foundation 2026-03-17 15:09:41 -04:00
Cargo.lock feat: RDP dynamic resize on window resize (MobaXTerm-style) 2026-03-30 10:44:43 -04:00
Cargo.toml feat: RDP dynamic resize on window resize (MobaXTerm-style) 2026-03-30 10:44:43 -04:00
installer.nsi.template feat: Local PTY Copilot Panel — replace Gemini stub with real terminal 2026-03-24 20:43:18 -04:00
tauri.conf.json fix: CSP null for tool windows + tauri://error diagnostic listeners 2026-03-30 12:20:40 -04:00