Skip to content

fix: poll for notifications only when visible - #38466

Merged
pauldambra merged 1 commit into
masterfrom
fix/poll-when-visible
Sep 22, 2025
Merged

pauldambra merged 1 commit into
masterfrom
fix/poll-when-visible

Conversation

@pauldambra

Copy link
Copy Markdown
Member
Screenshot 2025-09-22 at 20 46 03

observed this API polling while the page was not visible
but it shouldn't do

let's alter how we detect if we should be polling
it might be keeping the page alive, stopping background tabs being inactive, and anyway it's unnecessary

@github-actions

Copy link
Copy Markdown
Contributor

Size Change: 0 B

Total Size: 3.05 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 3.05 MB

compressed-size-action

@pauldambra
pauldambra enabled auto-merge (squash) September 22, 2025 20:04

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 files reviewed, no comments

Edit Code Review Bot Settings | Greptile

@pauldambra
pauldambra merged commit cb6a3e9 into master Sep 22, 2025
@pauldambra
pauldambra deleted the fix/poll-when-visible branch September 22, 2025 20:19
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.

2 participants