Documentation
¶
Overview ¶
Package quality renders the quality indicator in the status bar.
Index ¶
- type Model
- func (m *Model) CloseDetail()
- func (m *Model) CompactView() string
- func (m *Model) ExpandedView(width, height int) string
- func (m *Model) HandleKeyPress(msg tea.KeyPressMsg) tea.Cmd
- func (m *Model) HasData() bool
- func (m *Model) InDetail() bool
- func (m *Model) Init() tea.Cmd
- func (m *Model) SetDB(db sqlite.DB) tea.Cmd
- func (m *Model) Update(msg tea.Msg) tea.Cmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model renders the quality policy status: pending count, estimated savings.
func (*Model) CloseDetail ¶
func (m *Model) CloseDetail()
CloseDetail exits the detail sub-view, returning to the category list.
func (*Model) CompactView ¶
CompactView renders the quality status for the statusbar.
func (*Model) ExpandedView ¶
ExpandedView renders the detailed quality status for the drawer.
func (*Model) HandleKeyPress ¶
func (m *Model) HandleKeyPress(msg tea.KeyPressMsg) tea.Cmd
HandleKeyPress handles keyboard navigation in the expanded drawer view.
Click to show internal directories.
Click to hide internal directories.