Repository navigation
Traffic: Migrate header to admin-ui Page - #109577
Merged
CGastrell merged 2 commits intoMar 26, 2026
Merged
Conversation
Jetpack Cloud Live (direct link)
Automattic for Agencies Live (direct link)
Dashboard Live (dotcom) (direct link)
|
Contributor
|
This PR modifies the release build for the following Calypso Apps: For info about this notification, see here: PCYsg-OT6-p2
To test WordPress.com changes, run |
CGastrell
force-pushed
the
update/traffic-page-migration
branch
from
March 25, 2026 20:45
3e20ade to
7c33050
Compare
vianasw
approved these changes
Mar 26, 2026
vianasw
left a comment
Contributor
There was a problem hiding this comment.
Nice! Working well both on desktop and mobile
Replace NavigationHeader with Page component from @wordpress/admin-ui on the Traffic settings page. Add admin-ui-page-layout mixin for the marketing section. Part of the Jetpack header unification effort (JETPACK-1361). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
CGastrell
force-pushed
the
update/traffic-page-migration
branch
from
March 26, 2026 16:14
7c33050 to
85fc8b5
Compare
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
simison
reviewed
Mar 26, 2026
| @@ -1,3 +1,10 @@ | |||
| @import "calypso/components/jetpack-page-layout/admin-ui-page"; | |||
|
|
|||
| body.is-section-marketing { | |||
Member
There was a problem hiding this comment.
This looks suspicious and likely affects more pages in Calypso than just Traffic 🤔
In Podcasting there was the same case so I made the selector more specific.
Member
There was a problem hiding this comment.
Yep, looks to be used elsewhere
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of JETPACK-1361
Depends on #109567
Proposed Changes
NavigationHeaderto@wordpress/admin-uiPagecomponentJetpackTitlecomponent for the page title (already present from PR Add Jetpack logo to Jetpack page headers #108987)marketingsectionMainfromwideLayouttofullWidthLayoutFollows the pattern established in the Subscribers migration (PR #109520).
Before:

After:

Why are these changes being made?
@wordpress/admin-uiPage component, consistent with the Jetpack monorepo header unification.Testing Instructions
/marketing/traffic/<site-slug>Pre-merge Checklist