GitHub TUI
Find a file
Peter Preeper d95f06a519 refactor: improve code quality, add tests, and fix bugs across codebase
- Add generic paginate[T] helper eliminating pagination boilerplate
- Add reusable listDetailView[T] replacing per-tab view boilerplate
- Consolidate theme colours into theme.go (tcell vars + hex consts)
- Consolidate runStatusInfo as single source of truth for status rendering
- Add stale-result guards on all async success and error paths
- Fix trunc panic on limit <= 0
- Fix private repo icon [L] parsed as tview colour tag (now 🔒)
- Fix GetHeadCommit panic on empty SHA
- Fix tab bar mouse hit-test to use utf8.RuneCountInString
- Relax looksLikeToken length check for future-proof token validation
- Add GH_TOKEN env var fallback (gh CLI compat)
- Add .golangci.yml v2 config with targeted exclusion rules
- Remove unused App.cfg field
- Use slices.SortFunc/cmp.Compare (idiomatic Go 1.25)
- Pre-size highlight buffer to reduce allocations
- Add 41 unit tests (config parsing, token detection, UI helpers)
- Validate listConfig headers/widths length at construction time
2026-04-27 18:14:53 -06:00
internal refactor: improve code quality, add tests, and fix bugs across codebase 2026-04-27 18:14:53 -06:00
.gitignore Initial commit 2026-04-27 11:29:21 -06:00
.golangci.yml refactor: improve code quality, add tests, and fix bugs across codebase 2026-04-27 18:14:53 -06:00
go.mod feat: build GitHub TUI with repo tree, issues, PRs, actions, and code viewer 2026-04-27 12:49:16 -06:00
go.sum feat: build GitHub TUI with repo tree, issues, PRs, actions, and code viewer 2026-04-27 12:49:16 -06:00
LICENSE Initial commit 2026-04-27 11:29:21 -06:00
main.go refactor: improve code quality, add tests, and fix bugs across codebase 2026-04-27 18:14:53 -06:00
README.md bug fix 2026-04-27 13:13:15 -06:00

ght

GitHub TUI