Help us shape the future of Go! Take the 2026 Go Developer Survey

dashboard

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() error

Run launches the interactive project and git dashboard.

Types

type ActionItem

type ActionItem struct {
	Action   string
	RepoName string
	FullPath string
}

type Model

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

Model is the Bubble Tea model for the dashboard.

func NewModel

func NewModel(projects []config.Project, devPath, editor string) Model

NewModel initializes the dashboard model with configured projects.

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 NotificationType added in v1.17.0

type NotificationType int
const (
	NotifySuccess NotificationType = iota
	NotifyError
	NotifyWarn
)

type PaneFocus

type PaneFocus int
const (
	FocusLeft PaneFocus = iota
	FocusRight
)

type ProjectItem

type ProjectItem struct {
	Project config.Project
}

ProjectItem adapts config.Project to the list.Item interface.

func (ProjectItem) Description

func (i ProjectItem) Description() string

func (ProjectItem) FilterValue

func (i ProjectItem) FilterValue() string

func (ProjectItem) Title

func (i ProjectItem) Title() string

type RepoStatus

type RepoStatus struct {
	IsCloned       bool
	IsDirty        bool
	Branch         string
	IsDetached     bool
	AheadCount     int
	BehindCount    int
	HasUpstream    bool
	UnstagedCount  int
	StagedCount    int
	UntrackedCount int
	ConflictCount  int
	OngoingOp      string
	Error          error
	Loading        bool
	LastUpdated    time.Time
}

RepoStatus holds the asynchronously loaded status of a repository.

Jump to

Keyboard shortcuts

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