Notes Float: new-share dot label and one aria-current in the Places nav #1143

Closed
kayg wants to merge 0 commits from port/notes-float-sidebar-fix into port/notes-float
Owner

Fixes the two release blockers on port/notes-float @ 6a3ef2e83 (#1088 comment 97106).

  1. admin-sharing.spec.ts:117: the Notes sidebar's Shared row already showed a dot (same source as dev, newShares(), same 7 px accent look), but TreeRow labelled it "New". It now takes a dotLabel prop and the Shared row passes "New shares", as dev's Sidebar does.
  2. contrast.spec.ts:66 (2 aria-current in Places): the dock's app switcher (its current-app pill carries aria-current="page") sat inside <nav aria-label="Places">. NotesSide's root is now a plain div; the Places nav wraps only the tab strip and the tab body, and the dock stays under it. Exactly one element (the active place row) is current. Edge measurement for the blur strips is unchanged (same offset parent, root height).

Gates: see the comment below.

🤖 Generated with Claude Code

Fixes the two release blockers on `port/notes-float` @ 6a3ef2e83 (#1088 comment 97106). 1. `admin-sharing.spec.ts:117`: the Notes sidebar's Shared row already showed a dot (same source as dev, `newShares()`, same 7 px accent look), but `TreeRow` labelled it "New". It now takes a `dotLabel` prop and the Shared row passes "New shares", as dev's Sidebar does. 2. `contrast.spec.ts:66` (2 `aria-current` in Places): the dock's app switcher (its current-app pill carries `aria-current="page"`) sat inside `<nav aria-label="Places">`. NotesSide's root is now a plain `div`; the Places `nav` wraps only the tab strip and the tab body, and the dock stays under it. Exactly one element (the active place row) is current. Edge measurement for the blur strips is unchanged (same offset parent, root height). Gates: see the comment below. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Notes sidebar: name the new-share dot, keep one current mark in the Places nav
Some checks failed
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled
Markdown extraction contract / markdown-native-contract (pull_request) Has been cancelled
Markdown extraction contract / markdown-editor-contract (pull_request) Has been cancelled
ab755c5b29
The Shared row's dot is labelled 'New shares' as on dev. The dock's app switcher moves out of the Places nav so only the active place carries aria-current.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Author
Owner

Gates on ab755c5b2 (server built from this head; Rust is untouched vs 6a3ef2e83):

  • dev-01 chromium: notes-sidebar-tree sidebar-arrange window-layout on chromium-1440 + 390: 16 passed. admin-* on admin-chromium-1440 + 390: 25 passed (incl. admin-sharing:117).
  • dev-02 webkit: same sidebar specs on webkit-1440 + 390: 16 passed. admin-* on admin-webkit-1440 + 390: 19 passed (incl. admin-sharing:117).
  • svelte-check: 0 errors, 19 warnings. vitest: passes.
  • Bundle gate: first_js_brotli 238.279 KB (base 238.327, limit 240), raw 839.540 (base 839.412, +128 B). total_js_brotli ok.
    Eight lazy chunks (vim 37.921 vs 37.92, code-rust, ...) are 0.01 to 0.1 KB over their budget on this head and not on base; they are chunks this change does not touch (hash/entropy shift), so I left them.
  • contrast project (throwaway .mts config outside the repo, dependencies emptied): contrast.spec:66 now passes the aria-current count (toHaveCount(1)) for every place, then FAILS on real contrast numbers that the count assertion hid: dark/dawn and dark/day, All notes, .meta "something to read in the" 4.39 and 4.15 (needs 4.5). contrast.spec:268 (1440) also fails: "Link to a note" Insert 1.69. Same specs on origin/dev (6c50dd99c) with the same binary: 10 passed. These are the flat list on the global layer (slice 3) reading over the bright sky with no adaptive lift; the tokens say the adaptive contrast is slice 7. Not fixed here: it is a design call (list ink on the sky), not a sidebar bug.
Gates on ab755c5b2 (server built from this head; Rust is untouched vs 6a3ef2e83): - dev-01 chromium: `notes-sidebar-tree sidebar-arrange window-layout` on chromium-1440 + 390: 16 passed. `admin-*` on admin-chromium-1440 + 390: 25 passed (incl. admin-sharing:117). - dev-02 webkit: same sidebar specs on webkit-1440 + 390: 16 passed. `admin-*` on admin-webkit-1440 + 390: 19 passed (incl. admin-sharing:117). - svelte-check: 0 errors, 19 warnings. vitest: passes. - Bundle gate: first_js_brotli 238.279 KB (base 238.327, limit 240), raw 839.540 (base 839.412, +128 B). total_js_brotli ok. Eight lazy chunks (vim 37.921 vs 37.92, code-rust, ...) are 0.01 to 0.1 KB over their budget on this head and not on base; they are chunks this change does not touch (hash/entropy shift), so I left them. - contrast project (throwaway .mts config outside the repo, dependencies emptied): `contrast.spec:66` now passes the aria-current count (`toHaveCount(1)`) for every place, then FAILS on real contrast numbers that the count assertion hid: dark/dawn and dark/day, All notes, `.meta` "something to read in the" 4.39 and 4.15 (needs 4.5). `contrast.spec:268` (1440) also fails: "Link to a note" Insert 1.69. Same specs on origin/dev (6c50dd99c) with the same binary: 10 passed. These are the flat list on the global layer (slice 3) reading over the bright sky with no adaptive lift; the tokens say the adaptive contrast is slice 7. Not fixed here: it is a design call (list ink on the sky), not a sidebar bug.
Author
Owner

Merged into port/notes-float with --no-ff by the orchestrator. The now-visible contrast failures (contrast:66 All notes .meta 4.15–4.39 on the flat list over a bright sky; :268 Insert sheet) go to the blockers-B lane: adaptive ink (slice 7 is already merged). Closing.

Merged into `port/notes-float` with `--no-ff` by the orchestrator. The now-visible contrast failures (`contrast:66` All notes `.meta` 4.15–4.39 on the flat list over a bright sky; `:268` Insert sheet) go to the blockers-B lane: adaptive ink (slice 7 is already merged). Closing.
kayg closed this pull request 2026-11-14 22:51:41 +00:00
Some checks failed
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled
Markdown extraction contract / markdown-native-contract (pull_request) Has been cancelled
Markdown extraction contract / markdown-editor-contract (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
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!1143
No description provided.