Skip to content

Add sidebar worktree reload button with shared spinner state#32

Merged
khoi merged 2 commits intosupabitapp:mainfrom
ivankristianto:codex/worktree-reload-spinner
Feb 9, 2026
Merged

Add sidebar worktree reload button with shared spinner state#32
khoi merged 2 commits intosupabitapp:mainfrom
ivankristianto:codex/worktree-reload-spinner

Conversation

@ivankristianto
Copy link
Copy Markdown
Contributor

Summary

  • add isRefreshingWorktrees state in RepositoriesFeature to track reload progress
  • wire refresh state to the existing .refreshWorktrees flow so keyboard shortcut, periodic refresh, and button share the same loading state
  • add a reload button in the sidebar footer with a spinning arrow.clockwise icon while refreshing
  • place the reload button between Help and Archived Worktrees in the footer

Verification

  • xcodebuild test -project supacode.xcodeproj -scheme supacode -destination "platform=macOS" -only-testing:supacodeTests/RepositoriesFeatureTests CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="" -skipMacroValidation
  • make build-app

@khoi khoi merged commit b6e837a into supabitapp:main Feb 9, 2026
1 check 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.

2 participants