Skip to content

Commit e9e8d1c

Browse files
authored
branchtree: extract branch tree rendering from widgets (#1004)
Add a new branchtree package that specializes fliptree for rendering branch trees with rich metadata (change IDs, worktrees, push status). This extracts and generalizes the rendering logic previously embedded in branch_select.go and log.go, providing a reusable Graph/Item model with configurable styling.
1 parent 64d31be commit e9e8d1c

File tree

7 files changed

+1287
-278
lines changed

7 files changed

+1287
-278
lines changed

internal/ui/branchtree/doc.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Package branchtree specializes fliptree to branches.
2+
package branchtree

0 commit comments

Comments
 (0)