From 978edc8f4a9427fd1e08666e3e203fafeed2eb64 Mon Sep 17 00:00:00 2001 From: jay Date: Sat, 6 Jun 2026 18:26:38 +0000 Subject: [PATCH] Mirror lane picker into the Account page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a "Lanes" section under Account that reuses LanePicker inline, completing the round trip with Boundaries. Refactor LanePicker to support an `inline` variant (bare panel vs modal) and apply changes immediately on toggle β€” so the account panel needs no explicit save and the home modal now previews the nav rail live as you pick. Selection still persists through the shared prefs store. Co-Authored-By: Claude Opus 4.8 (1M context) --- frontend/src/lib/components/LanePicker.svelte | 109 ++++++++++-------- frontend/src/routes/account/+page.svelte | 21 +++- 2 files changed, 79 insertions(+), 51 deletions(-) diff --git a/frontend/src/lib/components/LanePicker.svelte b/frontend/src/lib/components/LanePicker.svelte index 914b20a..9da28c6 100644 --- a/frontend/src/lib/components/LanePicker.svelte +++ b/frontend/src/lib/components/LanePicker.svelte @@ -1,71 +1,76 @@ +{#snippet body()} +

Your lanes

+

Pick the quick-access lanes above the feed. Today always stays β€” choose the rest. Changes apply right away.

+ +
+ Today πŸ“Œ +
+ + {#each pool?.groups ?? [] as g (g.name)} + {#if g.lanes.length} +
+ {g.name} +
+ {#each g.lanes as l (l.key)} + + {/each} +
+
+ {/if} + {/each} + +
+ + {#if !inline}{/if} +
+{/snippet} + -