Skip to content

Stand a panel thread's view and an On me card at the ask they are about - #3273

Merged
max-sixty merged 7 commits into
mainfrom
fp-thread-stands-at-ask
Oct 20, 2026
Merged

max-sixty merged 7 commits into
mainfrom
fp-thread-stands-at-ask

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

A thread's view in the floating panel (the view, its head and its reply) now stands at what the thread is about, open or resolved, and an On me card stands at the obligation it shows (standing-target.js, declareSide), as the side panel's thread cards and On rows did before the classic chrome went (#3100). So an ask lights with its ring while any thread about it is open in the panel, and 1, 2 and 3 answer it from the view or the card. Before, the panel declared no side: an open thread lit the ask only through its anchor mark, which a resolved thread draws none of, and digits from either view did nothing. Digits typed into the reply are still words, since native input claims precede the obligation's context scope.

Opening a thread that takes no reply, as a resolved one, now puts focus on its view. It tried the reply box the field hides there, so focus fell to the body and the user stood nowhere.

standing-target.js asks a side that holds others' presentations last (holdsOthers), so a margin control on a widget in a reply still stands where the margin says (nowhere) rather than at the thread's subject.

Behavior a test changed for: in test_an_obligation_in_a_reply_is_where_the_user_stands_once_answered, m from that control walks from the caret left in the thread's reply, which now stands at the page ask, so it steps on to the question in the reply instead of starting from the reading block. The test now also asserts directly that the control stands nowhere.

Picked as gain-asks on the floating-panel review page.

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

A thread's view in the floating panel (the view, its head and its reply) now
stands at what the thread is about, open or resolved, and an On me card stands
at the obligation it shows (standing-target.js, `declareSide`), as the side
panel's thread cards and On rows did before the classic chrome went (#3100).
So an ask lights with its ring while any thread about it is open in the panel,
and 1, 2 and 3 answer it from the view or the card. Before, the panel declared
no side: an open thread lit the ask only through its anchor mark, which a
resolved thread draws none of, and digits from either view did nothing.
Digits typed into the reply are still words, since native input claims precede
the obligation's context scope.

Opening a thread that takes no reply, as a resolved one, now puts focus on its
view. It tried the reply box the field hides there, so focus fell to the body
and the user stood nowhere.

standing-target.js asks a side that holds others' presentations last
(`holdsOthers`), so a margin control on a widget in a reply still stands where
the margin says (nowhere) rather than at the thread's subject.

Behavior a test changed for: in
test_an_obligation_in_a_reply_is_where_the_user_stands_once_answered, `m` from
that control walks from the caret left in the thread's reply, which now stands
at the page ask, so it steps on to the question in the reply instead of
starting from the reading block. The test now also asserts directly that the
control stands nowhere.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
leaf-agent previously approved these changes Oct 20, 2026
# Conflicts:
#	skills/leaf/kernel/kernel.json
leaf-agent
leaf-agent previously approved these changes Oct 20, 2026
max-sixty and others added 2 commits October 20, 2026 00:03
…n the thread's view

placeOf no longer depends on the order sides were declared. A side's answer
drawn in the chrome that no obligation holds, such as the lf-shot in a reply a
margin control is for, now stands where that answer itself stands, read the
same way (a visited set ends any cycle), rather than nowhere. So a margin
control on a widget in a panel thread's reply stands at what the thread is
about: the ask wears its ring and its digits answer it, where before the
control stood nowhere while `m` walked from the caret left in the reply. The
same reading covers a reply widget's control inside the margin's preview card.
`holdsOthers` and the inner and outer side sets, which only ordered the panel's
side last, are deleted.

A finger opening a thread now stands in its view: focusView returned early on
a coarse pointer, so the ask a touch user opened a thread about stayed dark.
The view is a tabindex=-1 box, which raises no on-screen keyboard; the reply
still waits for a tap.

The ask lights while you're in the thread's view or its On me card, since the
ring follows focus. Tabbing out to the row's leaf leaves it dark, by design.
A reply never hides under the caret: a resolved thread keeps the reply while
its editing session stands (replyAvailable), so nothing moves focus there.

Readers that now see the ask from the panel, kept as they are: keyboard
arrival unfolds the ask's folded margin cluster (margin-projection.js), Back
after the view closes focuses the ask (history.js, returnPlace), and `c` from
an On me card continues the ask's thread. In a thread's view only `m` steps
from the ask, where the thread is not a stop of its own; `t`, `c` and `e`
change only from On me cards.

Tests: test_an_obligation_in_a_reply_is_where_the_user_stands_once_answered now
asserts the reply widget's control stands at #cache-ask and rings it (it
asserted the control stood nowhere); the new
test_a_finger_opening_a_thread_about_an_ask_stands_in_its_view covers touch.
Each fails without its fix.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty and others added 2 commits October 20, 2026 00:18
An answered obligation counts focus in the chrome as a review route when that
chrome stands at it. The check read `sideOf`, the first side's raw answer, so
with focus on a margin control for a widget in a panel thread's reply, the
answered ask its thread is about lost its ring, though `placeOf` stands the
control there and its digit still re-answers it. The check now reads
`placeOf`, the one reading of where the user stands, and `sideOf`, which had no
other use, is deleted.

test_an_obligation_in_a_reply_is_where_the_user_stands_once_answered now
answers the page ask with its digit from that control and asserts the ring
stays; it fails with the `sideOf` check.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
# Conflicts:
#	skills/leaf/kernel/kernel.json
leaf-agent
leaf-agent previously approved these changes Oct 20, 2026
# Conflicts:
#	skills/leaf/kernel/kernel.json
@max-sixty
max-sixty merged commit d815bab into main Oct 20, 2026
2 checks passed
@max-sixty
max-sixty deleted the fp-thread-stands-at-ask branch October 20, 2026 07:44
max-sixty added a commit that referenced this pull request Oct 20, 2026
…the page too (#3318)

Since #3273 a thread's view in the floating panel, its head and its
reply stand at what the thread is about, and an On card at its
obligation, so the ask wears its ring and takes its digits from the
panel. The margin's card follows the same reading: a keyboard arrival at
a page target opens its thread's card (`followStanding`), and a folded
pin there unfolds (`unfoldStanding`). Both read focus moving into the
panel by a key as an arrival at the target. Opening a thread from
Threads with Enter, or pressing Escape from its reply, opened the same
thread's card beside its passage too, and the card stayed after the
panel closed. On log-retention at 1400x900 the card stood at the
window's right edge while the panel showed the same thread, in Chromium
and Firefox; a pointer opening showed the panel alone. Bisected to
#3273.

Standing and arriving are now two readings in `standing-target.js`. A
side can declare that it shows its target `beside` the page, as the
floating panel now does. `placeOf` still counts such a side, so the
ring, digits and walks are unchanged. `arrivalOf` leaves it out, and the
margin's card and pin unfolding read it. Before #3100 the margin skipped
the old side panel for the same reason, with a check naming the panel;
the declaration replaces that. The margin header's sentence about the
old side panel's Threads list supplying the accompaniment goes, since
that list is gone.

Behavior change: standing in the floating panel no longer opens, unfolds
or closes anything in the margin. Two effects #3273 introduced this
morning go with it: a pointer into a panel thread about a different
thread closed an open card, and a key into an On card opened its
obligation's card.

A new test,
`test_a_thread_opened_in_the_panel_by_the_keyboard_opens_no_card_beside_it`,
opens a thread about an ask from Threads by Enter and expects no card
while the view stands open after Escape, nor after the panel closes. It
fails without the `beside` declaration. The standing, On panel,
obligation walk, pins, scroller and thread-card selections and `pnpm run
test:runtime` pass.

Found by the overnight UI sweep. An independent review suggested moving
the distinction into `standing-target.js` rather than checking for the
panel in the margin.

> _This was written by Claude Code on behalf of max-sixty_

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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