Documentation
¶
Overview ¶
Package views holds the per-screen render + Update logic. Each file implements one ViewID. App in pkg/ui wires them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmptyView ¶
EmptyView is a transitional placeholder for views that are not yet ported. Each greenfield PR replaces one of these with the real implementation.
func (EmptyView) HeaderKeys ¶
type PickerView ¶
type PickerView struct {
// contains filtered or unexported fields
}
PickerView is the fuzzy dataset list (mock §5.4). One column, search bar at top doubles as title. Selection rail + SelRow bg on focused row.
func NewPicker ¶
func NewPicker() *PickerView
NewPicker returns an empty picker that fetches on first render.
func (*PickerView) HeaderKeys ¶
func (v *PickerView) HeaderKeys() []ui.KeyHint
func (*PickerView) Init ¶
func (v *PickerView) Init() tea.Cmd
type Placeholder ¶
Placeholder renders the "not built yet" body for views that have not been implemented during the greenfield migration. It accepts the active view label and a one-line hint.
Once each view (results / metrics / time / saved / help) gets its real implementation, this helper is deleted.
func (Placeholder) Init ¶
func (Placeholder) Init() (cmd interface{ Run() })