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?
|
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! Jetpack plugin: The Jetpack plugin has different release cadences depending on the platform:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
Code Coverage SummaryCoverage changed in 1 file.
Full summary · PHP report · JS report Coverage check overridden by
Coverage tests to be added later
|
|
How much does it help if we swap copy on mobile to "Edit" instead of "Edit video details" and "Save" instead of "Save changes"? Latter copy could work for desktop, too. |
projects/packages/videopress/src/client/admin/components/edit-video-details/index.tsx
Outdated
Show resolved
Hide resolved
projects/packages/videopress/src/client/admin/components/edit-video-details/index.tsx
Show resolved
Hide resolved
99acdcf to
694f6c4
Compare
…ith breadcrumbs Replace the custom Header and GoBackLink components with the standard AdminPage breadcrumbs + actions pattern (matching Boost cache debug log). - Use admin-ui breadcrumbs: Jetpack bolt + VideoPress link / Edit video details heading - Pass Save + Actions as array to AdminPage actions prop - Switch Button to @wordpress/components for consistent styling - Add subTitle matching the main VideoPress dashboard page - Move JITM slot inside AdminPage content (following #47558 pattern) - Remove stale header/back-link/buttons CSS and .jp-admin-page-header override Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add size="compact" to the kebab menu button in VideoDetailsActions, consistent with the compact header action buttons from #47679. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Move the Save changes button from the header actions into the Infos component below the description fields, freeing header space on mobile. Shorten the breadcrumb label from "Edit video details" to "Edit". Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
694f6c4 to
838b67b
Compare
- Add missing key prop to VideoDetailsActions in headerActions array - Change isLoading to isBusy on Save button (correct @wordpress/components Button prop) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Remove fullWidth and weight props (not valid @wordpress/components Button props) - Add CSS rule in dropdown to handle full-width button layout instead Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Proposed changes
Migrates the VideoPress edit-video-details page to the unified admin header pattern, replacing the custom
HeaderandGoBackLinkcomponents with standardAdminPagebreadcrumbs + actions.This is a continuation of the admin page header normalization effort (#47313) and follows the same breadcrumbs pattern established in Boost's cache debug log page.
Before:

After:

Changes
Header(VideoPress wordmark logo + chevron + text) andGoBackLink(arrow + "Go back") with admin-ui breadcrumbs: Jetpack bolt icon + "VideoPress" link → "Edit" heading (shortened from "Edit video details" for better mobile fit)size="compact"on the kebab menu button, consistent with Update AdminPage header action buttons to use compact size #47679Buttonfrom@automattic/jetpack-componentsto@wordpress/components(withvariant="primary") for consistent styling across admin pages — also applied toVideoDetailsActions#jp-admin-noticesslot from aboveAdminPageinto the page content area (insideContainer/Col), following the pattern from Fix admin notices and JITMs rendering inside page headers #47558 by @vianasw.header-wrapper,.logo-button,.header-content,.breadcrumb,.back-link,.buttonsstyles and the.jp-admin-page-headeroverrideOther information
Related product discussion/links
Does this pull request change what data or activity we track or use?
No.
Testing instructions
wp-admin/admin.php?page=jetpack-videopress)JITM testing (optional)
Add a fake JITM via mu-plugin (see #47558 for the snippet) and verify it renders below the header, not inside it.