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(web): Stop fetching context data on window focus #5568

Draft
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

SokratisVidros
Copy link
Contributor

What changed? Why was the change needed?

Every time the window gets focused, six requests are triggered to fetch orgs, users, changes, subscriptions, etc...

Screenshots

<img width="624" alt="Screenshot 2024-05-14 at 18 37 02" src="https://github.com/novuhq/novu/assets/1352422/64260d02-622a-4910-b3e9-0e3a6584f500"

Everytime the window gets focus, six requests are triggered to fetch orgs, users, changes, subscriptions, etc...
@SokratisVidros SokratisVidros self-assigned this May 14, 2024
Copy link

netlify bot commented May 14, 2024

Deploy Preview for novu-design ready!

Name Link
🔨 Latest commit 8cf2a87
🔍 Latest deploy log https://app.netlify.com/sites/novu-design/deploys/66438549ab69d8000886f973
😎 Deploy Preview https://deploy-preview-5568--novu-design.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented May 14, 2024

Deploy Preview for dev-web-novu ready!

Name Link
🔨 Latest commit 8cf2a87
🔍 Latest deploy log https://app.netlify.com/sites/dev-web-novu/deploys/66438549866ede000874c956
😎 Deploy Preview https://deploy-preview-5568--dev-web-novu.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant