Collapsible.Card: make contents hidden until found#76498
Conversation
|
Size Change: 0 B Total Size: 8.75 MB ℹ️ View Unchanged
|
1c636e7 to
9d0206a
Compare
ee93eba to
ab95cf8
Compare
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
099b0ae to
0de2140
Compare
5e71911 to
6e8ee21
Compare
|
Flaky tests detected in bd3fdea. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/23207816845
|
6e8ee21 to
bd3fdea
Compare
What?
Makes the
CollapsibleCard.Contenthidden until foundWhy?
For better content discovery
How?
By adding the
hiddenUntilFoundprop on the underlingCollapsible.Panelcomponent, and updating unit tests to reflect the new behaviour (card content is added to the DOM, even if visually hidden)Testing Instructions
CollapsibleCardContentof the card, while the card is collapsed, arehiddenUse of AI Tools
Cursor + Claude Opus 4.6