refactor: rename ae_hide_menu URL param to hide_menu

ae_ prefix belongs on Svelte component/variable names, not URL params.
Updated both the consumer (+layout.svelte) and the builder (jitsi_url_builder).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Scott Idem
2026-03-17 20:03:28 -04:00
parent 5978c5e341
commit 931df5581f
2 changed files with 4 additions and 4 deletions

View File

@@ -254,10 +254,10 @@
if (iframe === 'true') $ae_loc.iframe = true;
else if (iframe === 'false') $ae_loc.iframe = false;
// ae_hide_menu=true — suppress the AE system bar when embedding in Novi or
// hide_menu=true — suppress the AE system bar when embedding in Novi or
// other host pages with their own navigation. Applies even for trusted_access
// users who would otherwise always see the menu in iframe mode.
if (data.url.searchParams.get('ae_hide_menu') === 'true') {
if (data.url.searchParams.get('hide_menu') === 'true') {
$ae_loc.sys_menu.hide = true;
}