364 add the integration card for google site kit#21946
Conversation
c304683 to
4c3bbdd
Compare
Pull Request Test Coverage Report for Build 1cff656fe99978e6cdf813a8e4018c9fc7928564Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
igorschoester
left a comment
There was a problem hiding this comment.
CR 🏗️
About the changelog entries
Removes "New" badges from the integration page.
That is for sure user-facing. Whether that is worth mentioning is another. But I don't see any decisions, so I mention it.
Enables translation for the "Learn more" in the integration cards.
Isn't that a bugfix? E.g. something like
- Fixes a bug where
Learn moreon the integrations page would not be translated.
Adds unreleased integration card for Google Site Kit.
Unreleased? You mean behind feature flag.
add card
fix lint
fix semicolon
fix typo
And renaming tests links
fix tests to run in separate process. This is done because the conditional foe jetpack and elementor returns different results when running the test separately.
Co-authored-by: Igor <35524806+igorschoester@users.noreply.github.com>
dd67b6e to
037e76c
Compare
| const linkParams = useSelect( select => select( "yoast-seo/settings" ).selectLinkParams(), [] ); | ||
| const learnMoreLink = addQueryArgs( integration.learnMoreLink, linkParams ); | ||
| const logoLink = addQueryArgs( integration.logoLink, linkParams ); |
There was a problem hiding this comment.
- The
selectLinkselector could do the query params adding for you. With the benefit of caching - This store actually has a condition (and probably more in PHP) before it is created. Are we sure that we can rely on that?
There was a problem hiding this comment.
This store is loaded for admin pages, so i think we can rely on that ( link params is used for notices that appear across all admin pages.
thijsoo
left a comment
There was a problem hiding this comment.
CR + ACC 👍 We decided to wait with abstracting the sitekit config setting to another PR.
|
Tested all the checkpoints of this PR except last set where need to apply the patch. The upcoming PR about this will be the solution to test the connect/disconnect google sitekit button. This feature is yet unrealeased. |
Context
Summary
This PR can be summarized in the following changelog entry:
Relevant technical choices:
Test instructions
Test instructions for the acceptance test before the PR gets merged
This PR can be acceptance tested by following these steps:
Relevant test scenarios
Test instructions for QA when the code is in the RC
QA can test this PR by following these steps:
Impact check
This PR affects the following parts of the plugin, which may require extra testing:
UI changes
Other environments
[shopify-seo], added test instructions for Shopify and attached theShopifylabel to this PR.Documentation
Quality assurance
Innovation
innovationlabel.Fixes Figure out how we can detect if Site Kit is configured and add the integration card