Skip to content

Read printed disclosures and code copy focus rings correctly - #1546

Merged
leaf-agent merged 2 commits into
mainfrom
fix/ci-36930156190-copy
Oct 2, 2026
Merged

leaf-agent merged 2 commits into
mainfrom
fix/ci-36930156190-copy

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The copy control added after a code block is hidden on paper, but the disclosure print check counted it as authored content and reported two closed <details> blocks as unreadable. Exclude generated children from that reading. The same feature introduced a code-copy focus ring without a sample in the ring census, so add the visible copy button on the shipped command hub page.

In run 36930156190, these were the print and ring-census failures. The print case fails before this change and passes after it. The local ring sweep reaches the new sample without a ring finding, then times out on an existing pane sample; an unchanged-main run in this environment times out at that same pane. PR CI will run the edited nightly case on Ubuntu.

Refs #1545. The separate authored-sibling failure remains open there; this PR keeps its render gate unchanged.

@leaf-agent
leaf-agent merged commit 7f2b714 into main Oct 2, 2026
3 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-36930156190-copy branch October 2, 2026 01:09
max-sixty added a commit that referenced this pull request Oct 25, 2026
The corpus's whole-page rules failed with "the page shows what its shut
disclosures hold" on the command hub's shut Stopped work disclosure,
whose content was hidden as it should be. #3908 marked the list the
atlas plan writes there as generated words (`generatedElement`), and
the disclosure reading skipped every `data-lf-gen` child, so it read no
children and `every` over none called them shown.

The reading skipped generated children so the runtime's apparatus,
such as a code block's Copy, which paper drops, wouldn't count as
content (#1546). That apparatus is `.lf-ui`; a widget's generated words
are the disclosure's content. The reading now skips `.lf-ui` instead,
so the hub's list counts, hidden on screen and printed on paper.

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.

1 participant