From 3a1ec9a8614746b36ac48aa2236e95124f29a58d Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Mon, 9 Mar 2026 18:15:46 -0400 Subject: [PATCH] feat(idaa/recovery_meetings): collapse Admin Options section by default Admin Options are rarely changed; collapsing by default reduces visual noise on the long edit form. Hidden inputs preserve status/enable/hide/ priority/sort/group values when the section is collapsed so a save never silently resets admin fields. Co-Authored-By: Claude Sonnet 4.6 --- .../ae_idaa_comp__event_obj_id_edit_v2.svelte | 193 ++++++++++-------- 1 file changed, 108 insertions(+), 85 deletions(-) diff --git a/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit_v2.svelte b/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit_v2.svelte index efafa42e..277cca4f 100644 --- a/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit_v2.svelte +++ b/src/routes/idaa/(idaa)/recovery_meetings/ae_idaa_comp__event_obj_id_edit_v2.svelte @@ -76,6 +76,9 @@ // Trusted+ users see no lock UI; new meetings start unlocked. let contact_1_locked = $state(!!$idaa_slct.event_id && !$ae_loc.trusted_access); + // Admin Options section collapsed by default — trusted users rarely need these fields. + let show_admin_options = $state(false); + // Auto-expand Contact 2 if the meeting already has data in that slot, // so existing contact info is never silently hidden on load. let show_contact_2 = $state( @@ -1634,7 +1637,7 @@ Copy and paste link: ${ onclick={() => (show_contact_2 = !show_contact_2)} > -

+

Contact 2 (Optional)

@@ -1724,96 +1727,116 @@ Copy and paste link:
${ ============================================================ --> {#if $ae_loc.trusted_access}
-

- - Admin Options -

+ - - - - -
- - - -
- - -
- -
- - + +
+ + + +
+ + +
+ + +
+ + + + {:else} + + + + + + + + {/if}
{/if}