Skip to content

Remove what the classic chrome left behind - #3186

Merged
max-sixty merged 6 commits into
mainfrom
floating-panel
Oct 20, 2026
Merged

max-sixty merged 6 commits into
mainfrom
floating-panel

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

#3100 removed the banner, the shortcut bar, the All pages and On drawers and the Threads side panel. This removes what only those surfaces reached and rewrites prose that still describes them as present.

One real bug: the Worker's interaction schema (worker/src/interactions.ts) still allowed banner_words/queue_words and surfaces banner/queue, which nothing emits now, and lacked status_words, which the floating panel's status has emitted since #3100. The schema drops values it doesn't know, so leaf.page logged those records without their presentation_kind. It now lists what the runtime sends: status_words among the kinds, and panel, margin, page and outlet among the surfaces (leaf-agent's review).

Also fixes a regression from #3181: the attached-image rule gave the panel's card a second anchor name, --lf-fp-card, which replaced --lf-fp-panel, so page search lost the anchor it stands on above the panel and fell to the window's top (main's focus-ring journey: passage search on triage-board, ring 3px off screen). The images now hang from --lf-fp-panel. The journey passes locally again; its remaining teardown error is the lf-diff gallery #3191 fixes.

Dead code (each checked for callers in the current tree): awaitsAgent/awaitsUser (the deleted Threads filter), inRecentOrder (the deleted Recent order), unreadBoundaries (the side panel's thread card), the grow keyframes, and the ring sweep's offered() column, which asked whether the banner had hidden a control and always passed since. Their tests go with them.

Renamed: navigation.drawer.queue/navigation.drawer.leaves → navigation.panel.queue/navigation.panel.leaves, beside navigation.panel.threads.

Prose: about 45 files of comments, docstrings, notes and test docstrings that placed things under the banner, on the shortcut bar or in a drawer. Past-tense history stays.

Checked: pnpm run test:runtime, check:browser, check:worker, pre-commit, and the focused browser and journey ids the renames touch.

This was written by Claude Code on behalf of max-sixty

#3100 deleted the banner, the shortcut bar, the All pages and On drawers
and the Threads side panel. This removes code that only those surfaces
reached, and rewrites prose that still describes them as present.

Dead code, each checked by grepping the tree (hidden dirs included) and
the pre-removal tree for its callers:

- `awaitsAgent`/`awaitsUser` (thread/model.js), read only by the deleted
  Threads filter (thread/narrowing.js); their test assertions go too.
- `inRecentOrder` (thread/placement.js), the deleted thread list's Recent
  order, with its test and the time-zone pin only that test needed.
- `unreadBoundaries` (thread/summary-ranges.js), read only by the side
  panel's thread card, with its test.
- The `grow` keyframes in styles/chrome.css, whose one animation was in
  the removed side-panel rules.
- `offered()` in tests/browser/controls and the ring sweep's "offers"
  column: it asked whether the banner's presence writer had hidden a
  control. The one remaining entry (On me) is clicked open first, so the
  check always passed.
- The browser-support entry on print emulation, whose owners (the
  banner's container query and the phone posture) no longer exist, and
  the note's sentences on the side panel's "Thread withdrawn" row.

Fixed on the way: the Worker's interaction schema still allowed
`banner_words`/`queue_words` and surfaces `banner`/`queue`, which nothing
emits now, and lacked `status_words`, which the floating panel's status
emits since #3100, so leaf.page logged those records without their
`presentation_kind`. It now lists what the runtime sends.

Renamed: the `navigation.drawer.queue`/`navigation.drawer.leaves`
commands are `navigation.panel.queue`/`navigation.panel.leaves`, beside
`navigation.panel.threads`, since they open the panel's views.

Prose: comments, docstrings, notes and test docstrings that placed things
"under the banner", "between the banner and the bottom bar", on "the
line" (the shortcut bar) or in a drawer now name the head room, the
floating panel's row, the command reference or the panel's views, or drop
the clause. Historical accounts in the past tense stay.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
leaf-agent previously approved these changes Oct 19, 2026
# Conflicts:
#	skills/leaf/kernel/kernel.json
leaf-agent
leaf-agent previously approved these changes Oct 19, 2026
# Conflicts:
#	skills/leaf/kernel/kernel.json

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Worker still drops a surface value from some reply_visible records; see the inline suggestion.

Comment thread worker/src/interactions.ts Resolved
leaf-agent's review: thread readings pass "page" (renderSeats) and
"outlet" (renderThreadSurface) into observeFeedback, so reply_visible
records carry those surfaces too, and the narrowed enum would have
stripped them. Also unexports serverNow, which only presence.js reads
now that inRecentOrder is gone.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
leaf-agent previously approved these changes Oct 20, 2026
#3181 named the panel's card --lf-fp-card for its attached images, which
replaced the card's --lf-fp-panel, so page search lost the anchor it stands
on above the panel and fell to the window's top, its focus ring 3px off
screen (the ring journey's passage search on triage-board). The images now
hang from --lf-fp-panel too.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
# Conflicts:
#	skills/leaf/assets/runtime/chrome.css
#	skills/leaf/assets/styles/floating-panel.css
@max-sixty
max-sixty merged commit 793a9f8 into main Oct 20, 2026
2 of 3 checks passed
@max-sixty
max-sixty deleted the floating-panel branch October 20, 2026 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants