big boy webui new new new new new 100 files changed 80 years

This commit is contained in:
legop3
2026-08-18 22:01:25 -04:00
parent 0f0f82e5f6
commit 737760ff56
79 changed files with 2714 additions and 388 deletions
+6 -4
View File
@@ -29,7 +29,7 @@ import DriverLayoutRoot from '../layouts/driver/DriverLayoutRoot.jsx';
import UndockedPageExitGuard from '../components/UndockedPageExitGuard/index.jsx';
/* Driver-page compositions live under layouts/driver. App retains only global providers, overlays, and route-level state. */
function DriverPageRoot() {
function DriverPageRoot({ oldDesktop = false }) {
const layout = useLayoutMode();
const { value: pageSettings } = useSettingsNamespace('page', {
backgroundTheme: DEFAULT_PAGE_THEME_KEY,
@@ -40,12 +40,12 @@ function DriverPageRoot() {
return (
<div className={`${pageBackgroundClass} text-slate-100`}>
<DriverPageContent layout={layout} />
<DriverPageContent layout={layout} oldDesktop={oldDesktop} />
</div>
);
}
function DriverPageContent({ layout }) {
function DriverPageContent({ layout, oldDesktop }) {
useDefaultNickname();
useIncomingInterInstanceTransfer();
useUserIdentitySync({ identitySurface: 'driver' });
@@ -103,7 +103,9 @@ function DriverPageContent({ layout }) {
<GamepadInputManager />
<main className={`relative flex w-full flex-col ${themeGapClass} text-base`}>
<DriverLayoutProvider layout={layout} openHelp={openHelp}>
<DriverLayoutRoot />
{/* Route selection affects only which desktop composition is mounted;
all providers, overlays, inputs, and mobile layouts remain shared. */}
<DriverLayoutRoot oldDesktop={oldDesktop} />
</DriverLayoutProvider>
</main>
<AlertFeed />