mirror of
https://gh-proxy.org/https://github.com/klinsmaya/multica.git
synced 2026-11-11 02:46:45 +08:00
* fix(desktop): share public web URLs * fix(navigation): keep the current fragment in shareable URLs Rebuilding the current page from `pathname` + `searchParams` alone dropped the fragment, so feedback sent from a `#comment-…` deep link reported the whole issue and the maintainer lost the position the reporter was at. Web regressed too: it previously submitted `window.location.href`, fragment included. The fragment cannot be read from `window.location` on desktop — the renderer is a MemoryRouter over the packaged `file://` page — so the platform boundary has to carry it. `NavigationAdapter` now reports `hash` alongside `pathname` / `searchParams`, and `currentPath()` composes the three so no caller has to remember the fragment again. Co-authored-by: multica-agent <[email protected]> --------- Co-authored-by: J <[email protected]> Co-authored-by: multica-agent <[email protected]>