Skip to content

Decide the resting comment box's cursor and whether it may cover margin entries #5663

Closed

Description

@leaf-agent

@max-sixty, two tests that #5641 tracks are still red because #5428's resting comment box conflicts with a rule a test protects. In both cases the next step is your call about the box, not a code fix.

1. The resting box's cursor. test_a_control_a_widget_built_is_told_from_a_label_it_wrote holds that every live press ([data-lf-offer] with a value) shows the hand. .lf-fab-rest is a press: offerAction("response", "lf-fab-rest") in composing/selection.js, which opens the field. But #5428 gave it the field's cursor: text in annotation-chrome.css, so the box looks like the field it opens into. The test reads every press on the page, hidden ones included, so it fails even when the box isn't showing. The options:

  • Let the rest box keep the field's text cursor, and have the test's rule exempt a press that stands in for a field.
  • Give it the hand like every other press.

It passes at b0aaf9038^. At b0aaf9038 it fails with or without the box being placed (restFab removed from repaint.js), so the CSS is the cause.

2. The box over the rail's rows. test_margin_entry_tone_stays_distinct_from_control_and_agent_state has two causes:

  • Show the agent's working line from a fork at once, and read On it from the fork's start #5552. progressFace now reads at_work instead of stage, and the test's fixture receipt has no at_work. Adding at_work: stage === 'working' to the fixture (tests/browser/margin/test_status.py, workflowReceipt) clears that half.
  • The resting box. With the fixture fixed, the test then times out hovering the second margin entry. The resting box stands in the rail's margin beside the first paragraph, and it intercepts the pointer over the next entry. floating-response.js says the box stands in the rail's margin "whatever rows stand there already", and Show where c goes before the press, and stop it following focus out of sight #5428 accepted "a box over words in a narrow margin". So this may be intended, and the test would then need to move the box out of the way first. The other reading is that the box shouldn't cover a margin entry the user can press (browser/AGENTS.md, "Controls stay where the user aims"), and it would wait for c there as it does elsewhere.

Either way, the fixture fix can land alongside whichever answer you choose for the box. #5662 already keeps the box off the column itself, which settles the other resting-box failures in #5641.

Refs #5641

Activity

  1. added
    waits-on-user
    on Nov 7, 2026
  2. self-assigned this
    on Nov 11, 2026
  3. removed
    waits-on-user
    on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions