diff --git a/assets/js/googlesitekit/notifications/components/common/CTALink.js b/assets/js/googlesitekit/notifications/components/common/CTALink.js
index 5b14a51b8f3..5a13586157c 100644
--- a/assets/js/googlesitekit/notifications/components/common/CTALink.js
+++ b/assets/js/googlesitekit/notifications/components/common/CTALink.js
@@ -47,16 +47,18 @@ export default function CTALink( {
const trackEvents = useNotificationEvents( id );
- const isNavigatingToCTALink = useSelect( ( select ) =>
- select( CORE_LOCATION ).isNavigatingTo( ctaLink )
- );
+ const isNavigatingToCTALink = useSelect( ( select ) => {
+ return ctaLink
+ ? select( CORE_LOCATION ).isNavigatingTo( ctaLink )
+ : false;
+ } );
const { dismissNotification } = useDispatch( CORE_NOTIFICATIONS );
const { navigateTo } = useDispatch( CORE_LOCATION );
const handleCTAClick = async ( event ) => {
event.persist();
- if ( ! event.defaultPrevented ) {
+ if ( ! event.defaultPrevented && ctaLink ) {
event.preventDefault();
}
@@ -79,7 +81,9 @@ export default function CTALink( {
await Promise.all( ctaClickActions );
- navigateTo( ctaLink );
+ if ( ctaLink ) {
+ navigateTo( ctaLink );
+ }
};
return (
diff --git a/assets/js/googlesitekit/notifications/components/common/Description.js b/assets/js/googlesitekit/notifications/components/common/Description.js
index ee6ff67b7ec..769242697c1 100644
--- a/assets/js/googlesitekit/notifications/components/common/Description.js
+++ b/assets/js/googlesitekit/notifications/components/common/Description.js
@@ -19,9 +19,13 @@
*/
import { sanitizeHTML } from '../../../../util';
-export default function Description( { text, learnMoreLink } ) {
+export default function Description( {
+ className = 'googlesitekit-publisher-win__desc',
+ text,
+ learnMoreLink,
+} ) {
return (
-
+
+
+
+
+
+
+
+
+
+
+ { title }
+
+
+ { description }
+
+ { actions }
+ |
+
+
+ |
+
+
+
+
+ |
+
+
+
+ );
+}
diff --git a/assets/js/modules/reader-revenue-manager/components/dashboard/ReaderRevenueManagerSetupCTABanner.js b/assets/js/modules/reader-revenue-manager/components/dashboard/ReaderRevenueManagerSetupCTABanner.js
index ee540a6e25c..a8b17546a83 100644
--- a/assets/js/modules/reader-revenue-manager/components/dashboard/ReaderRevenueManagerSetupCTABanner.js
+++ b/assets/js/modules/reader-revenue-manager/components/dashboard/ReaderRevenueManagerSetupCTABanner.js
@@ -194,34 +194,36 @@ function ReaderRevenueManagerSetupCTABanner( { Widget, WidgetNull } ) {
'google-site-kit'
) }
-
- { createInterpolateElement(
- __(
- 'Turn casual visitors into loyal readers and earn more from your content with voluntary contributions, surveys, newsletter sign-ups and reader insight tools. Learn more ',
- 'google-site-kit'
- ),
- {
- a: (
-
+
+
+ { createInterpolateElement(
+ __(
+ 'Turn casual visitors into loyal readers and earn more from your content with voluntary contributions, surveys, newsletter sign-ups and reader insight tools. Learn more ',
+ 'google-site-kit'
),
- }
- ) }
-
-
- { __(
- '* Support for subscriptions coming soon',
- 'google-site-kit'
- ) }
-
+ {
+ a: (
+
+ ),
+ }
+ ) }
+
+
+ { __(
+ '* Support for subscriptions coming soon',
+ 'google-site-kit'
+ ) }
+
+
{
+ return select( CORE_SITE ).getDocumentationLinkURL(
+ 'sign-in-with-google'
+ );
+ } );
+
+ const onSetupActivate = useActivateModuleCallback( 'sign-in-with-google' );
+
+ return (
+
+
+ }
+ />
+ }
+ actions={
+
+ }
+ SVG={ SiWGSetupCTASVG }
+ />
+
+ );
+}
+
+SignInWithGoogleSetupCTABanner.propTypes = {
+ id: PropTypes.string,
+ Notification: PropTypes.elementType,
+};
diff --git a/assets/js/modules/sign-in-with-google/components/dashboard/SignInWithGoogleSetupCTABanner.stories.js b/assets/js/modules/sign-in-with-google/components/dashboard/SignInWithGoogleSetupCTABanner.stories.js
new file mode 100644
index 00000000000..7cc0d268430
--- /dev/null
+++ b/assets/js/modules/sign-in-with-google/components/dashboard/SignInWithGoogleSetupCTABanner.stories.js
@@ -0,0 +1,41 @@
+/**
+ * SignInWithGoogleSetupCTABanner Component Stories.
+ *
+ * Site Kit by Google, Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Internal dependencies
+ */
+import { withNotificationComponentProps } from '../../../../googlesitekit/notifications/util/component-props';
+import SignInWithGoogleSetupCTABanner from './SignInWithGoogleSetupCTABanner';
+
+const NotificationWithComponentProps = withNotificationComponentProps(
+ 'setup-cta-siwg'
+)( SignInWithGoogleSetupCTABanner );
+
+function Template() {
+ return ;
+}
+
+export const Default = Template.bind();
+Default.storyName = 'SignInWithGoogleSetupCTABanner';
+Default.scenario = {
+ label: 'Modules/SignInWithGoogle/Dashboard/SignInWithGoogleSetupCTABanner',
+};
+
+export default {
+ title: 'Modules/SignInWithGoogle/Dashboard/SignInWithGoogleSetupCTABanner',
+};
diff --git a/assets/js/modules/sign-in-with-google/components/dashboard/index.js b/assets/js/modules/sign-in-with-google/components/dashboard/index.js
new file mode 100644
index 00000000000..c09000a421b
--- /dev/null
+++ b/assets/js/modules/sign-in-with-google/components/dashboard/index.js
@@ -0,0 +1,19 @@
+/**
+ * Sign in with Google settings components.
+ *
+ * Site Kit by Google, Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+export { default as SignInWithGoogleSetupCTABanner } from './SignInWithGoogleSetupCTABanner';
diff --git a/assets/js/modules/sign-in-with-google/components/settings/SettingsEdit.stories.js b/assets/js/modules/sign-in-with-google/components/settings/SettingsEdit.stories.js
index b88c5bf3631..407840baa6a 100644
--- a/assets/js/modules/sign-in-with-google/components/settings/SettingsEdit.stories.js
+++ b/assets/js/modules/sign-in-with-google/components/settings/SettingsEdit.stories.js
@@ -45,7 +45,7 @@ function Template() {
export const Default = Template.bind( null );
Default.storyName = 'Default';
Default.scenario = {
- label: 'Modules/Sign in with Google/Settings/SettingsForm/Default',
+ label: 'Modules/SignInWithGoogle/Settings/SettingsForm/Default',
};
Default.decorators = [
( Story ) => {
@@ -98,7 +98,7 @@ InvalidClientID.decorators = [
];
export default {
- title: 'Modules/Sign in with Google/Settings/SettingsEdit',
+ title: 'Modules/SignInWithGoogle/Settings/SettingsEdit',
decorators: [
( Story ) => {
const setupRegistry = ( registry ) => {
@@ -123,5 +123,5 @@ export default {
export const Empty = Template.bind( null );
Empty.storyName = 'Empty';
Empty.scenario = {
- label: 'Modules/Sign in with Google/Settings/SettingsForm/Empty',
+ label: 'Modules/SignInWithGoogle/Settings/SettingsForm/Empty',
};
diff --git a/assets/js/modules/sign-in-with-google/index.js b/assets/js/modules/sign-in-with-google/index.js
index f46395caa5c..ca1bca0db9c 100644
--- a/assets/js/modules/sign-in-with-google/index.js
+++ b/assets/js/modules/sign-in-with-google/index.js
@@ -22,14 +22,19 @@ import { __ } from '@wordpress/i18n';
/**
* Internal dependencies
*/
+import { CORE_SITE } from '../../googlesitekit/datastore/site/constants';
+import { CORE_MODULES } from '../../googlesitekit/modules/datastore/constants';
import {
ERROR_CODE_NON_HTTPS_SITE,
MODULES_SIGN_IN_WITH_GOOGLE,
} from './datastore/constants';
-import { CORE_SITE } from '../../googlesitekit/datastore/site/constants';
import Icon from '../../../svg/graphics/sign-in-with-google.svg';
import SetupMain from './components/setup/SetupMain';
import SettingsEdit from './components/settings/SettingsEdit';
+import SignInWithGoogleSetupCTABanner from './components/dashboard/SignInWithGoogleSetupCTABanner';
+import { NOTIFICATION_AREAS } from '../../googlesitekit/notifications/datastore/constants';
+import { VIEW_CONTEXT_MAIN_DASHBOARD } from '../../googlesitekit/constants';
+import { isFeatureEnabled } from '../../features';
import { isURLUsingHTTPS } from '../../util/is-url-using-https';
export { registerStore } from './datastore';
@@ -87,3 +92,38 @@ export function registerModule( modules ) {
},
} );
}
+
+export const registerNotifications = ( notifications ) => {
+ if ( isFeatureEnabled( 'signInWithGoogleModule' ) ) {
+ notifications.registerNotification( 'setup-cta-siwg', {
+ Component: SignInWithGoogleSetupCTABanner,
+ priority: 320,
+ areaSlug: NOTIFICATION_AREAS.BANNERS_BELOW_NAV,
+ viewContexts: [ VIEW_CONTEXT_MAIN_DASHBOARD ],
+ checkRequirements: async ( { select, resolveSelect } ) => {
+ await Promise.all( [
+ // The isModuleConnected() relies on the resolution
+ // of the getModules() resolver.
+ resolveSelect( CORE_MODULES ).getModules(),
+ // Ensure the site info is resolved to get the home URL.
+ resolveSelect( CORE_SITE ).getSiteInfo(),
+ ] );
+
+ const isConnected = select( CORE_MODULES ).isModuleConnected(
+ 'sign-in-with-google'
+ );
+ if ( isConnected ) {
+ return false;
+ }
+
+ const homeURL = select( CORE_SITE ).getHomeURL();
+ if ( ! isURLUsingHTTPS( homeURL ) ) {
+ return false;
+ }
+
+ return true;
+ },
+ isDismissible: true,
+ } );
+ }
+};
diff --git a/assets/sass/components/ads/_googlesitekit-ads-setup-banner.scss b/assets/sass/components/ads/_googlesitekit-ads-setup-banner.scss
index c74e411922d..a1e33b23711 100644
--- a/assets/sass/components/ads/_googlesitekit-ads-setup-banner.scss
+++ b/assets/sass/components/ads/_googlesitekit-ads-setup-banner.scss
@@ -30,6 +30,7 @@
.googlesitekit-setup-cta-banner__title {
@media (min-width: $width-tablet + 1 + px) {
font-size: $fs-headline-sm;
+ font-weight: $fw-medium;
line-height: $lh-headline-sm;
}
diff --git a/assets/sass/components/dashboard/_googlesitekit-setup-cta-banner.scss b/assets/sass/components/dashboard/_googlesitekit-setup-cta-banner.scss
index fed01268263..ff5bddf9789 100644
--- a/assets/sass/components/dashboard/_googlesitekit-setup-cta-banner.scss
+++ b/assets/sass/components/dashboard/_googlesitekit-setup-cta-banner.scss
@@ -34,6 +34,12 @@
line-height: $lh-title-md;
margin: 0 0 10px;
+ @media (min-width: $width-tablet + 1 + px) {
+ font-size: $fs-headline-sm;
+ font-weight: $fw-normal;
+ line-height: $lh-headline-sm;
+ }
+
@media (min-width: $width-desktop + 1 + px) {
font-size: $fs-headline-md;
font-weight: $fw-normal;
@@ -41,12 +47,18 @@
}
}
- .googlesitekit-setup-cta-banner__description {
+ .googlesitekit-setup-cta-banner__description p {
font-size: $fs-body-sm;
letter-spacing: $ls-xs;
line-height: $lh-body-sm;
margin: 0;
+ @media (min-width: $width-tablet + 1 + px) {
+ font-size: $fs-body-md;
+ letter-spacing: $ls-s;
+ line-height: $lh-body-md;
+ }
+
@media (min-width: $width-desktop + 1 + px) {
font-size: $fs-body-lg;
letter-spacing: $ls-m;
diff --git a/assets/sass/components/reader-revenue-manager/_googlesitekit-rrm-setup-cta-banner.scss b/assets/sass/components/reader-revenue-manager/_googlesitekit-rrm-setup-cta-banner.scss
index 67f7eef63e0..407c9694e07 100644
--- a/assets/sass/components/reader-revenue-manager/_googlesitekit-rrm-setup-cta-banner.scss
+++ b/assets/sass/components/reader-revenue-manager/_googlesitekit-rrm-setup-cta-banner.scss
@@ -27,6 +27,10 @@
}
.googlesitekit-setup-cta-banner__title {
+ @media (min-width: $width-tablet + 1 + px) {
+ font-weight: $fw-medium;
+ }
+
@media (min-width: $bp-nonMobile) {
font-size: $fs-headline-sm;
line-height: $lh-headline-sm;
diff --git a/assets/sass/components/sign-in-with-google/_googlesitekit-sign-in-with-google-setup-cta-banner.scss b/assets/sass/components/sign-in-with-google/_googlesitekit-sign-in-with-google-setup-cta-banner.scss
new file mode 100644
index 00000000000..2e8c3fa9d1d
--- /dev/null
+++ b/assets/sass/components/sign-in-with-google/_googlesitekit-sign-in-with-google-setup-cta-banner.scss
@@ -0,0 +1,37 @@
+/**
+ * Sign in with Google Setup CTA Banner styles.
+ *
+ * Site Kit by Google, Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+.googlesitekit-plugin {
+
+ .googlesitekit-setup-cta-banner--setup-cta-siwg {
+
+ .googlesitekit-setup-cta-banner__svg-wrapper--setup-cta-siwg {
+ align-items: flex-end;
+ display: flex;
+ justify-content: center;
+
+ svg {
+ max-height: 136px;
+
+ @media (min-width: $width-desktop + 1 + px) {
+ max-height: 265px;
+ }
+ }
+ }
+ }
+}
diff --git a/assets/sass/components/sign-in-with-google/_index.scss b/assets/sass/components/sign-in-with-google/_index.scss
index 94fc96da6ad..930f9efb8ad 100644
--- a/assets/sass/components/sign-in-with-google/_index.scss
+++ b/assets/sass/components/sign-in-with-google/_index.scss
@@ -14,5 +14,6 @@
* limitations under the License.
*/
+@import "googlesitekit-sign-in-with-google-setup-cta-banner";
@import "googlesitekit-sign-in-with-google-setup-module";
@import "googlesitekit-sign-in-with-google-settings-module";
diff --git a/assets/svg/graphics/sign-in-with-google-setup-cta.svg b/assets/svg/graphics/sign-in-with-google-setup-cta.svg
new file mode 100644
index 00000000000..698a7f4028f
--- /dev/null
+++ b/assets/svg/graphics/sign-in-with-google-setup-cta.svg
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/backstop/reference/google-site-kit_ConsentMode_ConsentModeSetupCTAWidget_Default_0_document_2_large.png b/tests/backstop/reference/google-site-kit_ConsentMode_ConsentModeSetupCTAWidget_Default_0_document_2_large.png
index ebb0a19178d..55177a64d59 100644
Binary files a/tests/backstop/reference/google-site-kit_ConsentMode_ConsentModeSetupCTAWidget_Default_0_document_2_large.png and b/tests/backstop/reference/google-site-kit_ConsentMode_ConsentModeSetupCTAWidget_Default_0_document_2_large.png differ
diff --git a/tests/backstop/reference/google-site-kit_Modules_Ads_Components_Dashboard_AdsModuleSetupCTAWidget_AfterOneDismissal_0_document_1_medium.png b/tests/backstop/reference/google-site-kit_Modules_Ads_Components_Dashboard_AdsModuleSetupCTAWidget_AfterOneDismissal_0_document_1_medium.png
index fd96565718c..0954a6c8bef 100644
Binary files a/tests/backstop/reference/google-site-kit_Modules_Ads_Components_Dashboard_AdsModuleSetupCTAWidget_AfterOneDismissal_0_document_1_medium.png and b/tests/backstop/reference/google-site-kit_Modules_Ads_Components_Dashboard_AdsModuleSetupCTAWidget_AfterOneDismissal_0_document_1_medium.png differ
diff --git a/tests/backstop/reference/google-site-kit_Modules_Ads_Components_Dashboard_AdsModuleSetupCTAWidget_AfterOneDismissal_0_document_2_large.png b/tests/backstop/reference/google-site-kit_Modules_Ads_Components_Dashboard_AdsModuleSetupCTAWidget_AfterOneDismissal_0_document_2_large.png
index a167fa075eb..69138dcf2b7 100644
Binary files a/tests/backstop/reference/google-site-kit_Modules_Ads_Components_Dashboard_AdsModuleSetupCTAWidget_AfterOneDismissal_0_document_2_large.png and b/tests/backstop/reference/google-site-kit_Modules_Ads_Components_Dashboard_AdsModuleSetupCTAWidget_AfterOneDismissal_0_document_2_large.png differ
diff --git a/tests/backstop/reference/google-site-kit_Modules_Ads_Components_Dashboard_AdsModuleSetupCTAWidget_Default_0_document_1_medium.png b/tests/backstop/reference/google-site-kit_Modules_Ads_Components_Dashboard_AdsModuleSetupCTAWidget_Default_0_document_1_medium.png
index 13abaacf633..4d065a7d9c1 100644
Binary files a/tests/backstop/reference/google-site-kit_Modules_Ads_Components_Dashboard_AdsModuleSetupCTAWidget_Default_0_document_1_medium.png and b/tests/backstop/reference/google-site-kit_Modules_Ads_Components_Dashboard_AdsModuleSetupCTAWidget_Default_0_document_1_medium.png differ
diff --git a/tests/backstop/reference/google-site-kit_Modules_Ads_Components_Dashboard_AdsModuleSetupCTAWidget_Default_0_document_2_large.png b/tests/backstop/reference/google-site-kit_Modules_Ads_Components_Dashboard_AdsModuleSetupCTAWidget_Default_0_document_2_large.png
index 103bc109394..6086e5e17b0 100644
Binary files a/tests/backstop/reference/google-site-kit_Modules_Ads_Components_Dashboard_AdsModuleSetupCTAWidget_Default_0_document_2_large.png and b/tests/backstop/reference/google-site-kit_Modules_Ads_Components_Dashboard_AdsModuleSetupCTAWidget_Default_0_document_2_large.png differ
diff --git a/tests/backstop/reference/google-site-kit_Modules_ReaderRevenueManager_Components_Dashboard_ReaderRevenueManagerSetupCTABanner_Default_0_document_1_medium.png b/tests/backstop/reference/google-site-kit_Modules_ReaderRevenueManager_Components_Dashboard_ReaderRevenueManagerSetupCTABanner_Default_0_document_1_medium.png
index 50fc5e5baf7..9a60df5509d 100644
Binary files a/tests/backstop/reference/google-site-kit_Modules_ReaderRevenueManager_Components_Dashboard_ReaderRevenueManagerSetupCTABanner_Default_0_document_1_medium.png and b/tests/backstop/reference/google-site-kit_Modules_ReaderRevenueManager_Components_Dashboard_ReaderRevenueManagerSetupCTABanner_Default_0_document_1_medium.png differ
diff --git a/tests/backstop/reference/google-site-kit_Modules_ReaderRevenueManager_Components_Dashboard_ReaderRevenueManagerSetupCTABanner_Default_0_document_2_large.png b/tests/backstop/reference/google-site-kit_Modules_ReaderRevenueManager_Components_Dashboard_ReaderRevenueManagerSetupCTABanner_Default_0_document_2_large.png
index 6322a5a342d..d1b32f47297 100644
Binary files a/tests/backstop/reference/google-site-kit_Modules_ReaderRevenueManager_Components_Dashboard_ReaderRevenueManagerSetupCTABanner_Default_0_document_2_large.png and b/tests/backstop/reference/google-site-kit_Modules_ReaderRevenueManager_Components_Dashboard_ReaderRevenueManagerSetupCTABanner_Default_0_document_2_large.png differ
diff --git a/tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Dashboard_SignInWithGoogleSetupCTABanner_0_document_0_small.png b/tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Dashboard_SignInWithGoogleSetupCTABanner_0_document_0_small.png
new file mode 100644
index 00000000000..07bca96c8d4
Binary files /dev/null and b/tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Dashboard_SignInWithGoogleSetupCTABanner_0_document_0_small.png differ
diff --git a/tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Dashboard_SignInWithGoogleSetupCTABanner_0_document_1_medium.png b/tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Dashboard_SignInWithGoogleSetupCTABanner_0_document_1_medium.png
new file mode 100644
index 00000000000..ca165185fe4
Binary files /dev/null and b/tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Dashboard_SignInWithGoogleSetupCTABanner_0_document_1_medium.png differ
diff --git a/tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Dashboard_SignInWithGoogleSetupCTABanner_0_document_2_large.png b/tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Dashboard_SignInWithGoogleSetupCTABanner_0_document_2_large.png
new file mode 100644
index 00000000000..7d900c7c83c
Binary files /dev/null and b/tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Dashboard_SignInWithGoogleSetupCTABanner_0_document_2_large.png differ
diff --git a/tests/backstop/reference/google-site-kit_Modules_Sign_in_with_Google_Settings_SettingsForm_Default_0_document_0_small.png b/tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Settings_SettingsForm_Default_0_document_0_small.png
similarity index 100%
rename from tests/backstop/reference/google-site-kit_Modules_Sign_in_with_Google_Settings_SettingsForm_Default_0_document_0_small.png
rename to tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Settings_SettingsForm_Default_0_document_0_small.png
diff --git a/tests/backstop/reference/google-site-kit_Modules_Sign_in_with_Google_Settings_SettingsForm_Default_0_document_1_medium.png b/tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Settings_SettingsForm_Default_0_document_1_medium.png
similarity index 100%
rename from tests/backstop/reference/google-site-kit_Modules_Sign_in_with_Google_Settings_SettingsForm_Default_0_document_1_medium.png
rename to tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Settings_SettingsForm_Default_0_document_1_medium.png
diff --git a/tests/backstop/reference/google-site-kit_Modules_Sign_in_with_Google_Settings_SettingsForm_Default_0_document_2_large.png b/tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Settings_SettingsForm_Default_0_document_2_large.png
similarity index 100%
rename from tests/backstop/reference/google-site-kit_Modules_Sign_in_with_Google_Settings_SettingsForm_Default_0_document_2_large.png
rename to tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Settings_SettingsForm_Default_0_document_2_large.png
diff --git a/tests/backstop/reference/google-site-kit_Modules_Sign_in_with_Google_Settings_SettingsForm_Empty_0_document_0_small.png b/tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Settings_SettingsForm_Empty_0_document_0_small.png
similarity index 100%
rename from tests/backstop/reference/google-site-kit_Modules_Sign_in_with_Google_Settings_SettingsForm_Empty_0_document_0_small.png
rename to tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Settings_SettingsForm_Empty_0_document_0_small.png
diff --git a/tests/backstop/reference/google-site-kit_Modules_Sign_in_with_Google_Settings_SettingsForm_Empty_0_document_1_medium.png b/tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Settings_SettingsForm_Empty_0_document_1_medium.png
similarity index 100%
rename from tests/backstop/reference/google-site-kit_Modules_Sign_in_with_Google_Settings_SettingsForm_Empty_0_document_1_medium.png
rename to tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Settings_SettingsForm_Empty_0_document_1_medium.png
diff --git a/tests/backstop/reference/google-site-kit_Modules_Sign_in_with_Google_Settings_SettingsForm_Empty_0_document_2_large.png b/tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Settings_SettingsForm_Empty_0_document_2_large.png
similarity index 100%
rename from tests/backstop/reference/google-site-kit_Modules_Sign_in_with_Google_Settings_SettingsForm_Empty_0_document_2_large.png
rename to tests/backstop/reference/google-site-kit_Modules_SignInWithGoogle_Settings_SettingsForm_Empty_0_document_2_large.png