Notes: Separate intent from mechanics in openTheSidebar#78039
Conversation
|
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. |
|
Size Change: +29 B (0%) Total Size: 7.95 MB 📦 View Changed
ℹ️ View Unchanged
|
|
Flaky tests detected in 6d24182. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/25454367490
|
|
Going to merge this refactoring. All checks are passing, and I couldn't spot any regressions during manual testing. |
What?
Got the idea for simplification while reviewing #75147.
PR splits
openTheSidebarintofocusNote(mechanic) +openNoteForBlock(intent). This makes it easier to add new intent callbacks without increasing code complexity.Example
Testing Instructions
Testing Instructions for Keyboard
Same.
Use of AI Tools
Claude for review.