From f902caa07f461a4c58d0a7391ad39400ae674045 Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Sun, 30 Aug 2026 19:38:53 +0200 Subject: [PATCH] feat(profiles): switch profile from the account menu Switching was reachable only from Settings, which is the wrong place for it: on a shared device changing who is watching is a frequent, front-door action, not a configuration change buried three screens deep. It sits directly under the identity block rather than among the destinations (Downloads/Settings/Display), because it answers "who is this?" and not "where do I go?". Shown even with one account, since the picker is also where a second is added -- gating it on a second profile existing would leave no way in from here. The picker also gains a Back affordance when a session is already live. Reaching it from the menu and changing your mind -- or failing a PIN on someone else's tile -- previously had no way back to the session you still had. At startup there is nothing behind it, so it stays hidden. --- src/lib/components/account/AccountMenu.svelte | 28 ++++++++++++++++++- .../components/account/AccountMenu.test.ts | 17 ++++++++++- src/routes/profiles/+page.svelte | 26 +++++++++++++++++ 3 files changed, 69 insertions(+), 2 deletions(-) diff --git a/src/lib/components/account/AccountMenu.svelte b/src/lib/components/account/AccountMenu.svelte index 8311c1d8..5eef5f11 100644 --- a/src/lib/components/account/AccountMenu.svelte +++ b/src/lib/components/account/AccountMenu.svelte @@ -4,7 +4,7 @@ Settings, Display) and Sign out. Available on every authenticated, non-immersive screen via the shared AppHeader. - TRACES: UR-054 | DR-075 + TRACES: UR-054, UR-082 | DR-075, DR-276 -->