Improve UX/UI when setting up Analytics from the Site Kit WP dashboard widget #8024
Labels
Module: Analytics
Google Analytics module related issues
P1
Medium priority
Type: Enhancement
Improvement of an existing feature
Bug Description
On the WP Dashboard, when you click on the Set up Analytics (or Complete set up) CTA button on the Site Kit widget, the behaviour is not the same as other buttons. The button is still active and the loading spinner does not appear. It can take a couple of seconds for the set up to commence, so would be an enhancement to show the user that process has started, by making the button inactive and showing the spinner.
WP-dashboard.mp4
Steps to reproduce
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
Context: The
CircularProgress
(spinner) is rendered by theSpinnerButton
component. However, the issue arises because thestroke
color of the spinner is not correctly applied to thesvg.circle
element within the WP Dashboard.In
assets/sass/components/wp-dashboard/_googlesitekit-wp-dashboard.scss
:.mdc-button { ... }
selector:site-kit-wp/assets/sass/components/global/_googlesitekit-button-icon.scss
Lines 36 to 45 in 8c37fe7
Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: