Repository navigation
Notes: Port canvas margin layout tests from #79864 - #83790
adamsilverstein wants to merge 1 commit into
Conversation
Port the layout checks from #79864 that this branch did not yet cover: notices keep the full canvas width, the divider sits flush with the reserved space, a thread stays inside the reserved space when the canvas has a scrollbar, notes stay beside the Settings sidebar, and small viewports drop the floating notes. Claude-Session: https://claude.ai/code/session_01Jx9yDR5xxMRczChFCjzBNu
|
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. |
🤖 PR meta 🤖📦 Bundle sizeSize Change: 0 B Total Size: 8.24 MB
🏁 Flaky testsShow the failuresSome tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information. should cut and paste individual blocks with collapsed selection in
|
|
Thanks, @adamsilverstein! I think the notice width check is worth keeping, but as an assertion in the existing "follows its block when an editor notice shifts the canvas" test, not as a new one. It already creates a notice, so there's no extra setup. The other four either duplicate existing coverage or can't fail:
What do you think? |
|
Sounds good! |
|
Extracted the notice width test. Going to close this. Thanks, Adam! |
Hey @Mamaduka, I like where #83786 landed, so I brought over the layout tests from #79864 that your branch doesn't cover yet. Feel free to cherry-pick whatever is useful, or merge this into your branch.
Claude ported the tests over and ran them, notes below:
AI Use
Claude Code ported these tests over, with me steering. I will review and test.