// Client-side navigation shared by the shell (App.tsx) and screens that live in // their own modules (e.g. the Channel Builder). Kept in its own file so screens // don't import App.tsx (which would create an import cycle). export function navigateToPath(path: string) { window.history.pushState(null, '', path); window.dispatchEvent(new PopStateEvent('popstate')); }