Skip to content
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

fix: before fetching subscriptions, ensure modal is visible #8389

Merged
merged 5 commits into from Jul 14, 2021

Conversation

benbrown
Copy link
Contributor

Description

Several modal components were firing API calls to fetch Azure subscriptions even if they were not visible on screen. This PR adds a check for the visibility to ensure we aren't doing unnecessary fetches.

This will prevent weird popups from appearing when a token expires.

Task Item

fixes #8367

@cypress
Copy link

cypress bot commented Jul 13, 2021



Test summary

16 0 1 0Flakiness 0


Run details

Project Composer
Status Passed
Commit adc82c0
Started Jul 14, 2021 4:22 PM
Ended Jul 14, 2021 4:28 PM
Duration 06:05 💡
OS Linux Ubuntu - 20.04
Browser Electron 89

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@coveralls
Copy link

coveralls commented Jul 13, 2021

Coverage Status

Coverage increased (+0.002%) to 55.767% when pulling adc82c0 on benbrown/extrasubs into 72c4e3a on main.

@benbrown benbrown merged commit 7bd8e3e into main Jul 14, 2021
@benbrown benbrown deleted the benbrown/extrasubs branch July 14, 2021 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Access token expiry error message
4 participants