Repository navigation
Conversation
|
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
|
Icons were removed leading to at least some of these failures. |
Code Coverage SummaryThis PR did not change code coverage! That could be good or bad, depending on the situation. Everything covered before, and still is? Great! Nothing was covered before? Not so great. 🤷 |
|
This can now be cleaned out in this PR: Lines 254 to 261 in f53bcca |
| - '{{PAGE_SLUG}}.php' === $GLOBALS['pagenow'] | ||
| + // Jetpack serves its pages at admin.php?page=… and aliases the screen ID there. | ||
| + in_array( $GLOBALS['pagenow'], array( '{{PAGE_SLUG}}.php', 'admin.php' ), true ) |
There was a problem hiding this comment.
Is there an alternative way in Jetpack or does this require some changes upstream? I'm not entirely sure what this patch is fixing.
There was a problem hiding this comment.
Likely something upstream. Jetpack uses admin.php for dashboards using wp-build which, my understanding, isn't supported. I'll look into that more.
There was a problem hiding this comment.
Looks like this is working around the change in WordPress/gutenberg#86995.
There was a problem hiding this comment.
It looks like wp-build expects the admin.php to be used like admin.php?page={{PAGE_SLUG}}-wp-admin, no aliases.
There was a problem hiding this comment.
Can we just use ?page={{PAGE_SLUG}}-wp-admin routes in Jetpack? 😅
Not the prettiest URL I must say, tho!
There was a problem hiding this comment.
Maybe @dhasilva knows for sure, but my guess is that we wanted to keep the same slugs we were using for various pages from before wp-build, instead of having to break all existing links and bookmarks.
There was a problem hiding this comment.
Yes. IMO wp-build should not be dictating our route URLs, not to mention that there is always the risk of an upstream change breaking links and bookmarks.
There was a problem hiding this comment.
I think on Forms we added a redirect from old routes and it has worked fine.
It can make sense to get away from -wp-admin postfix (if to just have prettier URLs) but I wished you always raised these issues upstream. Without doing so is when these workarounds break.
There was a problem hiding this comment.
I'm going to capture this as a follow-up so we can merge the monorepo bump.
|
FYI, can be a follow-up PR too, but with version of
The component feature was informed by need in Boost. cc @xavier-lc |
kraftbj
left a comment
There was a problem hiding this comment.
Approved assuming CI is happy
…the Renovate rebase The Renovate rebase replaced the branch with a single commit and dropped the manual fixes by Brandon Kraft. This re-applies them on the new head: - cf1f0da Replace icons removed or renamed in wordpress/icons 21 - 6a1e381 Let wp-build pages enqueue on admin.php again - d16beed Refresh the wp-build patch for 0.28.0, without the preload hunks that #54460 moved into wp-build-polyfills - e01f8d5 Update the JetpackFooter snapshot for new wordpress/ui class names - f8bebb4 Exclude files the stricter use-recommended-components rule now flags, regenerated against current trunk - 971279e Update Boost e2e color checks for the shifted wordpress/theme 5 tokens - 663ae25 Drop the wp-build theme peer range override from .pnpmfile.cjs The lock file is regenerated with pnpm install. Co-authored-by: Brandon Kraft <public@brandonkraft.com>
wordpress/theme 5 turns --wpds-color-background-thumb-neutral into a light switch-knob color, so the loading bar's fill nearly vanished on its track. --wpds-color-background-indicator-neutral is the token theme 5 adds for progress fills, the one wordpress/ui Progress now uses.
|
@kraftbj - I clicked "If you want to rebase/retry this PR, check this box" from PR description which reset the branch and removed your commits, since I had those commits locally I re-added those, with conflicts resolved from latest trunk. Can you please check if I missed adding anything back? |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
|
Thanks, Nikhil. It all looks good from my end. Everything I'd done made it back in, and the loading bar fix looks good too. |
I can take the follow-up once this is merged, thanks for the ping. |
wordpress/ui 0.27 makes RangeCalendar fill its container, so in the period control's row Stack it took the space the preset column needs and five preset labels wrapped onto two lines at desktop width. A width: fit-content wrapper keeps the calendar at its compact size, as the upstream calendar usage guidelines recommend.
Nikschavan
left a comment
There was a problem hiding this comment.
Approving, this tested well.


Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
5.1.0→5.2.03.1.0→3.2.08.1.0→8.2.015.0.0→15.1.05.1.0→5.2.020.0.0→20.1.012.1.0→12.2.06.1.0→6.2.017.1.0→17.2.0^0.26.0→^0.27.00.26.0→0.27.07.1.0→7.2.00.27.0→0.28.02.1.0→2.2.044.0.0→45.0.09.1.0→9.2.09.1.0→9.2.011.1.0→11.2.05.1.0→5.2.022.0.0→22.1.06.1.0→6.2.07.1.0→7.2.05.1.0→5.2.05.1.0→5.2.03.2.0→3.3.09.1.0→9.2.016.1.0→16.2.010.1.0→10.2.04.1.0→4.2.028.1.0→28.2.06.1.0→6.2.05.1.0→5.2.05.1.0→5.2.07.1.0→7.2.020.0.0→21.0.0^20.0.0→^21.0.08.1.0→8.2.011.1.0→11.2.05.1.0→5.2.02.1.0→2.2.06.1.0→6.2.06.1.0→6.2.08.1.0→8.2.05.1.0→5.2.05.1.0→5.2.03.1.0→3.2.02.1.0→2.2.08.1.0→8.2.00.25.0→0.26.0^0.25.0→^0.26.02.1.0→2.2.07.1.0→7.2.027.1.0→27.2.03.1.0→3.2.04.0.0→5.0.0^4.0.0→^5.0.01.0.0→1.1.04.1.0→4.2.00.26.0→0.27.0^0.26.0→^0.27.05.1.0→5.2.07.1.0→7.2.0~3.1.0→~3.2.00.11.0→0.12.00.11.0→0.12.05.1.0→5.2.05.1.0→5.2.0Release Notes
WordPress/gutenberg (@wordpress/a11y)
v5.2.0Compare Source
WordPress/gutenberg (@wordpress/admin-ui)
v3.2.0Compare Source
Internal
Documentation
Page: Add descriptions for the component and all of its props (#86615).WordPress/gutenberg (@wordpress/api-fetch)
v8.2.0Compare Source
WordPress/gutenberg (@wordpress/base-styles)
v15.1.0Compare Source
Enhancements
heading-*andbody-*mixins now use--wpds-typography-*design tokens for font family, size, and line height (#86635).WordPress/gutenberg (@wordpress/blob)
v5.2.0Compare Source
WordPress/gutenberg (@wordpress/block-editor)
v20.1.0Compare Source
Enhancements
cqw,cqh,cqi,cqb,cqmin,cqmax) when a theme lists them insettings.spacing.units(#86241).Warning: Center the message and its actions vertically instead of aligning them on the text baseline, so actions with an icon line up with the message (#85575).BlockStyle,BlockStyleState,MediaUploadFunctionandMediaUploadOptionstypes (#87018).Bug Fixes
receiveBlocks: Include the received blocks ingetBlocks()and their client IDs ingetBlockOrder(), instead of anundefinedentry (#85818).^8.5.33for URL parsing and diagnostic fixes (#86899).blockHooksin the Plugins panel now inserts it after the anchor block instead of throwing (#86452).{ patternName }when a pattern is inserted from the search results or the patterns explorer, as the Patterns tab does (#86745).resetBlocks: Fix a crash when a controlled block with no inner blocks is reset with inner blocks (#86387).resetBlocks: Keep controlled inner blocks out of their parent blocks'getBlocks()result (#86740).pointerdown,mousedown, andclickfrom the editor canvas iframe onto the outer<iframe>element so parent-document popups can dismiss on canvas presses, and stop React portal bubbling for those redispatched events so parent trees do not see them twice (#85263).noopenerto links that open in a new tab, in the Image and Media & Text blocks (#86568).isUngroupable: Type the return value asboolean | null | undefinedinstead ofunknown(#86748).moveBlocksUp,moveBlocksDownandmoveBlocksToPositionno longer throw aTypeErrorwhen the root client ID isnull, andinsertBlocksadds the blocks to the root order when its root client ID isnull(#85760).__experimentalGetAllowedBlocksno longer throws aTypeErroron every call (#85851).dropordragendreaching the canvas document (#85462).Internal
hasBlockSpotlightselector (#81538).WordPress/gutenberg (@wordpress/block-library)
v12.2.0Compare Source
Enhancements
dimensionsblock support (#83447).data-object-fitanddata-object-positionattributes from the saved markup; they were only read by theobject-fit-polyfillremoved in #34536 (#86895).Bug Fixes
legacy.reverbnation.comin the ReverbNation variation, so URLs copied after ReverbNation's redirect resolve as ReverbNation embeds instead of generic ones (#82757).noopenerto links (#86494).noopenerto links (#86489).Configuration
📅 Schedule: (in timezone UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate CLI.