Skip to content

fix(commits): stop polling hidden task panels#226

Merged
johannesjo merged 1 commit into
johannesjo:mainfrom
LarryHu0217:codex/gate-hidden-commit-poll-205
Jul 15, 2026
Merged

fix(commits): stop polling hidden task panels#226
johannesjo merged 1 commit into
johannesjo:mainfrom
LarryHu0217:codex/gate-hidden-commit-poll-205

Conversation

@LarryHu0217

Copy link
Copy Markdown
Contributor

Summary

  • stop the five-second branch-commit poll while a tiled task panel is offscreen
  • only poll the active task panel in focus mode
  • refresh immediately when a task panel becomes visible again
  • cover tiled and focus-mode visibility decisions with unit tests

Closes #205

Test plan

  • npm run check
  • npm run check:static
  • npm run test:security-rules
  • npm test (92 passed, 2 skipped; 1564 tests passed, 23 skipped)

@LarryHu0217
LarryHu0217 marked this pull request as ready for review July 14, 2026 20:18
@johannesjo

Copy link
Copy Markdown
Owner

Thank you very much for this! <3

@johannesjo
johannesjo merged commit 1de7344 into johannesjo:main Jul 15, 2026
2 checks passed
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.

Every mounted task panel polls GetBranchCommits every 5s regardless of visibility

2 participants