diff --git a/src/lib/app_components/e_app_sys_bar.svelte b/src/lib/app_components/e_app_sys_bar.svelte index 26ed916a..6bbad4a4 100644 --- a/src/lib/app_components/e_app_sys_bar.svelte +++ b/src/lib/app_components/e_app_sys_bar.svelte @@ -130,6 +130,13 @@ } } + // ── Panel section collapse state ───────────────────────────────────────── + // Open/closed per section — access open by default (most common action). + let sec_access = $state(true); + let sec_signin = $state(false); + let sec_appearance = $state(false); + let sec_admin = $state(false); + // ── Derived display helpers ────────────────────────────────────────────── let font_label = $derived.by(() => { if ($ae_loc.font_size_mode === 'larger') return 'A+'; @@ -159,8 +166,8 @@
- -
- -
+ +
+
{#if $ae_loc?.person_id} - {person_display ?? '—'} + {person_display ?? '—'} {/if} {#if access_label} - + · {access_label} {/if} + {#if !$ae_loc?.person_id && !access_label} + Not signed in + {/if}
- + {#if $ae_loc?.app_cfg?.show_element__sign_in_out} -
-
- {/if} - - - {#if !$ae_loc?.sys_menu?.hide_access_type && !$ae_loc?.iframe} -
- -
- {/if} - - -
- -
- - - {#if $ae_loc.edit_mode} -
- -
- -
+
+ {#if sec_signin} +
+
+ {/if} +
+ {/if} + + + {#if !$ae_loc?.sys_menu?.hide_access_type && !$ae_loc?.iframe} +
+ + {#if sec_access} +
+ +
+ {/if} +
+ {/if} + + +
+ + {#if sec_appearance} +
+ +
+ {/if} +
+ + + {#if $ae_loc.edit_mode} +
+ + {#if sec_admin} +
+ + + +
+ {/if}
{/if} @@ -271,34 +345,28 @@ -
+
- + {#if !expand && (person_display || access_label)} - {/if} - +
{/if} - - + + + + + + + + + {#if $ae_loc?.authenticated_access} + {#if $ae_loc.edit_mode} + + {:else} + {/if} - {:else} - {/if} - - - - - - - - - - {#if $ae_loc?.authenticated_access} - {#if $ae_loc.edit_mode} - - {:else} - - {/if} - {/if} - - - + + +