Repository navigation
Keep recovered draft controls and update interaction readings - #369
Conversation
…tion and composer readings as the icon actions now draw them The nightly leg on ac3342a went red on ten readings; #366 and #367 hold four of them. These are the other six. The product half: a draft that recovers an unsent edit opened its editor before the deferred reserve measurement of its control row had run, and that measurement then stated read mode over the open editor, taking Save with it. The row now states itself from the editor rather than from the gesture that changed it. The test half: #347 moved Send inside its field and withdrew the page-level x resolution, and the composer's spent submit now wears its own muted face at full opacity. Four readings were written against the shapes those replaced.
|
Since #340, a pull request runs the nightly cases in the modules it touches, and |
leaf-agent
left a comment
There was a problem hiding this comment.
The lf-draft repair holds up: #paintRow reads this.#ta rather than the gesture, so the reserve take can no longer arrive with a stale idea of the mode, and every caller re-runs #paintButtons afterwards so the failure receipt still lands in the row. The spent-face reading is a real strengthening — lifting the disabled fact off and putting it straight back compares against what the control itself would wear, and face covers the ::before ground and border that .lf-compose-submit's disabled rule actually moves while it holds opacity: 1.
One comment states something the runtime no longer does — inline below.
The red test check is not this branch's: the one failure is test_the_render_gate_applies_every_standing_action_a_second_time on the missing ('lf-playground', 'choose') verb, which is #366's — it edits tests/render_cases_interaction.py, where that corpus page is authored. 362 passed beside it, matching the PR body's own run. This PR cannot go green until #366 lands.
|
The nightly leg on The ten readings, and which branch holds eachEvery failure matches a shape one of the three bodies already names, down to the printed text: the ring fault prints the same two
The three timeouts read as their accounts state them:
|
Fixes a recovered draft losing its Save and Cancel controls when the delayed width-reservation measurement repainted the row. A single
#paintRownow derives the row from the editor’s current state, so connection, opening, closing, and measurement cannot disagree about which controls belong there.Updates five browser readings for the current icon-action design: Resolve uses its control’s PRESS route and exact accessible name, passage selection aims at rendered words instead of the center of a wide box, and disabled controls are compared with their own live face instead of assuming every widget uses reduced opacity.
Verified after merging the playground corpus declarations from #366. The five directly repaired browser cases and pre-commit pass; CI runs all four touched nightly modules.