Documentation
¶
Index ¶
Constants ¶
View Source
const ( // TargetFPS is the maximum frames per second we want to achieve TargetFPS = 60 // FrameDuration is the minimum duration between frames FrameDuration = time.Second / TargetFPS // SpinnerFPS is the update rate for the spinner SpinnerFPS = 15 // SpinnerDuration is the duration between spinner updates SpinnerDuration = time.Second / SpinnerFPS // JobCheckInterval is how often we check for running jobs status JobCheckInterval = 100 * time.Millisecond )
Variables ¶
View Source
var Version string
Version exposes the application version for use across the TUI.
Functions ¶
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model represents the main application state for Bubbletea
type SidePanelType ¶
type SidePanelType int
SidePanelType represents which side panel is active
const ( NonePanel SidePanelType = iota BranchPanel RemotePanel RemoteBranchPanel CommitPanel StashPanel StatusPanel )
type Styles ¶
type Styles struct {
Title lipgloss.Style
StatusBarPull lipgloss.Style
StatusBarMerge lipgloss.Style
StatusBarCredentials lipgloss.Style
StatusBarRebase lipgloss.Style
StatusBarPush lipgloss.Style
StatusBarDisabled lipgloss.Style
StatusBarError lipgloss.Style
Help lipgloss.Style
List lipgloss.Style
ListItem lipgloss.Style
CredentialsSelectedItem lipgloss.Style
SelectedItem lipgloss.Style
DisabledSelectedItem lipgloss.Style
CommonSelectedItem lipgloss.Style
FailedSelectedItem lipgloss.Style
CredentialsItem lipgloss.Style
QueuedItem lipgloss.Style
PendingItem lipgloss.Style
WorkingItem lipgloss.Style
SuccessItem lipgloss.Style
FailedItem lipgloss.Style
DisabledItem lipgloss.Style
BranchInfo lipgloss.Style
KeyBinding lipgloss.Style
Panel lipgloss.Style
PanelTitle lipgloss.Style
Error lipgloss.Style
TableBorder lipgloss.Style
}
Styles holds all lipgloss styles for the UI
Click to show internal directories.
Click to hide internal directories.