google / site-kit-wp

Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
https://sitekit.withgoogle.com
Apache License 2.0
1.25k stars 290 forks source link

Extra modal 'Failed to enable metric' appearing and non-responsive when cancelled #9563

Open kelvinballoo opened 6 days ago

kelvinballoo commented 6 days ago

Bug Description

When we have the Update button in the 'Top Content' metric area for an audience tile, if we follow the below sequence, we will get two popups:

Another modal 'Failed to enable metric' appears and when you click Cancel there, nothing happens. Video is attached further down for reference.

Steps to reproduce

Another modal titled 'Failed to enable metric' appears and when you click Cancel there, nothing happens.

Screenshots

https://github.com/user-attachments/assets/cd63b574-e717-45da-811b-d26ae55c1659

Additional Context


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation Brief

Test Coverage

QA Brief

Changelog entry

nfmohit commented 1 day ago

IB ✅