tui

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 51 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cfg *config.Config, startupErr error, configPath string, startInSetup bool) error

Types

type GitPRItem

type GitPRItem = sourcecontrol.PRItem

type GitRepoStat

type GitRepoStat struct {
	Name     string
	Path     string
	Commits  int
	Reviewed int
	Assigned int
	Items    []GitPRItem
}

type JobDraft

type JobDraft struct {
	Name           string
	DryRunCommand  string
	Command        string
	ExitCode       int
	HasRunDryRun   bool
	DryRunInFlight bool
}

type Model

type Model struct {
	// contains filtered or unexported fields
}

func NewModel

func NewModel(cfg *config.Config, startupErr error) Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string
type NavItem struct {
	Kind          NavItemKind
	Note          *model.Note
	GitRepo       *GitRepoStat
	Draft         *JobDraft
	PendingGitPR  *GitPRItem
	ReviewRun     *review.ReviewRun
	BragRun       *brag.Run
	AutomationRun *automation.Run
	MyPR          *review.QueuedPR
}
type NavItemKind int
const (
	KindGitRepo NavItemKind = iota
	KindYesterdayDone
	KindTodayNote
	KindTodayDone
	KindPendingGit
	KindCarriedNote
	KindJobDraft
	KindReviewRun
	KindBragRun
	KindAutomationRun
	KindMyPR
)

type PendingRepoGroup

type PendingRepoGroup struct {
	Name  string
	Items []GitPRItem
}

type ViewMode

type ViewMode int
const (
	ViewDashboard ViewMode = iota
	ViewEdit
	ViewSearch
	ViewDeleteConfirm
	ViewPreview
	ViewInlineEdit
	ViewGitDetails
	ViewArchived
	ViewError
	ViewReviewConfirm
	ViewReviewRunConfirm
	ViewRejectComment
	ViewSearchPreview
	ViewHelp
	ViewBragList
	ViewBragView
	ViewBragConfirm
	ViewBragEdit
	ViewAutomationEdit
	ViewAutomationConfirm
	ViewActionMenu
	ViewLinkMenu
	ViewNotifyInput
	ViewSetup
	ViewSetupDiscard
	ViewRecreateConfirm
	ViewRecreateRow
)

Directories

Path Synopsis
Package textarea provides a multi-line text input component for Bubble Tea applications.
Package textarea provides a multi-line text input component for Bubble Tea applications.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL