-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates the behavior of the top toolbar fixed setting (#49634)
* move fixed toolbar on desktop on top of interface header * add the parent selector to the fixed toolbar on desktop * fix for parent selector position * hide block toolbar when focus is within interface header * adds collapsed and expanded states to block toolbar, manages focus * label the toggle buttons * fix the focus loss when toggling top toolbar on * fixes positioning glitches in windowed post editor, fixes focus within in site editor * fix rounded border on collapse/expand buttons * adjusts padding for parent selector and collapse buttons * use preference store to look for top toolbar pref in site editor * replace button with toolbarbutton to avoid the need to reuse component private classes * remove component-* class referencing * respect design on separator size * adds breakpoint covering behavior * fix buton labels pref toolbar height, fix capitalisation * always expand on block selection change * updates the labels * fixes a separator height and show icon labels positioning for non full screen * fix reference error * Update e2e test for alt+f10 shortcut to match desired behavior in unified toolbar * Update test names to more accurately match what it's testing * Corrected typo: prefferences -> preferences * move the toolbar over on large viewports * fix positioning for all wp admin sidebar full screen not full screen mobile desktop situations * tweak the position of the top toolbar for when icon labels are on * change the condition under which we display the block parent selector so that the tests pass --------- Co-authored-by: Jerry Jones <jones.jeremydavid@gmail.com> Co-authored-by: scruffian <ben@scruffian.com>
- Loading branch information
1 parent
70efd45
commit fb92cc8
Showing
10 changed files
with
456 additions
and
65 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
fb92cc8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flaky tests detected in fb92cc8.
Some 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.
🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4743124322
📝 Reported issues:
specs/editor/various/autosave.test.js