Forms: replace links with Link component from @wordpress/ui.#48407
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! |
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. 🤷 |
|
Note that the next version of Note also that there are style updates to Link in latest |
|
Whoop, we need to fix the i18n issue in bundles. Same solution as for DataViews should work:
|
|
Hmm, odd, i18n issues should already be handled by this: |
daca61f to
7715758
Compare
|
rebased after #48529 merged |
b5e3657 to
b3a802c
Compare
Replace all `ExternalLink` usages from `@wordpress/components` with the `Link` component from `@wordpress/ui` using the `openInNewTab` prop.
b3a802c to
0e4267f
Compare
…rdpress/ui` (#48407) * Replace `<a>` tag usage usage with the `Link` component from `@wordpress/ui` * Replace usage of `<Button type="link">` with with the `Link` component from `@wordpress/ui` * Akismet connection: open in new tab only when in editor context
…rdpress/ui` (#48407) * Replace `<a>` tag usage usage with the `Link` component from `@wordpress/ui` * Replace usage of `<Button type="link">` with with the `Link` component from `@wordpress/ui` * Akismet connection: open in new tab only when in editor context
Replace all bare
<a>and<ExternalLink>usages from@wordpress/componentswith theLinkcomponent from@wordpress/uiusing theopenInNewTabprop for links opened in a new tab.Part of #48160
Proposed changes
<a href>with<Link><ExternalLink>with<Link>Related product discussion/links
Does this pull request change what data or activity we track or use?
Testing instructions
At the Forms dashboard:
Before
After