-
Notifications
You must be signed in to change notification settings - Fork 904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
364 add the integration card for google site kit #21946
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 more
on the integrations page would not be translated.
Adds unreleased integration card for Google Site Kit.
Unreleased? You mean behind feature flag.
packages/js/src/integrations-page/google-site-kit-integration.js
Outdated
Show resolved
Hide resolved
packages/js/src/integrations-page/google-site-kit-integration.js
Outdated
Show resolved
Hide resolved
packages/js/src/integrations-page/google-site-kit-integration.js
Outdated
Show resolved
Hide resolved
packages/js/src/integrations-page/google-site-kit-integration.js
Outdated
Show resolved
Hide resolved
packages/js/src/integrations-page/google-site-kit-integration.js
Outdated
Show resolved
Hide resolved
packages/js/src/integrations-page/google-site-kit-integration.js
Outdated
Show resolved
Hide resolved
packages/js/src/integrations-page/google-site-kit-integration.js
Outdated
Show resolved
Hide resolved
tests/Unit/Integrations/Admin/Integrations_Page_Integration_Test.php
Outdated
Show resolved
Hide resolved
tests/Unit/Integrations/Admin/Integrations_Page_Integration_Test.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR/AT 🏗️
packages/js/src/integrations-page/google-site-kit-integration.js
Outdated
Show resolved
Hide resolved
packages/js/src/integrations-page/google-site-kit-integration.js
Outdated
Show resolved
Hide resolved
packages/js/src/integrations-page/google-site-kit-integration.js
Outdated
Show resolved
Hide resolved
packages/js/src/integrations-page/google-site-kit-integration.js
Outdated
Show resolved
Hide resolved
packages/js/src/integrations-page/google-site-kit-integration.js
Outdated
Show resolved
Hide resolved
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 <[email protected]>
Co-authored-by: Igor <[email protected]>
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The
selectLink
selector 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR + ACC 👍 We decided to wait with abstracting the sitekit config setting to another PR.
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 theShopify
label to this PR.Documentation
Quality assurance
Innovation
innovation
label.Fixes Figure out how we can detect if Site Kit is configured and add the integration card