Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
32f21e7
WIP for switching patterns to tab navigation
jeryj Mar 27, 2024
d9d8fd3
remove unused code
jeryj Mar 27, 2024
7b4fbf1
Let tabs component handle focus
jeryj Mar 28, 2024
4e83e4b
Pattern tab styles
jeryj Mar 28, 2024
12f9f24
Fix overflow scrolling on tablist
jeryj Mar 28, 2024
7acdeb9
Select first tab on patterns open
jeryj Mar 28, 2024
e8f8d9c
Add placeholder to offset zoom-out mode space for tabpanel
jeryj Mar 28, 2024
95951d2
Fix overflow on zoom out mode pattern inserter
jeryj Mar 28, 2024
96ebe8a
Refactor making space for side panel by using :after
jeryj Mar 29, 2024
74cd192
Fix performance test
jeryj Mar 29, 2024
1ec4685
Fix useZoomOut mode hook to only run when showing and hiding the patt…
jeryj Apr 2, 2024
494e72d
More tweaks to zoom out mode hook to simplify
jeryj Apr 2, 2024
a405a75
Use tabs in controlled mode so there is no initial category set
jeryj Apr 3, 2024
c2d2ecb
Allow tab to be active but not selected
jeryj Apr 8, 2024
00c5c20
Use selectedOnMount prop
jeryj Apr 8, 2024
1a44230
Revert "Allow tab to be active but not selected"
jeryj Apr 11, 2024
b7c495e
Revert "Use selectedOnMount prop"
jeryj Apr 11, 2024
91fffab
Remove artifacts from local e2e performance test
jeryj Apr 16, 2024
c15acb2
update tests to use the new tab role instead of button role
jeryj Apr 16, 2024
9918882
Temporary workaround for performance test
jeryj Apr 16, 2024
18d6355
Move some code back to its original location to make the review easier
jeryj Apr 18, 2024
2119306
Add missing __unstableSetEditorMode to useZoomOut useEffect dependency
jeryj Apr 18, 2024
bf2f485
Update packages/block-editor/src/hooks/use-zoom-out.js
jeryj Apr 18, 2024
a873e04
Fix use-zoom-out hooks dependencies
jeryj Apr 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add missing __unstableSetEditorMode to useZoomOut useEffect dependency
Co-authored-by: Dave Smith <getdavemail@gmail.com>
  • Loading branch information
jeryj and getdave authored Apr 18, 2024
commit 2119306b853cc575c4db81a285a1f20c6ed10e01
2 changes: 1 addition & 1 deletion packages/block-editor/src/hooks/use-zoom-out.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ export function useZoomOut( zoomOut = true ) {
} else if ( ! zoomOut && originalEditingMode.current !== mode ) {
__unstableSetEditorMode( originalEditingMode.current );
}
}, [ zoomOut, mode ] );
}, [ __unstableSetEditorMode, zoomOut, mode ] );
}