-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some components remain in loading state on error #4542
Comments
@wpdarren would you please give this a test to see if you're able to reproduce it? |
@aaemnnosttv yes, I was able to reproduce this. Rather than seeing the |
IBR ✔️ |
@eugene-manuilov I just realized the suggested changes also apply to our |
Yes, looks good to me, @aaemnnosttv. Thanks for adding it! IB ✔️ |
Moving this to the next release due to some unforeseen side effects that have come up as a result of these changes. |
Bug Description
Given a user that is authorized to a module (
Analytics
), after the user is granted the appropriate permissions and the user connects both modules if the user no longer has access to the data of those modules (the user permissions were removed fromAnalytics
orSearch Console
the module never terminates the loading process and remains to load when visiting the modules section.Steps to reproduce
Screenshots
Analytics
Search Console
Main Dashboard
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
isGatheringData
andhasZeroData
selectors such that:getReport
has not yet finished resolution, returnundefined
getReport
has finished resolution and the report is not an array returnfalse
– an error occurred while fetching the reportgetReport(...)
is used to infer a loading statehasFinishedResolution
is available, remove the comparison based on the report valuehasFinishedResolution
insteadisGatheringData
so farTest Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: