feat(ui): Branches tab in the Repo box #110
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/105-branches-tab"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Part 2 of 3 of #98. The
[6]Repo box's Branches tab now lists the repo's branches and shows the selected branch's recent commits. Read-only.Changes
forge.BranchReadercapability (+ActBranches), implemented by the Gitea/Forgejo and GitHub adapters and the fake/demo forge;domain.Branchanddomain.Commit.core.Servicecaches branches (sorted: default first, then newest commit) and commits per branch;core.KeygainsRef.defaultmarker, last commit subject and age, and#Nwhen an open PR comes from that branch.j/k/gg/Gmove a cursor, the commit list below follows it, andoopens the branch in the browser.docs/design.md,docs/architecture.md,docs/mockup.htmlupdated.Decisions
Test plan
go test -race,golangci-lint(0 issues), format check, govulncheck: pass locally.make check's install-script test needsshellcheck, absent on this machine; CI runs it.Refs #105, #98
🤖 Generated with Claude Code
https://claude.ai/code/session_01RTN2GnGvYhWwPhsSDiWp8n