Documentation
¶
Overview ¶
Package gitinfo implements a combined panel that displays branches, worktrees, and remotes as switchable tabs within a single panel. Tabs are selected with 1/2/3 keys or by clicking the tab bar.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IssueFilterKind ¶
type IssueFilterKind int
IssueFilterKind identifies the active quick-filter for the Issues tab.
func (IssueFilterKind) String ¶
func (f IssueFilterKind) String() string
type PRFilterKind ¶
type PRFilterKind int
PRFilterKind identifies the active quick-filter for the PRs tab.
func (PRFilterKind) String ¶
func (f PRFilterKind) String() string
type Panel ¶
--------------------------------------------------------------------------- Panel --------------------------------------------------------------------------- Panel is the gitinfo panel. It implements panels.Panel.
func New ¶
func New(gitOps gitOps, cfg config.GitConfig, ghCfg config.GitHubConfig, actionsCfg config.ActionsConfig, repoRoot, iconMode string) *Panel
New creates a new gitinfo panel showing only git tabs (branches, worktrees, remotes, stash, tags, reflog).
func NewGitHub ¶
func NewGitHub(gitOps gitOps, cfg config.GitConfig, ghCfg config.GitHubConfig, actionsCfg config.ActionsConfig, repoRoot, iconMode string) *Panel
NewGitHub creates a gitinfo panel showing only GitHub tabs (issues, PRs, actions, workflows, releases).
func (*Panel) Init ¶
--------------------------------------------------------------------------- panels.Panel interface --------------------------------------------------------------------------- Init implements panels.Panel.
func (*Panel) KeyBindings ¶
func (p *Panel) KeyBindings() []panels.KeyBinding
KeyBindings implements panels.Panel.
func (*Panel) SetActiveTab ¶
SetActiveTab switches the active tab by name. Valid names: "branches", "worktrees", "remotes", "stash", "tags", "reflog", "issues", "prs", "actions".