pub fn run()Expand description
Trunk entry point — installs panic hooks and mounts the app to <body>.
URL-based view selection (M-TRAY.3 / AUT-252, M-BUBBLE.0 / AUT-273):
the dispatch routes on the page’s query string via
routing::parse_mount_point:
?surface=<recorder|library|editor|cursor|prefs>→ full ui-storybookAppShellrooted at the requested surface (the tray-launched main window).?mount=bubble→ the borderless<BubbleRoot />component for the webcam-bubble window.- Otherwise → existing M-INT.1 drop-zone shell (
<App />) — keepstrunk servebrowser flow working for one-off Leptos iteration.
AppShell CSR preview (M-TRAY.1 / AUT-250): when built with
the tray-appshell-preview Cargo feature, mount_default (the
no-query branch) mounts [dev_appshell::DevAppShellPreview]
instead of <App />. This stays for now alongside the
query-routed path so the M-TRAY.1 audit smoke recipe
(just dev-appshell) keeps working — production builds without
the feature are unaffected.