redesign gitctl repository workspace
Build binaries / Build binaries (push) Failing after 59s

This commit is contained in:
Jabberwocky238
2026-07-30 06:12:07 -04:00
parent 4788342958
commit d973349869
3 changed files with 221 additions and 78 deletions
+23
View File
@@ -132,6 +132,29 @@ func newListModel(items []list.Item, width, height int) list.Model {
return l
}
func newNavigationListModel(items []list.Item, width, height int) list.Model {
d := list.NewDefaultDelegate()
d.ShowDescription = false
d.SetHeight(1)
d.SetSpacing(0)
d.Styles.SelectedTitle = lipgloss.NewStyle().
Border(lipgloss.NormalBorder(), false, false, false, true).
BorderForeground(colorAccent).
Foreground(colorAccent).Bold(true).
Padding(0, 0, 0, 1)
d.Styles.NormalTitle = lipgloss.NewStyle().Padding(0, 0, 0, 2)
l := list.New(items, d, width, height)
l.SetShowTitle(false)
l.SetShowStatusBar(false)
l.SetShowHelp(false)
l.SetShowPagination(true)
l.DisableQuitKeybindings()
l.KeyMap.ShowFullHelp.SetEnabled(false)
l.KeyMap.CloseFullHelp.SetEnabled(false)
return l
}
func repoItems(repos []repoRow) []list.Item {
items := make([]list.Item, len(repos))
for i := range repos {