Files
loki/scripts
ace9cbefbe fix(loki): close the walk loop — in-app links navigate in place, the anchor lands (#332)
Browser-tested on prod at 390px and 1440px. The seam worked; three UX
breaks kept the loop from closing cleanly:

- markdown-text rendered EVERY link with target=_blank, so tapping
  'Review on Today' in a Loki reply opened a second browser tab instead
  of switching pages in the app. Internal (/-prefixed) links now render
  as next/link, same tab; external links keep the new tab.
- /today#sticky-note never scrolled: the card streams in behind
  Suspense, so native anchor resolution ran before the element existed
  (observed scrollY 0). The list now finishes the scroll on mount, with
  scroll-mt for the top bar.
- The read-back reply ('what's on my list?') had no way back to /today
  while the add reply did — now both link the same destination.

Tap targets checked and NOT changed: the coarse-pointer default floor
in globals.css already gives every control 44px on real touch devices;
the small desktop measurements were fine-pointer by design.

Co-authored-by: t <t@t.t>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-20 17:07:49 +02:00
..