Skip to content

impl: poll workspaces when Toolbox screen becomes visible #176

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

fioan89
Copy link
Collaborator

@fioan89 fioan89 commented Aug 14, 2025

Some users complained that Coder Toolbox has a noticeable delay in rendering the workspaces
status compared with the web Dashboard, even though they have the same polling frequency,
which is every 5 seconds.
However, the web Dashboard also reacts and when the tab receives focus from the user which
improves the experience. This PR tries to implement the same behavior, when Coder Toolbox
screen becomes visible the polling is triggered immediately which should result in a status update.

Some users complained that Coder Toolbox has a noticeable delay in rendering the workspaces
status compared with the web Dashboard, even though they have the same polling frequency,
which is every 5 seconds.
However, the web Dashboard also reacts and when the tab receives focus from the user which
improves the experience. This PR tries to implement the same behavior, when Coder Toolbox
screen becomes visible the polling is triggered immediately which should result in a status update.
To be more consistent with the rest of the wakeup messages
@fioan89 fioan89 requested review from matifali and f0ssel August 14, 2025 22:07
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