From c2d4ce01793ce9e38acbd6bf20faa6a618f118ce Mon Sep 17 00:00:00 2001 From: kristianwind Date: Thu, 3 Sep 2026 20:27:28 +0200 Subject: [PATCH] fix(notes): open a note on the first tap, not the second MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On a phone the list/editor switch keyed on the loaded note, which arrives a moment after the tap — so the first tap looked like nothing happened and people tapped again. It keys on the selected id now, set the instant a row is tapped, so the pane switches at once; the back button is there immediately and the body fills in when it arrives, with a quiet pane rather than the "pick a note" prompt in the half-second between. Co-Authored-By: Claude Opus 4.8 --- web/src/routes/noter/+page.svelte | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/web/src/routes/noter/+page.svelte b/web/src/routes/noter/+page.svelte index 293197d..01f1499 100644 --- a/web/src/routes/noter/+page.svelte +++ b/web/src/routes/noter/+page.svelte @@ -710,7 +710,7 @@ -
+
- {#if selected} + {#if selectedId} + + {#if selected} + {:else} + +

+ {/if} {:else}

{t('notes.pickOne')}

{/if}