-
Notifications
You must be signed in to change notification settings - Fork 330
Closed
Closed
Copy link
Labels
P0High priorityHigh priorityTeam MIssues for Squad 2Issues for Squad 2Type: BugSomething isn't workingSomething isn't working
Description
Bug Description
The in-progress spinner is not appearing in CTA buttons for notices and notifications built using the Banner/CTAButton and Notice/CTAButton components.
Steps to reproduce
Banner/CTAButton example
- Set up Site Kit on a new site.
- Click on Set up Ads in the Ads setup banner.
- See that the in-progress spinner does not appear in the CTA button.
Notice/CTAButton example
- Connect Analytics and navigate to Settings > Admin Settings.
- Click on Get tailored metrics in the Key Metrics section.
- See that the in-progress spinner does not appear in the CTA button.
Screenshots
In-progress spinner not appearing in Set up Ads CTA button:

In-progress spinner not appearing in Get tailored metrics CTA button:

Additional Context
- PHP Version: any
- OS: any
- Browser: any
- Plugin Version: 1.167.0 / 1.154.0
- Device: any
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- When following the steps to reproduce, the in-progress spinner should appear in the CTA buttons.
Implementation Brief
- Remove properties with
undefinedvalues fromrestPropsin theSpinnerButtoncomponent.
Test Coverage
- Add tests for the
SpinnerButtoncomponent to verify that props withundefinedvalues don't overwrite the props thatSpinnerButtonexplicitly passes to theButtoncomponent.
QA Brief
- When running through the steps to reproduce, the in-progress spinner appears in the CTA buttons.
Changelog entry
- Fix in-progress spinner not appearing in CTA buttons for banners and notices.
Metadata
Metadata
Assignees
Labels
P0High priorityHigh priorityTeam MIssues for Squad 2Issues for Squad 2Type: BugSomething isn't workingSomething isn't working