mirror of
https://github.com/stablyai/orca.git
synced 2026-09-23 00:02:29 +00:00
fix: clear repo filter after creating worktree instead of auto-filtering (#64)
Previously, creating a worktree would auto-filter the sidebar to the current repo, which could be confusing. Now clears the filter so all worktrees remain visible, relying on revealWorktreeInSidebar to scroll to the newly created worktree. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
cd14506142
commit
ecbbe3bfc9
@@ -128,7 +128,7 @@ const AddWorktreeDialog = React.memo(function AddWorktreeDialog() {
|
||||
setSidebarOpen(true)
|
||||
setSearchQuery('')
|
||||
setShowActiveOnly(false)
|
||||
setFilterRepoId(repoId)
|
||||
setFilterRepoId(null)
|
||||
setActiveWorktree(wt.id)
|
||||
revealWorktreeInSidebar(wt.id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user