Feature Description
Update the TourTooltip component to reflect the new design.
See the design in Figma and the dashboard tour section in the Design Doc.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- The
TourTooltip component is updated to reflect the new design in Figma:
- The progress dots in the bottom left are replaced with the X/Y step indicator, where X is the current step and Y is the total number of steps.
- The styling of the tooltip is updated to match the new design.
- The change is gated behind the
setupFlowRefresh feature flag.
Implementation Brief
See the implementation guide in the Design Doc for guidelines on how to implement this issue.
Test Coverage
- Update failing snapshots/VRTs if any.
QA Brief
- View the new Setup Flow Refresh story at:
- Compare it with the default story at:
- Verify the Setup Flow Refresh version matches the Figma design:
- Progress dots in the bottom left are replaced with "X / Y" step indicator (e.g., "1 / 4")
- Test tour navigation:
- Click "Next" to advance through steps
- Click "Back" to go to previous steps
- Verify step counter updates correctly (1/4, 2/4, 3/4, 4/4)
- Click "Got it" on the last step to complete the tour
- Click the close (X) button to dismiss the tour
- To manually trigger a feature tour in the Site Kit dashboard, run the following code snippet in the browser console with and without the
setupFlowRefresh feature flag enabled:
// 1. First, ensure the tour is not already dismissed
googlesitekit.data.dispatch('core/user').receiveGetDismissedTours([]);
// 2. Create a custom tour object
const customTour = {
slug: 'test-tour',
contexts: ['googlesitekit-dashboard'],
version: '1.0.0',
gaEventCategory: 'test_tour',
steps: [
{
target: '.googlesitekit-header',
title: 'Welcome to the Tour',
content: 'This is the first step of our custom tour.',
placement: 'bottom'
},
{
target: '.googlesitekit-navigation',
title: 'Navigation Menu',
content: 'This is the navigation menu.',
placement: 'right'
}
]
};
// 3. Trigger the custom tour
await googlesitekit.data.dispatch('core/user').triggerTour(customTour);
Changelog entry
- Update tour tooltip styles as part of the new setup flow.
Feature Description
Update the
TourTooltipcomponent to reflect the new design.See the design in Figma and the dashboard tour section in the Design Doc.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
TourTooltipcomponent is updated to reflect the new design in Figma:setupFlowRefreshfeature flag.Implementation Brief
See the implementation guide in the Design Doc for guidelines on how to implement this issue.
assets/js/components/TourTooltips.jssetupFlowRefreshfeature flag is enabled. If it's enabled:floatProps.floater.filtershould be changed todrop-shadow(rgba(0, 0, 0, 0.25) 0px 4px 16px).showProgressprop ofJoyrideshould befalseassets/js/components/TourTooltip.jssetupFlowRefreshfeature flag is enabled. If it's enabled:googlesitekit-tour-tooltip--setupFlowRefreshclass to the main containerCloseIconto10googlesitekit-tooltip-button--primaryclass to primary buttongooglesitekit-tooltip-indicators)phaving${ index + 1 } / ${ size }inside. Add the classgooglesitekit-tooltip-stepsto it so we can style it laterassets/sass/components/tour-tooltip/_googlesitekit-tour-tooltip.scss, override the tooltip's styles using thegooglesitekit-tour-tooltip--setupFlowRefreshclass.googlesitekit-tooltip-titlestyles to match the Figma designmargin-bottomshould become8px.googlesitekit-tooltip-contentstyles to match the Figma design.googlesitekit-tooltip-bodystylespaddingto32px 16px 0px 16pxmax-widthto332px.googlesitekit-tooltip-closestylestopandrightto16px.googlesitekit-tooltip-buttonborder-radiusto100pxline-heightto20px&:focusand settingoutlinetonone&:focus:not(:active)and settingoutlineto2px solid $c-interactive-inverse-focus.googlesitekit-tooltip-button--pimrarybackground-colorto$c-site-kit-sk-300paddingto6px 16px.googlesitekit-tooltip-stepsmarginto0.googlesitekit-tooltip-actionsstylespaddingto16pxassets/js/components/TourTooltips.stories.jsto showcase the SFR versionTest Coverage
QA Brief
setupFlowRefreshfeature flag enabled:Changelog entry