Documentation
¶
Index ¶
- Constants
- func CheckTasksCmd(lastHash uint64, stackName string) tea.Cmd
- func GetTasksHelpContent() []helpview.HelpCategory
- func LoadTasksCmd(stackName string) tea.Cmd
- type Model
- func (m *Model) FrameContent() string
- func (m *Model) FrameFooter() string
- func (m *Model) FrameHeader() string
- func (m *Model) FrameTitle() string
- func (m *Model) HasErrors() bool
- func (m *Model) Init() tea.Cmd
- func (m *Model) Name() string
- func (m *Model) OnEnter() tea.Cmd
- func (m *Model) OnExit() tea.Cmd
- func (m *Model) SetSize(width, height int)
- func (m *Model) ShortHelpItems() []helpbar.HelpEntry
- func (m *Model) Update(msg tea.Msg) tea.Cmd
- func (m *Model) View() string
- type PollRetryMsg
- type SortField
- type TasksLoadedMsg
- type TickMsg
Constants ¶
View Source
const PollInterval = 2 * time.Second
View Source
const ViewName = "tasks"
Variables ¶
This section is empty.
Functions ¶
func CheckTasksCmd ¶
CheckTasksCmd checks if tasks have changed and returns update message if so
func GetTasksHelpContent ¶
func GetTasksHelpContent() []helpview.HelpCategory
GetTasksHelpContent returns categorized help for the tasks view
func LoadTasksCmd ¶
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) FrameContent ¶
func (*Model) FrameFooter ¶
func (*Model) FrameHeader ¶
func (*Model) FrameTitle ¶
func (*Model) ShortHelpItems ¶
type PollRetryMsg ¶
type PollRetryMsg struct{}
PollRetryMsg signals that polling found no changes; the Update handler should schedule the next tick.
type TasksLoadedMsg ¶
Click to show internal directories.
Click to hide internal directories.