Repository navigation
Read printed disclosures and code copy focus rings correctly - #1546
Merged
Merged
Conversation
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 acode-copyfocus 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.