Skip to content

Fix menubar stuck loading, double-click tabs, oversized disconnected tabs#274

Merged
iamtoruk merged 1 commit intomainfrom
fix/menubar-wake-tabs
May 8, 2026
Merged

Fix menubar stuck loading, double-click tabs, oversized disconnected tabs#274
iamtoruk merged 1 commit intomainfrom
fix/menubar-wake-tabs

Conversation

@iamtoruk
Copy link
Copy Markdown
Member

@iamtoruk iamtoruk commented May 8, 2026

Summary

  • Stuck loading after sleep: track forceRefreshTask and cancel on willSleep, reset loadingCount on wake
  • Double-click on pill tabs: replace Button wrapper with onTapGesture so NSPopover tooltip doesn't eat the first click
  • Oversized disconnected tabs: quota bar slot only renders when connected, not for every quota-capable provider

Test plan

  • Swift release build succeeds (arm64 + x86_64)
  • All tabs switch on single click (including Claude/Codex with hover tooltip)
  • Claude/Codex tabs same height as other tabs when not connected
  • Hover tooltip still appears on Claude/Codex tabs
  • Sleep/wake cycle: loading bar clears and data refreshes

…rsized disconnected tabs

Sleep: track forceRefreshTask and cancel it on willSleep alongside
refreshLoopTask. Reset loadingCount on wake so orphaned fetches from
before sleep cannot leave the loading bar stuck.

Tabs: replace Button wrapper with onTapGesture on AgentTab so the
NSPopover hover tooltip does not eat the first click. Add
clickDismissed guard to prevent the popover from re-showing while
the mouse is still over the tab after a tap.

Tab size: only render the quota bar slot when quota data exists
(connected), not for every provider that supports quota. Disconnected
Claude/Codex tabs are now the same height as other tabs.
@iamtoruk iamtoruk merged commit 63d4da6 into main May 8, 2026
3 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.

1 participant