Description
Fixes Automattic/dotcom-forge#7349
Depends on #91009 for rebasing
Depends on #91013 for getTitleTranslateOptions
usage
Proposed Changes
Update the title of the domain section based on whether the domain is hosted in WP.com or not
Why are these changes being made?
To match the new layout for Site Profiler v2
Testing Instructions
- Go to
/site-profiler/:url
with a non-WP.com site. Ex: /site-profiler/example.com
- Check if the domain title is similar to the picture below
- Go to
/site-profiler/:url
with a WP.com site. Ex: /site-profiler/wordpress.com
- Check if the domain title is similar to the picture below
WP.com |
non-WP.com |
![CleanShot 2024-05-22 at 12 49 22@2x](https://translate.wordpress.com/wp-content/uploads/2024/05/332890377-3b60da0c-10fa-462f-8864-716ad1639ee5.png?w=900) |
![CleanShot 2024-05-22 at 12 49 35@2x](https://translate.wordpress.com/wp-content/uploads/2024/05/332890432-723a7507-cac4-4789-8d8e-7346da690cdd.png?w=900) |
Pre-merge Checklist
- Has the general commit checklist been followed? (PCYsg-hS-p2)
- https://wpcalypso.wordpress.com/devdocs/docs/testing/index.md for your changes?
- Have you tested the feature in Simple (P9HQHe-k8-p2), Atomic (P9HQHe-jW-p2), and self-hosted Jetpack sites (PCYsg-g6b-p2)?
- Have you checked for TypeScript, React or other console errors?
- Have you used memoizing on expensive computations? More info in Memoizing with create-selector and Using memoizing selectors and Our Approach to Data
- Have we added the “[Status] String Freeze” label as soon as any new strings were ready for translation (p4TIVU-5Jq-p2)?
- For changes affecting Jetpack: Have we added the “[Status] Needs Privacy Updates” label if this pull request changes what data or activity we track or use (p4TIVU-aUh-p2)?
Unfortunately, no screenshots were provided by the developer.