Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting a defaultBlock attribute on the navigation block #51026

Closed
wants to merge 505 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
505 commits
Select commit Hold shift + click to select a range
6557ac7
Add focus mode for Navigation Menus (#39286)
getdave Jun 16, 2023
9f4ea09
Code Data: Fix ESLint warning for the 'useEntityRecord' hook (#51562)
Mamaduka Jun 16, 2023
dba2afe
Update: Adjust modal radius to be between frame and buttons. (#51254)
jasmussen Jun 16, 2023
d001b55
Remove the hydration console log of the Interactivity API (#51571)
luisherranz Jun 16, 2023
eee7e92
Mobile - Image block - Fix issue with set width and height images (#5…
Jun 16, 2023
d5600cc
Fix flaky 'Switch to Draft' action in preview e2e tests (#51564)
Mamaduka Jun 16, 2023
8ebd38b
[RNMobile] Ensure text input field is not editable when Bottom sheet …
fluiddot Jun 16, 2023
c2b514a
Fix flaky Image block interactivity e2e test (#51573)
Mamaduka Jun 16, 2023
db6ffb2
Browse Mode: Move CSS to more generic selector (#51547)
scruffian Jun 16, 2023
71a7ea2
Move Navigation fallback files to 6.3 directory (#51572)
getdave Jun 16, 2023
2dbe476
Tweak more icons for HiDPI devices (#51511)
richtabor Jun 16, 2023
3fa6e89
Babel config: enable useSpread option for JSX transform to reduce tra…
jsnajdr Jun 16, 2023
ce0072d
Fix fixed toolbar in customize widgets (#51092)
draganescu Jun 16, 2023
2c444d6
Fix navigation error in library (#51589)
scruffian Jun 16, 2023
145902a
Migrate Navigable toolbar test to Playwright (#51514)
pooja-muchandikar Jun 16, 2023
e83ff1e
Set fixedToolbar to false after each top toolbar test to ensure prope…
jeryj Jun 16, 2023
b4ecf1f
Mobile Release v1.97.1 (#51577)
fluiddot Jun 16, 2023
4a56811
Fix flaky 'Keep styles on block transforms' e2e test (#51593)
Mamaduka Jun 17, 2023
40d8d83
Fix the flaky site editor list view tests (#51598)
Mamaduka Jun 17, 2023
ca4eef3
Fix flaky 'hooks API' e2e test (#51592)
Mamaduka Jun 17, 2023
6e3762e
Add init modules to details and post-time-to-read blocks (#51606)
jsnajdr Jun 17, 2023
73e545b
Button: Remove unnecessary margin from dashicon (#51395)
t-hamano Jun 17, 2023
82d0ce8
Site editor navigation: Use chevron left in RTL mode (#51588)
Jun 17, 2023
c9588f5
Update wp-env changelog (#51614)
noahtallen Jun 17, 2023
1c2a950
Update changelog files
gutenbergplugin Jun 17, 2023
d070f22
chore(release): publish
gutenbergplugin Jun 17, 2023
805071e
List View: add an indicator of when a position type is set for a bloc…
andrewserong Jun 19, 2023
6e8a5d0
Reduce number of List View re-renders while typing (#51518)
noisysocks Jun 19, 2023
b96f893
Improve guidance to editing template when focused on editing a page (…
noisysocks Jun 19, 2023
61703be
remove `accordion` from details block keywords (#51597)
aurooba Jun 19, 2023
5781df9
Docs: Fix incorrect import of useEntityRecords in code example (#51630)
t-hamano Jun 19, 2023
88f15c7
Search Block: Change Button Only label to sentence case (#51629)
t-hamano Jun 19, 2023
25369ae
Update the 'Iframe block' test and fix flakiness (#51631)
Mamaduka Jun 19, 2023
059d5ec
Inserter: Fix arrows in RTL mode (#51622)
Jun 19, 2023
a457b47
Fix flaky 'Push to Global Styles' e2e test (#51636)
Mamaduka Jun 19, 2023
65cedc0
Combine Site Editor list view tests into a single file (#51635)
Mamaduka Jun 19, 2023
7f074b1
Details: Set 'clientId' as useSelect dependency (#51634)
Mamaduka Jun 19, 2023
208fd07
Style Book: Close list view when opening the style book. (#50438)
juanfra Jun 19, 2023
eec5469
Site Tagline Block: Remove unnecessary square path from block icon SV…
t-hamano Jun 19, 2023
551fb09
Accept transforms in `gutenberg_get_global_styles` (#50484)
samnajian Jun 19, 2023
0785dfe
[RNMobile] Ensure dictating text doesn't cause cursor to be offset on…
Jun 19, 2023
15a331f
Prevent BlockBreadcrumb from re-rendering unnecessarily when typing (…
noisysocks Jun 19, 2023
0264d87
HTML-API: Backport updates from Core
dmsnell Jun 12, 2023
70db5fe
Fix template display in page details with a custom template (#51638)
ntsekouras Jun 19, 2023
30ae518
[Query Loop]: Properly initialize and update `perPage` when we inheri…
ntsekouras Jun 19, 2023
bc2ed19
Improve logic in `render_block_core_template_part`. (#50636)
spacedmonkey Jun 19, 2023
c951541
[Mobile] - Fix crash when switching to the HTML Editor (#51650)
Jun 19, 2023
130d1c0
Update Library panel footer (#51652)
jameskoster Jun 19, 2023
e0f97b8
Performance tests: Make theme versions consistent cross-env (#50905)
WunderBart Jun 19, 2023
a6615b4
Fix refactor flat term selector to use data api for creating new term…
fabiankaegy Jun 19, 2023
a1cfdbb
Page Details View: Show featured image only if there is one (#51649)
juanfra Jun 19, 2023
404ab5a
Distraction Free: Avoid focus loss when enabling/disabling distractio…
talldan Jun 20, 2023
ea76498
Adding missing changelog from #51516 (#51668)
ramonjd Jun 20, 2023
632763c
Site editor sidebar: home template details (#51223)
ramonjd Jun 20, 2023
f5c205d
Site editor sidebar: add footer to template part and ensure nested te…
ramonjd Jun 20, 2023
a9fcef3
Playwright Utils: Change preference update method in setIsFixedToolba…
Mamaduka Jun 20, 2023
d53a625
Reusable blocks: Rename to 'Patterns' and add option to also add a no…
glendaviesnz Jun 20, 2023
b33b0c3
Try/publish in site editor (#51408)
SaxonF Jun 20, 2023
ab9bbc3
Fix grammar in the Create a Block > WordPress Plugin page (#51663)
Sidsector9 Jun 20, 2023
8803246
Fix grammar on the Create a Block tutorial page (#51662)
Sidsector9 Jun 20, 2023
cf8d6fe
Fix grammar on the Getting Started page (#51661)
Sidsector9 Jun 20, 2023
aad4dd5
Global styles: split styles menus in revisions and everything else (#…
ramonjd Jun 20, 2023
610eeef
Block Editor: Remove redundant callback memoization from 'ImageURLInp…
Mamaduka Jun 20, 2023
3111bd9
Move behaviors code to experimental (#51654)
cbravobernal Jun 20, 2023
c1fde6a
Require files for back-compat in WordPress releases. (#51670)
peterwilsoncc Jun 20, 2023
5948168
Block Editor: Fix block autocompleter 'rootClientId' selector (#51673)
Mamaduka Jun 20, 2023
49105c9
useInsertionPoint: Add missing dependency for useCallback (#51682)
Mamaduka Jun 20, 2023
e3a0931
Performance Tests: Update the base branch to compare against (#51689)
youknowriad Jun 20, 2023
82ff0e0
Migrate 'Allowed Blocks Setting on InnerBlocks' tests to Playwright (…
Mamaduka Jun 20, 2023
225799e
Remove taxonomy (#51586)
jameskoster Jun 20, 2023
ea59ca6
Link Format: Don't return focus on the selected text 'onFocusOutside'…
Mamaduka Jun 20, 2023
40e6e02
Remove custom button and (conditionally) show single menu on Navigati…
getdave Jun 20, 2023
83a5d63
Move HeadinglevelDropdown to its own component (#46003)
carolinan Jun 20, 2023
288dadb
Navigation: Remove destructive colors from the delete modal (#51691)
scruffian Jun 20, 2023
30ddf74
Move the go to action to the leaf more menu (#50843)
scruffian Jun 20, 2023
b2c5e8a
Page details: Fix displaying slugs with non-latin characters (#51679)
carolinan Jun 20, 2023
66a99c8
ItemGroup: Update button focus styles to be more consistent (#51576)
mikachan Jun 20, 2023
56b0a02
hide the helper navigation block and its wrapping editor (#50662)
draganescu Jun 20, 2023
6d14d09
Pass the block to the go to page function (#51699)
scruffian Jun 20, 2023
12967c8
useInBetweenInserter: Remove unused selectors (#51674)
Mamaduka Jun 20, 2023
62296be
Lodash: Remove from lint staged typecheck (#51698)
tyxla Jun 20, 2023
96ed5eb
Toolbar: Use Ariakit instead of Reakit (#51623)
diegohaz Jun 20, 2023
b3a6122
Lodash: Refactor away from `_.kebabCase()` in block editor (#51687)
tyxla Jun 20, 2023
4880327
Lodash: Remove from blocks package (#51703)
tyxla Jun 20, 2023
b3f44cd
Page Details View: Show parent only if there is one (#51648)
juanfra Jun 20, 2023
c9021a5
Use interactivity API for Navigation and File blocks only in Gutenber…
SantosGuillamot Jun 20, 2023
b92b506
test: Re-enable native integration tests (#51706)
dcalhoun Jun 20, 2023
697a217
Update components README.md (#51557)
bangank36 Jun 20, 2023
c5cda55
Removes the pattern experiment as not likely to be used as patterns n…
glendaviesnz Jun 21, 2023
09861f4
Writing Flow: Try allowing Escape key to deselect blocks and selectio…
andrewserong Jun 21, 2023
819ad07
Improve getBlockEditingMode() and useAppender() performance (#51675)
noisysocks Jun 21, 2023
760a866
Patterns: Allow for filtering of block patterns by source (#51672)
aaronrobertshaw Jun 21, 2023
9f0536d
Unify welcome guides labels. (#51700)
afercia Jun 21, 2023
b39831f
Site Editor: Add Library for Template Parts & Patterns Management (#5…
aaronrobertshaw Jun 21, 2023
efcf08d
List draft navigations in Browse mode Navigation section (#51422)
scruffian Jun 21, 2023
df58591
Image block: Remove Lightbox markup if is set as disabled. (#51692)
cbravobernal Jun 21, 2023
7da4e62
Fix the heading hierarchy in the site editor (#51696)
youknowriad Jun 21, 2023
73261fb
Fix back button tooltip (#51725)
jasmussen Jun 21, 2023
f18fe09
Edit Site: Remove first loading spinner (#51736)
tyxla Jun 21, 2023
39cf90d
Edit Site: Use global background color while loading (#51709)
tyxla Jun 21, 2023
c41d4c6
`UnitControl`: Revamp support for changing unit by typing (#39303)
stokesman Jun 21, 2023
4c822fb
Edit Site: Make admin background consistent with layout (#51741)
tyxla Jun 21, 2023
02168ad
Update minimum modal width (#51733)
getdave Jun 21, 2023
c78498b
Block Theme Previews: rename GET variable and prepare for core compat…
MaggieCabrera Jun 21, 2023
081e092
Mobile unit tests: remove custom waitFor implementation (#46735)
jsnajdr Jun 21, 2023
1e3d3aa
Add global styles related commands (#51637)
youknowriad Jun 21, 2023
ffa95cd
Top toolbar: Refine the icons on the right (#51735)
juanfra Jun 21, 2023
ed65986
Gallery block - Add default value for innerBlockImages (#51443)
Jun 22, 2023
e4a093d
removed isTopLevelLink from tests (#51759)
MaggieCabrera Jun 22, 2023
c0acec4
Block Options: Use consistent capitalization on template parts and pa…
richtabor Jun 22, 2023
e54634d
Navigation: Don't interfere with pointer events (#51378)
scruffian Jun 22, 2023
14c6c03
Keyboard Shortcut: Clean up shortcut names (#51739)
t-hamano Jun 22, 2023
7e7ea16
Fix shift+tab behavior to move to toolbar when the preceding block ha…
jeryj Jun 22, 2023
75b0945
Show warning on critical block removal (#51145)
tellthemachines Jun 22, 2023
b4b96ba
E2E tests: Try fixing 'networkidle' timeout errors (#51826)
noisysocks Jun 23, 2023
916a6b6
Update end to end test sharding on CI, make Playwright tests faster, …
talldan Jun 23, 2023
b111142
ListView: Try showing blocks that are dragged (no longer hide them) (…
andrewserong Jun 23, 2023
4096eae
Prepublish: suggest uploading external images (#46014)
ellatrix Jun 23, 2023
9a7c115
Library: Add an explicit label to the search control (#51781)
talldan Jun 23, 2023
3bf16e2
Page Content Focus: Default insertion point to the Post Content block…
noisysocks Jun 23, 2023
cd22276
Library: Reinstate sidebar navigation menu editing for template parts…
aaronrobertshaw Jun 23, 2023
feb46c3
Autocomplete: Announce results to screen readers when first becoming …
alexstine Jun 23, 2023
e7864e5
Prevent block overlay on blocks with a 'contentOnly' editing mode (#5…
noisysocks Jun 23, 2023
1e8e111
Footnotes: try with post meta (#51201)
ellatrix Jun 23, 2023
42cfe29
Site editor: Add a navigable region for content area of Library and T…
talldan Jun 23, 2023
233bae7
Bump plugin version to 16.1.0-rc.1
gutenbergplugin Jun 23, 2023
0ff6321
`ConfirmDialog`: Fix affirmative action being triggered an extra time…
talldan Jun 23, 2023
cf569c3
Site Editor: Make string to add Template parts & Patterns consistent …
t-hamano Jun 23, 2023
d7d5b63
Fix delete shortcut incorrectly bound to non-user patterns (#51830)
talldan Jun 23, 2023
47150c7
Fix flaky tests in `navigation.spec.js` and other tests related to th…
DAreRodz Jun 23, 2023
7e3f852
Site Editor Sidebar: improvements to buttons (#51762)
ciampo Jun 23, 2023
accdc3d
Update page delete button label (#51812)
jameskoster Jun 23, 2023
3f43588
Add new `registerInserterMediaCategory` API to make media categories …
ntsekouras Jun 23, 2023
585bfbd
ItemGroup: Update button focus styles to use `:focus-visible` (#51787)
mikachan Jun 23, 2023
4038e96
Lodash: Remove completely from `@wordpress/style-engine` package (#51…
tyxla Jun 23, 2023
d33125a
Perf logging: change date to ISO 8601 (#51833)
ellatrix Jun 23, 2023
54e8671
Backport from core: rename get_remote_theme_patterns (#51784)
oandregal Jun 23, 2023
04ddcbb
Ensure there is always a Navigation available in the browse mode side…
getdave Jun 23, 2023
8a8d484
Revise LinkControl suggestions UI to use MenuItem (#50978)
richtabor Jun 23, 2023
3024daa
Fix Rename in Navigation on Browse Mode (#51791)
getdave Jun 23, 2023
53305e2
Fix ability to click through to Template Parts in Library (#51838)
getdave Jun 23, 2023
8d6a64f
Add image block aspect ratio control (#51545)
ajlende Jun 23, 2023
7f33f05
[Site Editor]: Fix `library` command path (#51837)
ntsekouras Jun 23, 2023
0d7c080
Mobile Release v1.98.0 (#51811)
dcalhoun Jun 23, 2023
359b484
get the top toolbar preference from the correct scope (#51840)
draganescu Jun 23, 2023
d01dd60
Update the add template modal design (#51806)
jameskoster Jun 23, 2023
63ebb0c
Fix toolbar overlap in site editor (#51810)
draganescu Jun 23, 2023
6b923a3
Force full height Editor for Navigation focus mode (#51798)
getdave Jun 23, 2023
2183b1a
Add distraction free to site editor (#51173)
draganescu Jun 23, 2023
b8471a0
Color (#51847)
jameskoster Jun 23, 2023
16a6220
Update active item appearance in Library (#51848)
jameskoster Jun 23, 2023
11acc81
Fix more icons for high resolution devices (#51768)
richtabor Jun 23, 2023
d196edb
Buttons Block: Fix for orientation-based block movers (#51831)
t-hamano Jun 23, 2023
25d82e6
Hide block toolbar using CSS when it is empty (#51779)
noisysocks Jun 23, 2023
c811e99
Restore button test (#51865)
ajlende Jun 23, 2023
6e9ec9e
Button: Introduce `size` prop (#51842)
mirka Jun 23, 2023
3d33ec0
Block Image: Lightbox - Hide animation selector if behavior is Defaul…
cbravobernal Jun 24, 2023
1ab51fd
Fix css styles in block.jsons. (#51866)
spacedmonkey Jun 24, 2023
306cab0
Site Editor: Disable the revision button if there is no clickable men…
t-hamano Jun 25, 2023
23a96be
This feature won't make it to 6.3 without a Core change (#51774)
ramonjd Jun 25, 2023
62dc759
Command center: Add another batch of commands to the site editor (#51…
youknowriad Jun 25, 2023
aac318d
Add view patterns plural label. (#51850)
afercia Jun 25, 2023
2a20249
Library: Fix misalignment of description in custom template parts (#5…
t-hamano Jun 26, 2023
632f2c4
Update Changelog for 16.1.0-rc.1
gutenbergplugin Jun 26, 2023
e8036c0
Page Content Focus: Switch to Page panel when deselecting a block (#5…
noisysocks Jun 26, 2023
dd23066
Fix flakiness of saving entities in the site editor (#51728)
kevin940726 Jun 26, 2023
bcf2ed3
Add `manage all custom patterns` command (#51845)
ntsekouras Jun 26, 2023
d730a92
Sidebar Navigation: Refactoring the delete modal with ConfirmDialog (…
t-hamano Jun 26, 2023
6f2d8ee
Add top margin to page details (#51858)
jameskoster Jun 26, 2023
8f5fd18
Use block label and icon for the inserter draggable chip. (#51048)
juanfra Jun 26, 2023
b93b1bf
Only show Page Content Focus commands when in edit mode (#51888)
noisysocks Jun 26, 2023
ffa5b96
Edit Site: Make loading spinner colors consistent (#51857)
tyxla Jun 26, 2023
777d73f
ZStack: fix component bounding box to match children (#51836)
ciampo Jun 26, 2023
ae4dd16
Update colors (#51856)
jameskoster Jun 26, 2023
7a04f44
Image block: Lightbox animation improvements (#51721)
artemiomorales Jun 26, 2023
32d3fbb
Lodash: Refactor away from _.kebabCase() in getCleanTemplatePartSlug …
tyxla Jun 26, 2023
e9a71c3
Add UI commands to the post editor (#51900)
youknowriad Jun 26, 2023
b090491
Fix missing MenuGroup in header more menu (#51860)
richtabor Jun 26, 2023
156b452
Refactor use-tab-nav shift+tab to use existing utils (#51817)
jeryj Jun 26, 2023
7468dce
Improve LinkControl Edit UI (#51712)
richtabor Jun 26, 2023
5f2bbb1
BlockLockModal: restore focus on fallback toolbar button when origina…
ciampo Jun 26, 2023
7dd4c63
Don't show 'Back to page' notification when navigating away from page…
noisysocks Jun 27, 2023
1993d51
useBlockSync(): Reset inner blocks when component unmounts (#51783)
noisysocks Jun 27, 2023
d19e24e
Keep framer-motion from updating minor version (#51894)
tellthemachines Jun 27, 2023
63d2674
Bump plugin version to 16.1.0-rc.2
gutenbergplugin Jun 27, 2023
4c5157a
Fix phpunit failures (#51950)
noisysocks Jun 27, 2023
0ff1f3f
Update Changelog for 16.1.0-rc.2
gutenbergplugin Jun 27, 2023
4409649
Modal: Add small top padding to the content so that avoid cutting off…
t-hamano Jun 27, 2023
580e3e1
Rest API: rename navigation fallback classes from WP_ to Gutenberg_ (…
ramonjd Jun 27, 2023
d2c2460
Update text color (#51965)
jameskoster Jun 27, 2023
55b2325
Restore sidebar in focus mode on Pattern click through in Browse Mode…
getdave Jun 27, 2023
5952c1f
Perf: Rely on a single store listener only
dmsnell Jun 16, 2023
faede20
Lodash: Refactor embed block away from `_.kebabCase()` (#51916)
tyxla Jun 27, 2023
2134899
Updating the BlockEditorProvider settings prop should reset the store…
youknowriad Jun 27, 2023
799f353
RangeControl: Add support for large 40px number input size (#49105)
richtabor Jun 27, 2023
c1f25f8
Remove fill="none" from pinSmall icon (#51979)
miminari Jun 27, 2023
d381657
Update stepper styling in Home template details panel (#51972)
jameskoster Jun 27, 2023
6bcb7bb
[Command center]: Add preferences and keyboard shortcuts commands (#5…
ntsekouras Jun 27, 2023
1e41f5d
Blocks: remove gutenberg refs in PHP files (#51978)
ramonjd Jun 27, 2023
c1ea3bf
Try: Update template titles (#51428)
jameskoster Jun 27, 2023
69badb1
Lodash: Remove from block library package (#51976)
tyxla Jun 27, 2023
7b71abf
Migrate performance tests to Playwright (#51084)
WunderBart Jun 27, 2023
15eb9a6
Update versions in WP for 6.3 (#51984)
annezazu Jun 27, 2023
791a228
Updating social link attributes (#51997)
ramonjd Jun 28, 2023
9f19441
Fix custom patterns console error (#51947)
glendaviesnz Jun 28, 2023
09ba871
Bump plugin version to 16.1.0
gutenbergplugin Jun 28, 2023
03982f8
Heading Block: Remove unused `HeadingLevelIcon` component (#52008)
t-hamano Jun 28, 2023
d0eca88
Update Changelog for 16.1.0
gutenbergplugin Jun 28, 2023
33e2c84
Patterns: Fix setting of sync status for fully synced patterns (#51952)
aaronrobertshaw Jun 28, 2023
02cac31
Library: Reinstate manage all template parts page (#51961)
aaronrobertshaw Jun 28, 2023
ffd86f4
Patterns: Fix sidebar tab label (#51953)
aaronrobertshaw Jun 28, 2023
ccdb85d
Lodash: Refactor away from _.kebabCase() in add page modal (#51911)
tyxla Jun 28, 2023
40ae340
Add link color theme support (#51775)
carolinan Jun 28, 2023
1001f34
Library: Add sync status to pattern details screen (#51954)
aaronrobertshaw Jun 28, 2023
1f0c696
Only allow the term description block in the site editor. (#51053)
carolinan Jun 28, 2023
44191ec
Add border theme_support (#51777)
carolinan Jun 28, 2023
7d658fa
Make the entire preview clickable in order to enter "edit" mode in fo…
getdave Jun 28, 2023
071cfc8
Add Typography: text orientation (writing mode) (#50822)
carolinan Jun 28, 2023
fcbde01
Fix missing snackbars in Library (#52021)
kevin940726 Jun 28, 2023
0254bbc
Update pattern creation modal in library (#51946)
SaxonF Jun 28, 2023
8e86e64
!important (#52025)
jameskoster Jun 28, 2023
c9f4750
Editor initrial appender: Zero out margins in constrained layouts. (#…
jasmussen Jun 28, 2023
ab52b7c
Update custom patterns label to 'My patterns' (#51949)
SaxonF Jun 28, 2023
3e2996f
Patterns: Use "detached" copy consistently (#51993)
richtabor Jun 28, 2023
96131c3
Removes unused call (#51988)
getdave Jun 28, 2023
0845a18
Add template part icons to the library grid items (#51963)
carolinan Jun 28, 2023
86d29bd
fix: Display heading level dropdown icons and labels (#52004)
dcalhoun Jun 28, 2023
aa507a4
Lodash: Refactor away from `_.kebabCase()` in generic template modal …
tyxla Jun 28, 2023
7bee89b
hasResolvingSelector: exclude from result of resolveSelect (#52038)
jsnajdr Jun 28, 2023
005aa04
Update home template name (#52048)
jameskoster Jun 28, 2023
84e74bd
Create @wordpress/interactivity with the Interactivity API (#50906)
DAreRodz Jun 28, 2023
d3a68c3
Navigation: Add the draft status to the navigation title (#51967)
scruffian Jun 28, 2023
0eb5906
Update home template icon (#52075)
jameskoster Jun 28, 2023
808e907
Block Supports: Change prefix in gutenberg_apply_colors_support to wp…
ockham Jun 28, 2023
8ab45d1
Revert "Updating social link attributes (#51997)" (#52019)
ramonjd Jun 29, 2023
8014722
Remove ability for user to toggle sync status after pattern creation …
glendaviesnz Jun 29, 2023
0d1afa4
Focus Mode: Use the symbol icon if a pattern is being edited (#52031)
carolinan Jun 29, 2023
0db98fd
Move block editor settings filter into 6.3 compat folder (#52100)
tellthemachines Jun 29, 2023
c265a32
Footnotes: register meta field for pages (#52024)
ellatrix Jun 29, 2023
61c1b4d
Add caching to schema of REST API. (#52045)
spacedmonkey Jun 29, 2023
2a52999
Fix unintentional toggling on of distraction free (#52090)
draganescu Jun 29, 2023
a1a74a1
Block editor store: also attach private APIs to old store descriptor …
mcsf Jun 29, 2023
aa1f2ef
Fix fetching Nav fallback ID flushing Navigation entity cache (#52069)
getdave Jun 29, 2023
3fa9711
Refactor, document, and fix image block deprecations (#52081)
ajlende Jun 29, 2023
1da40b5
Performance tests: configure as a production environment (#52016)
oandregal Jun 29, 2023
680f99b
Image block and behaviors: Fix some warnings (#52109)
cbravobernal Jun 29, 2023
b69c9fc
Fix the "exsisting" -> "existing" typo (#52110)
michalczaplinski Jun 29, 2023
f1678aa
first version of the Interactivity API README (#52104)
juanmaguitar Jun 29, 2023
a0ae211
Drop-indicator: remove white border. (#52122)
jasmussen Jun 29, 2023
342e270
Make Navigation fallback selector private (#51413)
getdave Jun 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 7 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ const restrictedImports = [
'invoke',
'isArray',
'isBoolean',
'isEmpty',
'isEqual',
'isFinite',
'isFunction',
Expand All @@ -99,6 +100,7 @@ const restrictedImports = [
'isPlainObject',
'isString',
'isUndefined',
'kebabCase',
'keyBy',
'keys',
'last',
Expand All @@ -109,6 +111,7 @@ const restrictedImports = [
'maxBy',
'memoize',
'merge',
'mergeWith',
'negate',
'noop',
'nth',
Expand Down Expand Up @@ -365,7 +368,7 @@ module.exports = {
},
{
files: [ 'packages/jest*/**/*.js', '**/test/**/*.js' ],
excludedFiles: [ 'test/e2e/**/*.js' ],
excludedFiles: [ 'test/e2e/**/*.js', 'test/performance/**/*.js' ],
extends: [ 'plugin:@wordpress/eslint-plugin/test-unit' ],
},
{
Expand All @@ -375,6 +378,7 @@ module.exports = {
'packages/react-native-*/**/*.[tj]s?(x)',
'test/native/**/*.[tj]s?(x)',
'test/e2e/**/*.[tj]s?(x)',
'test/performance/**/*.[tj]s?(x)',
'test/storybook-playwright/**/*.[tj]s?(x)',
],
extends: [
Expand All @@ -394,6 +398,7 @@ module.exports = {
{
files: [
'test/e2e/**/*.[tj]s',
'test/performance/**/*.[tj]s',
'packages/e2e-test-utils-playwright/**/*.[tj]s',
],
extends: [
Expand All @@ -404,6 +409,7 @@ module.exports = {
tsconfigRootDir: __dirname,
project: [
'./test/e2e/tsconfig.json',
'./test/performance/tsconfig.json',
'./packages/e2e-test-utils-playwright/tsconfig.json',
],
},
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
/packages/prettier-config @ntwb @gziolo
/packages/scripts @gziolo @ntwb @nerrad @ajitbohra @ryanwelcher
/packages/stylelint-config @ntwb
/test/e2e @kevin940726
/test/e2e @kevin940726 @Mamaduka

# UI Components
/packages/components @ajitbohra
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/end2end-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
strategy:
fail-fast: false
matrix:
part: [1, 2, 3, 4]
totalParts: [4]
part: [1, 2, 3]
totalParts: [3]

steps:
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
Expand Down Expand Up @@ -67,8 +67,8 @@ jobs:
strategy:
fail-fast: false
matrix:
part: [1, 2]
totalParts: [2]
part: [1, 2, 3, 4]
totalParts: [4]

steps:
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ jobs:
- name: Compare performance with base branch
if: github.event_name == 'push'
# The base hash used here need to be a commit that is compatible with the current WP version
# The current one is debd225d007f4e441ceec80fbd6fa96653f94737 and it needs to be updated every WP major release.
# The current one is 34af5829ac9edb31833167ff6a3b51bea982999c and it needs to be updated every WP major release.
# It is used as a base comparison point to avoid fluctuation in the performance metrics.
run: |
WP_VERSION=$(awk -F ': ' '/^Tested up to/{print $2}' readme.txt)
IFS=. read -ra WP_VERSION_ARRAY <<< "$WP_VERSION"
WP_MAJOR="${WP_VERSION_ARRAY[0]}.${WP_VERSION_ARRAY[1]}"
./bin/plugin/cli.js perf $GITHUB_SHA debd225d007f4e441ceec80fbd6fa96653f94737 --tests-branch $GITHUB_SHA --wp-version "$WP_MAJOR"
./bin/plugin/cli.js perf $GITHUB_SHA 34af5829ac9edb31833167ff6a3b51bea982999c --tests-branch $GITHUB_SHA --wp-version "$WP_MAJOR"

- name: Compare performance with custom branches
if: github.event_name == 'workflow_dispatch'
Expand All @@ -87,8 +87,8 @@ jobs:
env:
CODEHEALTH_PROJECT_TOKEN: ${{ secrets.CODEHEALTH_PROJECT_TOKEN }}
run: |
COMMITTED_AT=$(git show -s $GITHUB_SHA --format="%ct")
./bin/log-performance-results.js $CODEHEALTH_PROJECT_TOKEN trunk $GITHUB_SHA debd225d007f4e441ceec80fbd6fa96653f94737 $COMMITTED_AT
COMMITTED_AT=$(git show -s $GITHUB_SHA --format="%cI")
./bin/log-performance-results.js $CODEHEALTH_PROJECT_TOKEN trunk $GITHUB_SHA 34af5829ac9edb31833167ff6a3b51bea982999c $COMMITTED_AT

- name: Archive debug artifacts (screenshots, HTML snapshots)
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ coverage
*.log
yarn.lock
/artifacts
/test/e2e/artifacts
/perf-envs
/composer.lock

Expand Down
4 changes: 3 additions & 1 deletion .wp-env.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"wp-content/plugins/gutenberg": ".",
"wp-content/mu-plugins": "./packages/e2e-tests/mu-plugins",
"wp-content/plugins/gutenberg-test-plugins": "./packages/e2e-tests/plugins",
"wp-content/themes/gutenberg-test-themes": "./test/gutenberg-test-themes"
"wp-content/themes/gutenberg-test-themes": "./test/gutenberg-test-themes",
"wp-content/themes/gutenberg-test-themes/twentytwentyone": "https://downloads.wordpress.org/theme/twentytwentyone.1.7.zip",
"wp-content/themes/gutenberg-test-themes/twentytwentythree": "https://downloads.wordpress.org/theme/twentytwentythree.1.0.zip"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Welcome to the development hub for the WordPress Gutenberg project!

The block editor introduces a modular approach to pages and posts: each piece of content in the editor, from a paragraph to an image gallery to a headline, is its own block. And just like physical blocks, WordPress blocks can be added, arranged, and rearranged, allowing WordPress users to create media-rich pages in a visually intuitive way -- and without work-arounds like shortcodes or custom HTML.

The block editor first became available in December 2018, and we're still hard at work refining the experience, creating more and better blocks, and laying the groundwork for the next three phases of work. The Gutenberg plugin gives you the latest version of the block editor so you can join us in testing bleeding-edge features, start playing with blocks, and maybe get inspired to build your own.
The block editor first became available in December 2018, and we're still hard at work refining the experience, creating more and better blocks, and laying the groundwork for the next three phases of work. The Gutenberg plugin gives you the latest version of the block editor, so you can join us in testing bleeding-edge features, start playing with blocks, and maybe get inspired to build your own.

Check out the [Ways to keep up with Gutenberg & Full Site Editing (FSE)](https://make.wordpress.org/core/2020/05/20/ways-to-keep-up-with-full-site-editing-fse/)

Expand All @@ -31,7 +31,7 @@ Get hands on: check out the [block editor live demo](https://wordpress.org/guten

- **User Documentation:** See the [WordPress Editor documentation](https://wordpress.org/documentation/article/wordpress-block-editor/) for detailed docs on using the editor as an author creating posts and pages.

- **User Support:** If you have run into an issue, you should check the [Support Forums first](https://wordpress.org/support/forums/). The forums are a great place to get help. If you have a bug to report, please [submit it to the Gutenberg repository](https://github.com/wordpress/gutenberg/issues). Please search prior to creating a new bug to confirm its not a duplicate.
- **User Support:** If you have run into an issue, you should check the [Support Forums first](https://wordpress.org/support/forums/). The forums are a great place to get help. If you have a bug to report, please [submit it to the Gutenberg repository](https://github.com/wordpress/gutenberg/issues). Please search prior to creating a new bug to confirm it's not a duplicate.

### Developing for Gutenberg

Expand All @@ -41,7 +41,7 @@ Review the [Create a Block tutorial](/docs/getting-started/create-block/README.m

### Contribute to Gutenberg

Gutenberg is an open-source project and welcomes all contributors from code to design, and from documentation to triage. The project is built by many contributors and volunteers and we'd love your help building it.
Gutenberg is an open-source project and welcomes all contributors from code to design, and from documentation to triage. The project is built by many contributors and volunteers, and we'd love your help building it.

See the [Contributors Handbook](https://developer.wordpress.org/block-editor/contributors/) for all the details on how you can contribute.

Expand Down
1 change: 0 additions & 1 deletion bin/build-plugin-zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ build_files=$(
build/block-library/blocks/*.php \
build/block-library/blocks/*/block.json \
build/block-library/blocks/*/*.{js,js.map,css,asset.php} \
build/block-library/interactivity/*.{js,js.map,asset.php} \
build/edit-widgets/blocks/*/block.json \
build/widgets/blocks/*.php \
build/widgets/blocks/*/block.json \
Expand Down
121 changes: 0 additions & 121 deletions bin/generate-public-grammar.js

This file was deleted.

65 changes: 65 additions & 0 deletions bin/list-experimental-api-matches.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
#!/bin/sh

# Generate a Markdown-formatted list of experimental APIs found across our
# packages and lib, providing GitHub search links for each match.
#
# Experimental APIs must be regularly audited, particularly in the context of
# major WordPress releases. This script allows release leads to generate a list
# to share in release issues.
#
# @see example audit issue for WordPress 6.2:
# https://github.com/WordPress/gutenberg/issues/47196

# Exit if any command fails.
set -e

# Change to the root directory.
cd "$(dirname "$0")"
cd ..

# POSIX: prefer standard grep over rg. Git is assumed present (ls-files), but
# could be replaced with find.
grep_experimental_apis() {
git ls-files packages/* lib \
| grep -E '\.(js|ts|jsx|tsx|php)$' \
| grep -v __tests__ \
| xargs grep -Eo '__experimental\w+'
}

# For each line as `<filepath>:<match>`, rewrite as `<package> <match>`.
namespace() {
awk -F: '
{ print module($1), $2 }
function module(path) {
n = split(path, parts, "/")
if (parts[1] == "lib") return "lib"
return parts[1] "/" parts[2]
}'
}

# Like uniq, but applied across packages: if `__experimentalFoo` appears in
# packages A and B, only keep the occurrence under A.
compact() {
sort | uniq | awk '{
if (known_api[$2]) next
known_api[$2] = 1
print
}'
}

# Output a heading for each package and a link for each experimental API.
format() {
awk '{
if (prev_dir != $1) {
if (NR > 1) print ""
printf "## `%s`\n", $1
prev_dir = $1
}
printf "[`%s`](/WordPress/gutenberg/search?q=%s)\n", $2, $2
}'
}

grep_experimental_apis \
| namespace \
| compact \
| format
2 changes: 1 addition & 1 deletion bin/log-performance-results.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const data = new TextEncoder().encode(
branch,
hash,
baseHash,
timestamp: parseInt( timestamp, 10 ),
timestamp,
metrics: resultsFiles.reduce( ( result, { metricsPrefix }, index ) => {
return {
...result,
Expand Down
3 changes: 1 addition & 2 deletions bin/packages/get-packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*/
const fs = require( 'fs' );
const path = require( 'path' );
const { isEmpty } = require( 'lodash' );

/**
* Absolute path to packages directory.
Expand Down Expand Up @@ -43,7 +42,7 @@ function hasModuleField( file ) {
return false;
}

return ! isEmpty( pkg.module );
return !! pkg.module;
}

/**
Expand Down
Loading