Revert: Legacy launcher link changes

Reverted changes to legacy launcher links in various components. These links are intentionally structured to work with nginx location aliases and should not be modified to conform to SvelteKit routing.
This commit is contained in:
Scott Idem
2025-11-13 19:15:55 -05:00
parent aef34dc79b
commit a87fa02bc6
3 changed files with 4 additions and 4 deletions

View File

@@ -171,7 +171,7 @@ if (!$events_loc.pres_mgmt?.location_kv) {
</a>
<a
href="/events/{event_location_obj?.event_id}/launcher/{event_location_obj?.event_location_id}"
href="/event/{event_location_obj?.event_id}/launcher/{event_location_obj?.event_location_id_random}"
class="btn btn-sm preset-tonal-secondary hover:preset-filled-secondary-500 transition-all hover:transition-all *:hover:inline text-xs"
title="The legacy launcher that not actively being developed. Use with the native launcher for oral sessions."
>
@@ -180,7 +180,7 @@ if (!$events_loc.pres_mgmt?.location_kv) {
</a>
<a
href="/events/{event_location_obj?.event_id}/launcher/{event_location_obj?.event_location_id}"
href="/events/{event_location_obj?.event_id}/launcher/{event_location_obj?.event_location_id_random}"
class="btn btn-sm preset-tonal-tertiary border border-tertiary-500 hover:preset-filled-secondary-500 transition-all hover:transition-all *:hover:inline text-xs"
title="The new launcher that is actively being developed. Do not use with the native launcher."
>

View File

@@ -387,7 +387,7 @@ let clipboard_success = $state(false);
<!-- Legacy link (Flask) -->
<a
data-sveltekit-preload-data="false"
href="/events/{$lq__event_session_obj?.event_id}/launcher/{$lq__event_session_obj?.event_location_id}"
href="/event/{$lq__event_session_obj?.event_id}/launcher/{$lq__event_session_obj?.event_location_id}"
class:hidden={$events_loc.pres_mgmt?.hide__launcher_link_legacy && !($ae_loc.trusted_access && $ae_loc.edit_mode)}
class="btn btn-sm preset-tonal-secondary hover:preset-filled-secondary-500 transition-all"
title={`Legacy Launcher (Flask): ${$lq__event_session_obj?.event_location_name}\n${$lq__event_session_obj?.event_location_id_random}`}

View File

@@ -255,7 +255,7 @@ let trigger_reload_session_id: string = $state('');
<span class="flex flex-row gap-0.5 items-center justify-center">
<a
data-sveltekit-preload-data="false"
href="/events/{session_obj?.event_id}/launcher/{session_obj?.event_location_id}"
href="/event/{session_obj?.event_id}/launcher/{session_obj?.event_location_id}"
class:hidden={hide__launcher_link_legacy && !($ae_loc.trusted_access && $ae_loc.edit_mode)}
class="btn btn-sm preset-tonal-secondary hover:preset-filled-secondary-500 transition-all group"
title={`Legacy Launcher (Flask): ${session_obj?.event_location_name}\n${session_obj?.event_location_id_random}`}