Filter the recent repositories menu as you type

Picking a repository out of that list is the other place where the menu is
a list to search rather than a set of commands, and its items have no keys
that typing could clash with.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Stefan Haller
2026-08-31 20:41:22 +02:00
co-authored by Claude Opus 5
parent bb7e74968b
commit 4116a15dae
3 changed files with 43 additions and 1 deletions
+5 -1
View File
@@ -153,7 +153,11 @@ func (self *ReposHelper) CreateRecentReposMenu() error {
}
})
return self.c.Menu(types.CreateMenuOptions{Title: self.c.Tr.RecentRepos, Items: menuItems})
return self.c.Menu(types.CreateMenuOptions{
Title: self.c.Tr.RecentRepos,
Items: menuItems,
FilterAsYouType: true,
})
}
// SwitchToParentRepo switches back to the repo the current submodule was