Documentation
¶
Overview ¶
Package merge provides a TUI component for displaying merge progress.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompleteMsg ¶
type CompleteMsg struct {
Summary string
}
CompleteMsg indicates the merge is complete
type EstimatedDurationMsg ¶
EstimatedDurationMsg updates the estimated duration
type Model ¶
type Model struct {
core.BaseModel // Embedded for ReadySignaler interface
Groups []Group
Steps []StepItem
CurrentIdx int
Quitting bool // unique to merge, used in View()
EstimatedDuration time.Duration
Summary string
// contains filtered or unexported fields
}
Model is the bubbletea model for merge progress It embeds core.BaseModel for standard lifecycle handling.
type PlanLoadedMsg ¶
PlanLoadedMsg indicates the merge plan has been loaded
type StepCompleteMsg ¶
type StepCompleteMsg struct {
StepIndex int
}
StepCompleteMsg indicates a step has completed
type StepFailedMsg ¶
StepFailedMsg indicates a step has failed
type StepItem ¶
type StepItem struct {
StepIndex int
Description string
Status StepStatus
Error error
WaitElapsed time.Duration
WaitTimeout time.Duration
Checks []github.CheckDetail
}
StepItem represents a step in the merge process
type StepStartMsg ¶
StepStartMsg indicates a step has started
type StepStatus ¶
type StepStatus string
StepStatus represents the status of a merge step
const ( StatusPending StepStatus = "pending" StatusRunning StepStatus = "running" StatusWaiting StepStatus = "waiting" StatusDone StepStatus = "done" StatusError StepStatus = "error" )
Step status constants
type StepWaitingMsg ¶
type StepWaitingMsg struct {
StepIndex int
Elapsed time.Duration
Timeout time.Duration
Checks []github.CheckDetail
}
StepWaitingMsg indicates a step is waiting for CI
Click to show internal directories.
Click to hide internal directories.