Links to missing notes: click creates; gone notes explain themselves #448
Closed
opened 2026-10-15 17:28:55 +00:00 by kayg
·
16 comments
No Branch/Tag specified
main
port/tasks-float-2
fix/train-1116-2
fix/train-1116-3
fix/train-1116-1
fix/flake-1134
fix/server-1182
dev
port/notes-float-3c
docs/auto-update-ig
feat/dav-transport
port/tasks-float-1
wip/mail1011-sv-order-1116
fix/flake-1179
fix/flake-1178
fix/guards-1153-fsio-split
fix/guards-1153-notes-split-we
fix/guards-1153-notes-lib
fix/guards-1153-notes-home
fix/guards-1153-ui-primitives
fix/guards-1153-primitives-e2e
fix/guards-1153-visibility-doc
feat/paper-grey-1116
fix/flake-1165
fix/flake-1119
docs/imap-766-plan-v2
fix/e2e-unique-ports
t3/paged-search-reconcile-final
wip/mail1011-final-1115
docs/tasks-float-port
perf/editor-first-paint-1c
feat/imap-notes-fetch
feat/imap-notes-projection
feat/imap-notes-readonly
feat/imap-notes-auth
feat/imap-notes-server-foundation
wip/mail1011-txn-ownvocab-1115
wip/mail1011-txn-novocab-1115
perf/p1117-final-harness
perf/single-shot-repeats
port/tasks-matrix
wip/mail1011-txn-1115
fix/static-gates-1155
feat/files-s1-identity-r7
fix/files-r7-idle-loop
fix/daily-train-1152
port/notes-float
fix/editor-tables-test-types
port/notes-float-listscript
feat/tasks-actions
port/notes-float-phone-preload
perf/sound-comparator
port/notes-float-listscroll
port/notes-float-budgets
port/notes-float-suite-fix-b
port/notes-float-sidebar-fix
port/notes-float-trim
port/notes-float-3-lists
fix/attachments-meta-capability
docs/carddav-writes-v2-plan
feat/contacts-companion-pure
issue/carddav-read-perf-fix-r2
issue/carddav-read-r2
port/notes-float-devsync2
review/calendar-2
review/switcher-a-pills
port/notes-float-switcher-a
port/port-tables-2
review/switcher-ends
wip/whiteboard-s1-1114
port/port-tables
wip/mail1011-perfneutral
review/photo-tint
port/notes-float-shell
wip/local/collections-db
wip/local/mail-p1
wip/local/cold-growth-on-tiering
wip/local/tiering-v3-s1
wip/local/wal1051-cap
wip/local/tiering-v3-s1-resume
wip/local/index-position-startup-scan
port/notes-float-flat
port/notes-float-promote
wip/handover/mail1011-candidate
wip/handover/files-s1-candidate
port/notes-float-shell-only
port/notes-float-perf
feat/whiteboard-s1
feat/tiering-v5
fix/app-switch-hitch
wip/local/files-s1-dev-v4-final
feat/files-s1-dev-v4
fix/c2-glass-shared
feat/flat-lists
wip/handover/whiteboard-s1-resume
wip/att-lazy-861
feat/switcher-browse
wip/att-lazy-860
feat/tasks-float
recovered/flat-backup-candidate
perf/stalls-1054-kc
land/ai-toolbar
feat/collections-db
feat/collections-db-fixes
codex/mail-1011-redesign-20261111
fix/ai-toolbar
backup/macos-vm/st3-head
perf/trim-candidate-phonestack
feat/switcher-three
fix/1051-index-idle-checkpoint
perf/stalls-1054-kb
perf/stalls-1054-k
perf/stalls-1054-r3
fix/c2-contrast-tail
perf/stalls-1054-r3-preview
feat/collections-before
feat/tiering-v4
fix/timelog-caret
wip/local/tasks-actions
docs/tasks-writes-v2-plan
st3-r3
feat/pass8
review/calendar-2-before-1111
wip/tiering-v3-cold4
perf/stalls-1054-r2
fix/suite-A4
fix/suite-A5-probe
fix/suite-A6
fix/suite-A3
fix/suite-A2
fix/suite-A5
fix/suite-A1
wip/local/attachments-861-fix
feat/contrast
wip/local/ports-861
storage/wal-checkpoint-off-save-1051
wip/local/mail-1011-reconcile-20261110
feat/style-sheet-fixes
feat/money-round
perf/stalls-1054
wip/tiering-v3-cold5
t3/mail-1011-liveness
feat/iphone-fixes
feat/notes-approve
wip/local/shrow-work
feat/files-s1-identity
feat/quickfix
wip/tiering-v3-cold
wip/local/shared-row-swipes
backup/macos-vm/pfx-B
backup/macos-vm/pfx-C
backup/macos-vm/pfx-D
feat/contrast-r1
feat/tiering-v3-s2-tags
feat/folder-drop
t3/photos-s1
feat/tiering-v3-s1-namespace
wip/local/photos-s1
t3/photos-plan-slice-one
recovered/backup/p1b-61505
t3/paged-search-reconcile
t3/smooth-pane-transitions
t3/index-position-startup-scan
fix/private-staging-759b-r2
backup/macos-vm/hk/hk1009/pr877
backup/macos-vm/hk/hk1009/pr878
docs/undo-block-ids-plan
fix/undo-768
backup/macos-vm/hk/hk1009/pr875
backup/macos-vm/hk/hk1009/pr904
proto/block-identity-v7d
backup/macos-vm/hk/hk1009/pr846
backup/macos-vm/hk/hk1009/pr860
backup/macos-vm/hk/hk1009/pr861
backup/macos-vm/hk/hk1009/pr849
backup/macos-vm/hk/hk1009/pr848
backup/macos-vm/hk/hk1009/pr853
backup/macos-vm/hk/hk1009/pr957
backup/macos-vm/hk/hk1009/pr893
backup/macos-vm/hk/hk1009/pr889
backup/macos-vm/hk/hk1009/pr902
docs/imap-notes-plan
docs/quota-plan-2
fix/parallel-test-flakes
docs/calendar-backend-v2-plan
feat/calendar-ical-converter
backup/macos-vm/hk/hk1009/pr808
docs/contacts-import-v2-plan
issue/610-pm-midnight
feat/calendar-v2-s1-containment
backup/macos-vm/hk/hk1009/pr854
backup/macos-vm/hk/hk1009/pr845
backup/macos-vm/hk/hk1009/pr917
docs/dav-recorder-v2-plan
plan/previews-865
plan/save-log-durable-entry
backup/macos-vm/hk/hk1009/pr934
fix/e2e-data-on-ram
backup/macos-vm/hk/hk1009/pr888
feat/appwindow3
feat/appwindow2
feat/appwindow
feat/money-p1
feat/keys-sheet
review/calendar-2-themes
feat/smooth-cursor
fix/float-style
review/calendar-2-float
release/2026-11-06-hotfix
archive/port/rows-drop-code
archive/port/rows-actions
archive/port/rows
scratch/tasks-894-ui-gates
review/calendar-2-night-wip
recovered/flaky/toast-reduced
release/2026-11-05
archive/flaky/rows-drop-fixed
archive/flaky/rows-actions
archive/flaky/rows
sim/bm15-final
sim/bm15-bis-932
sim/bm15-bis-909
sim/bm15
sim/bm15-bis-887
perf/tiering-option-b
fix/sw-lazy-precache
archive/plan/save-log-durable-entry
mock/money-fix2
archive/fix/e2e-data-on-ram
mock/appearance-all
mock/pill-press
mock/pill-press-mac
backup/macos-vm/appearance-after
mock/auto-swipes
mock/mail-actions
backup/macos-vm/mock/mail-actions
mock/money-static
archive/review/standards-917
perf/tiering-761-fix
mock/type-audit
mock/third-pane
feat/contacts-import-v2-s1
perf/executor-hot-path
archive/port/hidden-blocks
archive/port/devices
scratch/executor-on-894
scratch/executor-spans2
scratch/executor-spans
archive/port/rows-drop
feat/tiering-761-d-scale
feat/tiering-761-c-index
feat/tiering-761-b-reader
archive/review/sharing-pr3-review-9fec3d1f
perf/ports-lazy-budgets
feat/tiering-761-a-migration
archive/review/sharing-pr3-review
archive/review/sharing-pr3-review-code
archive/plan/previews-865
archive/port/port-attachments-3
archive/port/contacts-merge
fix/motion-audit-859
fix/motion-audit-859-mac
archive/port/port-pickers
archive/port/port-tables-2
archive/port/port-tables
recovered/local/sharing-s1-pr2-room-snapshot-candidate
archive/fix/parallel-test-flakes-code-minipc01
docs/imap-766-readonly-slice
feat/dav-recorder-v3
research/788-diagnosis
archive/fix/parallel-test-flakes
archive/perf/pr792-cold-index-edit
docs/sharing-slice-1
recovered/feat/dav-recorder-v2
recovered/feat/dav-recorder-v2-edd7bbb
spike/imap-766-s0-cases
archive/fix/undo-768
recovered/feat/dav-recorder
recovered/feat/dav-recorder-901acd4
feat/contacts-import
perf/cold-growth-on-764
perf/cold-growth-on-tiering
recovered/feat/tasks-set-status
feat/tasks-move-reorder
feat/tasks-delete-promote-duplicate
feat/carddav-writes
perf/quota-on-tiering
perf/quota-simple
perf/cold-growth-on-quota-stack
recovered/perf/cold-growth-on-tiering
feat/calendar-identity
feat/calendar-event-parser
feat/calendar-props-maps
port/glass-when-ring
recovered/feat/tiering-761-s1-wip-8132a84
recovered/feat/tiering-761-s1-wip-9da4094
recovered/feat/tiering-761-s1-wip-724512c
recovered/feat/tiering-761-s1-wip-66e667e
recovered/feat/tiering-761-s1
wip/6by32-01-tier-761-s1-pause-20261030
spike/imap-766-s0
wip/6by32-02-calternal-pause-20261030
wip/8by64-01-review-688-pause-20261030
wip/6by32-01-verify-744-pause-20261030
wip/6by32-01-verify-742-pause-20261030
fix/private-staging-759b
wip/6by32-01-review-748-pause-20261030
wip/6by32-01-review-733c-pause-20261030
wip/6by32-01-review-733b-pause-20261030
review/calendar-month
wip/local/bm15-trash
plan/759b-staging
review/767b-tests
review/preview-2026-10-29
docs/tiering-731-plan
wip/c6b02-review-733d
wip/c6b02-bm1-full-a
docs/deploy-plan
fix/storage-owner-liveness-642
fix/storage-fix-7
feat/tiering-731
wip/tiering-731-first-attempt
perf/idle-honest-2
fix/storage-private-tmp-642-dev
fix/storage-exact-file-quarantine-642
perf/one-flush-save
review/calendar-static
review/indexing-ring
review/when-field-2
proto/block-identity-2-review
proto/block-identity-review
review/when-field
issue/tasks-create-ids
issue/tasks-create
review/combined
review/task-polish
review/top-buttons
review/q1-q5
archive/integ325-293
archive/integ325-ci
issue/calendar-adr
archive/old/train/2026-10-23bk2
archive/old/train/2026-10-23bk
issue/469-mockup-9a
issue/smart-tasks-mockup
issue/469-menus
issue/652-signout-flake
issue/652-history-fix7
issue/652-history-fix6
archive/old/issue/spring-check-perf
issue/spring-check-perf
issue/659-rename-fast
archive/old/train/2026-10-21ar
issue/search-hardening-3
issue/652-history-fix5
issue/660-port-sheets-glass
issue/652-history-fix4
issue/652-history-fix3
issue/652-history-fix2
issue/652-history-flake
train/2026-10-21an
issue/settings-admin-port
issue/search-port
train/2026-10-20am
issue/storage-split-fix2
issue/storage-split
archive/old/issue/folder-ids-fix
train/2026-10-20al
archive/old/issue/folder-ids
train/2026-10-20ak
issue/tables-mockup
train/2026-10-19aj
train/2026-10-19ai
issue/469-merge-fixes
issue/sidebar-band
archive/old/issue/608-settings-spec
train/2026-10-19ah
issue/swipe-offscreen
train/2026-10-19ag
archive/old/issue/590-nlp-adr
archive/old/issue/587-event-after-write-2
train/2026-10-19af
archive/old/issue/587-event-after-write
issue/469-pill-room-c
issue/469-pill-room
train/2026-10-19ae
issue/469-narrow-handle
issue/397-ios-swipe-2
issue/469-desk-fixes
archive/old/issue/auto-update-adr
issue/469-filter-gap
issue/469-port-1b
issue/442-opacity-flake
issue/327-web-fast-3
archive/old/issue/469-port-1
issue/469-port-1
issue/327-web-fast-2
archive/old/issue/327-web-fast
archive/old/issue/425-stt-bench-vq1
archive/old/issue/445-no-bleed
archive/old/issue/400-swipe-mockup-2
issue/426-client-review
issue/426-client-2
issue/426-client
archive/old/issue/476-safe-area-lab
archive/old/issue/445-top-light
issue/471-blocks-mockup
archive/old/issue/448-links-app-2
archive/old/issue/448-links-app
archive/old/issue/398-cold-links
issue/434-442-small-2
issue/434-442-small
archive/old/issue/398-unload
archive/old/issue/445-bottom-band
issue/445-bottom-band
issue/351-rem-3
issue/351-rem-2
issue/351-rem
archive/old/issue/327-first-note
issue/395-width-phone
archive/old/issue/327-typing
issue/396-ios-edges
issue/397-ios-swipe
archive/old/issue/327-notes-index
issue/345-347-contrast-empty-2
archive/old/issue/44-arenas
issue/44-arenas
archive/integ325
archive/old/issue/327-perf-harness
archive/old/issue/44-thp
issue/44-thp
archive/old/issue/285-sticky-pills
archive/old/issue/44-trim-3
issue/44-trim-3
archive/old/issue/165-cards
archive/old/issue/165-picker-2
archive/old/issue/212-multi-select
No results found.
Labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
kayg/calternal#448
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
kayg (2026-10-15): clicking a link to a note that does not exist does nothing. It should be smart about two cases:
Grill L1–L6 in chat. Mockup on preview with switchable variants first. Nothing is merged until kayg approves the mockup.
Mockup is up: https://preview.calternal.cloud/links.html#/note/links-and-tags?list=all (variants on the Mockup pill, bottom right, or in the URL). Branch
issue/448-links-mockup, PR #453 (mockup, do not merge). It follows kayg's answers L1–L6.Variant links:
What it does:
[calternal](<calternal.md>)or[[Calternal ideas]]) makes the note at the path the link points to, titled with the link's words, and opens it with "Made '…' · Undo". The link works without being rewritten, and[[…]]stays written as[[…]].trash=replace|beside). The card offers Restore (the link works again; Undo is in the toast) and Open, which shows the note read only, inside the card.Contrast for the missing-link looks (WCAG, worst spot behind it; words need 4.5): icondim ★ 5.4 / 5.3 / 7.0 / 4.5 (light paper / light photo / dark paper / dark photo); icon 14.0 / 13.5 / 12.9 / 7.5; fade 3.2 / 3.2 / 4.6 / 3.5, which fails at its faint end; dim 3.0 / 3.0 / 4.3 / 3.1, which fails. The full table is on #450.
Click to make it; the Trash card, and Open inside it; the deleted-for-good card (Chromium, 1440, light)

Missing-note looks × light/dark × paper/photo, with trash=beside in the last column

320 and 390, light and dark: the Trash card, the deleted card, the tag picker

The note at 320 / 360 / 375 / 390, light and dark

iPhone checklist (headless WebKit here draws no backdrop blur, so the glass needs a real device):
#,@and[[picker sits above the keyboard, with no zoom and no jump. Tapping a row puts it in and keeps the keyboard up.&over=photo&backdrop=photo).Checks:
apps/mockup/tests/links.spec.tscovers every flow above, in Chromium and WebKit, at 320/360/375/390/900/1440. Nothing scrolls sideways, and the cards and the picker stay on screen.Approval round is live: https://preview.calternal.cloud/links.html#/note/links-and-tags?list=all. New PR #457 (mockup, do not merge; it replaces #453). The approved defaults are now the defaults.
Fixed:
No gap after a link. "Calternal ideas.", "Old budget." and "Books to read," now sit like words. The pill keeps its room for hover and the caret (nothing moves), but an equal negative margin cancels it at rest. Measured in Chromium and WebKit: the gap from a link's last letter to the punctuation is 0.0 px, and the caret just after a link sits 0.0 px (WebKit: −0.5 to 0 px) from the word's end. A test now checks this (
links.spec.ts, "a link sits in the sentence like a word"). Today's look (chip=current) keeps its pill and its ~10 px, for comparison.No links summary above the title. The "@ Linked from … · … unlinked mentions" pill is gone everywhere. "Linked here" stays at the end of the note, unchanged.
The Trash card shows the note itself (the approved peek), with Restore ⌘↵. The plain card is only a fallback, for a note that can't be read.
Cards and pickers use the shared #319 glass: the real
Glasscomponent,dense, and its tokens, taken fromorigin/issue/319-one-glass, not a copy. The ink handle and pill wearfloat-glass-behind dense.Pickers and cards never follow you. They close on navigation (any change of note or screen), on Esc, on a click elsewhere, and when the caret leaves the trigger. There are tests for each, in Chromium and WebKit.
Safari's bars. On the iOS 27 simulator (Safari, dark), with the keyboard up and after moving to the next note, the strip behind Safari's toolbar showed the night sky (navy, 14,19,49) instead of paper. The mockup never set
data-edgeon the phone stack, and it had no floor under the page, so the fixed sky backdrop's bottom edge was what Safari tinted from. Two writers also settheme-colorto different values (the theme colour, and the sky's top). Fixes:theme-color, and only when it changes (never on navigation);data-edge(paper under a note, glass under the lists), as the app does;.floorunder the page now covers at least the bottom edge, and switches at once, never through a fade;theme-colortags match paper at first paint.After the fix: with the keyboard and picker up, and after the next note, the bar strip is paper (31,27,24 in the screenshot; before, 14,19,49). I recorded light, dark and default theme while the page navigated (links note → a link → back → another link → back), 28–56 frames each. The status-bar and toolbar-strip colours stayed within ±1 of one value in every frame, before and after; the sky only showed with the keyboard up, and that is now fixed.
iOS 27 simulator, Safari, dark: before and after

Simulator work used only
xcrun simctland the existing~/calternal-simtools (wir.py,frames.swift), with files in/tmp/cal/k448. The preview site was backed up before each deploy, and the live files match the build byte for byte.Known and not from this branch: the
story.spec.ts"#90 Trash" test times out in WebKit dark on plaindevtoo.Built into the app on branch
issue/448-links-app(PR to follow, closing #448, #449 and #450; not to be merged without kayg). It follows the approved mockup (#457):missing=icondim,trash=replace, the Trash card with its peek, the deleted-for-good card, and the quiet repoint of a note moved outside.How it works in the app:
history→departed) and answers a batch of paths at once (notes.link-states): an index lookup per path and one read, never a walk of the Home. The app asks only about paths its list doesn't hold, in batches, never while typing.Wide, light: rest, hover (handle and pill), caret in a link, tag picker, nested tags, Trash card, Open, deleted card, made

Wide, dark

390, Chromium, light and dark (same order, no hover on a phone)


390, WebKit, light and dark


iOS 27 simulator, Safari (dark by time of day): the note with "Link updated", the Trash card, the deleted card, the

#arpickerOn the simulator: tapping the trash link opened its card, Restore restored it, the deleted link opened its card, a tap elsewhere closed it, tapping the never-written link made "Calternal ideas" and opened it, and a plain link opened its note with the editor focused or not. Typing
#arshowed the picker above the bar. The XCUITest runner could not type into the page (no keyboard focus in the headless simulator), so the text was put in through the page; the software keyboard itself still needs a device.iPhone checklist (WebKit here draws no backdrop blur):
#,@and[[picker sits above the keyboard; tapping a row keeps the keyboard up.PR #464 (into dev, closes #448, #449, #450; not to be merged without kayg). Rebased on dev after the 16o train landed.
One fix after the screenshots above: on a phone, following a link now lets the keyboard go (the editor is one view for every note, so the tapped caret came along and the text bar swept the “Made” toast and its Undo away). Cards keep the caret to come back to.
Review fixes are in #465 (replaces #464; not to be merged without kayg).
Fresh simulator run (new server on

issue/448-links-app-2, freshly seeded, Safari service worker cleared): never written (note-plus at 70%), in the Trash (trash icon), deleted for good (note-plus), moved in Finder (repointed, plain), a day with its note and a day without one (both day icons):Tapping "Christmas" (no note yet) opened that day,

day-2026-12-25, "Friday, 25 December":The wrong looks seen earlier came from my previous session on that server (I had restored "Old budget" and made "Calternal ideas") and from Safari's service worker still serving the old build. A real gap was fixed too: an answer requested while another request for the same path was in flight could be stale. Now a new test shows a link following made → trashed → restored → deleted for good done by another device.
Round 3: PR #472 replaces #465 (closed). kayg's two decisions:
Trash card, 320 wide, light. Before | After

Trash card, 320 wide, dark. Before | After

Deleted-for-good card, 320 wide, light. Before | After

Deleted-for-good card, 320 wide, dark. Before | After

1440 wide, light (after): Trash | Deleted

iPhone simulator (iOS 27, Safari; trash light, deleted light, trash dark, deleted dark):

Card buttons now share one fixed height in every state (icon-only, icon + words, 44 px on touch), contents centred, so tops and bottoms line up exactly. Fix is on PR (new) from
issue/448-links-app-5; the 375 test failed by 2.1 px before. Screenshots, Chromium, Trash card then Deleted card, at 320 / 375 / 390, light and dark:Trash card, 320, light

Trash card, 320, dark

Trash card, 375, light

Trash card, 375, dark

Trash card, 390, light

Trash card, 390, dark

Deleted card, 320, light

Deleted card, 320, dark

Deleted card, 375, light

Deleted card, 375, dark

Deleted card, 390, light

Deleted card, 390, dark

Starting investigation on branch
issue/448-missing-flake, based onorigin/devat74336c9b9b8322079049eaece074f2c18c722fc9. I will trace link-state reads and delete effects, stress the current behavior, then apply the smallest justified fix and run the requested gates.Baseline repro on #448: 200 runs of tests::missing::a_path_tells_here_trash_and_gone with --test-threads=8 alongside one CPU hog produced 195 passes and 5 failures. All 5 panicked at crates/notes/src/tests/missing.rs:51 with New. Trace: trash::move_file removes the in-memory path mapping synchronously, but home.event calls missing::remember, whose History::depart queues the departed-path write without waiting. link_states then reads departed on another SQLite connection and can fall back to New before the queued row commits. This confirms the failure is not stale Here; it is still an incorrect post-return link state. I will make deletion wait for that history write before returning.
Stress evidence after the fix on #448: the same test, 200 times with --test-threads=8 alongside one CPU hog, completed with 200 passed and 0 failed. The targeted test also passes by itself. The delete path now waits for the history writer after recording the deletion event, so link_states can read the departed path before delete returns. The immediate Trash assertion is unchanged.
Finished #448. Head SHA:
7db5ab0533. PR #519 is open into dev: #519.Repro before fix: BASELINE: 195 passed, 5 failed, 200 runs. All five failed assertions returned New.
Repro after fix: AFTER FIX: 200 passed, 0 failed, 200 runs.
cargo fmt --all --check exited with status 0 and empty output.
cargo clippy -j4 --workspace --all-targets -- -D warnings output:
cargo test -j4 --workspace output:
Workspace total: 452 passed, 0 failed, 2 ignored across 54 test result lines.
Verbatim Rust test result lines:
Links: approved mockup vs the app, measured (PR #562, not to be merged without kayg).
Sheet (differences table with measured values, then side by side: approved mockup | app before | app after; Chromium and WebKit, 1440 and 390, light and dark; rest, hover pill, caret pill):

Result: the shipped links already matched the approved look except two things, now fixed in #562: the gap after the kind icon (.28em, approved .3em) and the 70% of missing-note links (oklab mix, about 8 levels darker than the mockup's opacity .7). The grey "+" links kayg saw in production ("Infraternal", "Calternal") ARE the approved missing-note look: ink at 70% with a note-plus icon. So "they look meh" is about the approved look itself, not a shipping gap.
Not changed: the lit pill on a missing link (mockup has no lift and an ink icon with the caret, the app lifts it with an accent icon), the light body weight (#492) and the page ink tokens; the pill's right padding belongs to
issue/469-narrow-handle.For the grill (mockup only, not in the app): other looks for links when the caret is not in them. Live: https://preview.calternal.cloud/links.html#/note/links-dense?list=all with

&linklook=now|tint|underline|chipand&blockactive=1(every link in the block with the caret shows its lit form; click into a paragraph to see it). Branchissue/448-links-look-v(from the mockup branch).nowis today's approved look;tinta soft accent wash (12% light, 16% dark, 5px radius, 2px padding) with accent icon;underlineaccent text, 1.5px accent line, weight 500;chipa hairline accent edge on a 5% fill, 6px radius. Missing, Trash and deleted keep the + / Trash icon and grey ink in each (grey wash, dashed grey line, grey edge). Words keep 6.0:1 or more (light and dark) in every look.https://claude.ai/code/session_01WCcFhwwgMK66k9LMVqogNJ
[[suggestions fixed in #564 (not merged).Cause: the picker listed everything
search.queryreturned as titles, and that search also matches body text, so days that only mention "Keshav" appeared. A link target that notes point at but nobody made is not a note, so it never appeared.Now, in order: notes whose title matches, then never-made link targets with "linked from N notes", then Create for what was typed, then (only while fewer than 5 title matches) "Mentioned in" with the match marked. Ranking runs in 0.3-4 ms per keystroke at 10,000 notes. Tests green on chromium/webkit at 390 and 1440.
Typing
[[Zorvak...(a note titled with it, a target 2 notes link to, two days mentioning it), Chromium 1440 and 390:Links round 2 (mockup, branch
issue/448-links-look-v2, fromissue/448-links-look-v). Live: https://preview.calternal.cloud/links.html#/note/links-and-tags?list=all1. Hover corners. Every look now has ONE radius token (
--lk-r) for every link kind (note, day, block, photo, file, missing, Trash, gone) at rest and lit, and the link's tooltip ("Open ⌘↵") wears it too. Pill look (now,underline) = 999px everywhere;tintandchip= 6px everywhere (tint was 5px, chip 6px, the tooltip 9px). The lit form no longer carries a radius of its own. A test checks every look x light/dark x kind x state (rest and lit) and the hovered tooltip: all equal the token (chromium and webkit); the sheet has 2x crops.&theme=darkfor dark)2. Blocks in the
@/[[picker. Same search core and the same row as the palette:search/pick.tsasks the palette's providers (new hidden ones:blocks.ts,unmade.ts,create.ts), the palette's parser/matcher (match.ts, no second matcher) and drawsResultRowwithMarkedhighlights. Sections: Notes (title matches, no heading), Blocks (the block's words with the match marked, its note as the quiet second line; heading, list, to-do, paragraph and the rest each have an icon), Not yet created (links other notes already have to a note nobody made, + icon), Actions (Create "what you typed"). Sizes to its content, caps at 380px, scrolls, keys as before; Tab flips Link | Embed (the key sits in the palette's key chip);(a block icon; the link opens the note on that block, flashed); in Embed mode it embeds just that block (, the note as a quiet line below). The first link gives the block its anchor (in a file it would be^k3x9aat the end of the line).&theme=dark)Checked: icons and the two text lines centre together (icon centre vs text centre < 1px) and share one left edge (< 0.5px), asserted by the test at 1440 and 390; Playwright shots 1440 and 390, light and dark; iPhone simulator (Safari) with the glass blurring properly. Not touched: palette behaviour (it has no Blocks chip). One small addition outside the mockup folder: a
paragraphand anotenewicon in packages/ui Icon.svelte.Not yet checked on a real iPhone with the keyboard up (the simulator's keyboard stays hidden): the picker clears Safari's form bar with the same 54pt allowance as chrome.html, please test.
🤖 Generated with Claude Code
https://claude.ai/code/session_01U5oTUycqAh7DT72mdSUztk
Links round 3: sorry, I rebuilt two approved designs. Fixed. I merged
origin/issue/469-chrome-mockup-5(read only) intoissue/448-links-look-v2and took its picker and its note-embed card as they are.InlinePicker.svelte,picker.svelte.tsandaccept.tsfrom chrome-5 unchanged in how they work. Tab flips Link | Embed, as in chrome-5 (my own Tab handling is gone).NoteEmbedcard: the note's title, the block's text in the body, Open.Note.md#^anchoris handled inblocks/target.tslike#Heading; the card, its floating pill and its menus are chrome-5's. The sheet shows it beside the approved Dal makhani note embed.search/pick.ts,providers/blocks.ts,unmade.ts,create.ts;links/pick-rows.tsturns results into rows), the block anchor for links and embeds (!@/![[/Tab list notes, files and blocks), and the one radius token per link look. A block row is two lines (words with the match marked, note as the quiet line) in the approved rows' 34px/22px-icon grid; note rows now use the notes icon too, so every label shares one left edge. Because the picker is the approved one, it no longer uses the palette'sResultRow(the palette and the picker still share one matcher and one set of providers).site.bak-448v2-…, last 5 kept, every other file's hash unchanged, links.html and its two assets match the build. Pushed.States: https://preview.calternal.cloud/links.html#/note/links-and-tags?list=all&pick=@encry · https://preview.calternal.cloud/links.html#/note/links-and-tags?list=all&pick=@encry&pickend=1 · https://preview.calternal.cloud/links.html#/note/links-and-tags?list=all&pick=![[encry · https://preview.calternal.cloud/links.html#/note/links-and-tags?list=all&linklook=tint&blockactive=1 (also now, underline, chip).
🤖 Generated with Claude Code
https://claude.ai/code/session_01U5oTUycqAh7DT72mdSUztk
Closing during the 26 Oct handover cleanup: Links to missing notes landed in dev (PRs #496, #513 and the follow-ups through #595).