diff --git a/src/routes/events/[event_id]/(launcher)/launcher_cfg.svelte b/src/routes/events/[event_id]/(launcher)/launcher_cfg.svelte index 1c968163..2b6fd2ba 100644 --- a/src/routes/events/[event_id]/(launcher)/launcher_cfg.svelte +++ b/src/routes/events/[event_id]/(launcher)/launcher_cfg.svelte @@ -34,7 +34,11 @@ import Launcher_Cfg_Local_Actions from './cfg_components/launcher_cfg_local_actions.svelte'; // UI Tab State - let active_tab: 'system' | 'sync' | 'general' = $state('system'); + // Tabs are audience-oriented: + // setup — what every onsite operator needs (mode preset, display, WS, screen saver) + // hardware — native/Electron device management (health, OS control, updates, sync pause) + // dev — developer/debug tools; only useful when edit_mode is on + let active_tab: 'setup' | 'hardware' | 'dev' = $state('setup'); /** * Auto-Collapse Coordinator @@ -73,51 +77,100 @@ Launcher Configuration - +
+ + + + +
-
+ +
- + {#if $ae_loc.edit_mode} + + {/if}
- {#if active_tab === 'system'} -
+ + + {#if active_tab === 'setup'} +
+ + handle_section_expand('app_modes')} + /> + handle_section_expand('controller')} + /> + handle_section_expand('screen_saver')} + /> +
+ {/if} + + + {#if active_tab === 'hardware'} +
{#if $ae_loc.is_native} handle_section_expand('health')} @@ -129,38 +182,29 @@ on_expand={() => handle_section_expand('updates')} /> {:else} -
- Native OS features are only available when running in - the Aether Desktop app. +
+ +

Native OS features are only available in the Aether Desktop app.

+

Oral/default session room devices running Electron will see controls here.

{/if} -
- {/if} - {#if active_tab === 'sync'} -
+ handle_section_expand('sync_timers')} />
{/if} - {#if active_tab === 'general'} -
- handle_section_expand('controller')} - /> - handle_section_expand('app_modes')} - /> - handle_section_expand('screen_saver')} - /> + + {#if active_tab === 'dev' && $ae_loc.edit_mode} +
handle_section_expand('local_actions')} />
{/if} +
@@ -172,16 +216,18 @@ type="button" onclick={() => ($events_loc.launcher.hide_drawer__debug = false)} - class="btn btn-sm preset-tonal-error hover:preset-filled-error-500 transition-all" + class="btn btn-sm preset-tonal-warning hover:preset-filled-warning-500 transition-all" + class:hidden={!$ae_loc.edit_mode} > - Open Debug + Debug Panel