Documentation
¶
Index ¶
- type Model
- func (m Model) GetSelectedTasks() []core.Task
- func (m Model) GetVisibleTasks() []TaskItem
- func (m Model) Selected() (TaskItem, bool)
- func (m *Model) SetAllTasks(ts []core.Task)
- func (m *Model) SetAnimation(taskID string, start time.Time, duration time.Duration, reverse bool)
- func (m *Model) SetCreationAnimation(taskID string, start time.Time, duration time.Duration)
- func (m *Model) SetRightOrder(order []string)
- func (m *Model) SetSize(w, h int)
- func (m *Model) SetTagsConfig(cfg map[string]string)
- func (m *Model) SetTasks(ts []core.Task)
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m Model) View() string
- type TaskItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
Animations bool
ViewTransitioning bool
ViewTransitionProgress float64
DeletingTaskID string
DeleteProgress float64
DueMinimal bool
TagsHighlight map[string]string // Added for tag highlighting
// contains filtered or unexported fields
}
func (Model) GetSelectedTasks ¶
func (Model) GetVisibleTasks ¶
func (*Model) SetAllTasks ¶
func (*Model) SetAnimation ¶
func (*Model) SetCreationAnimation ¶
func (*Model) SetRightOrder ¶
func (*Model) SetTagsConfig ¶
Click to show internal directories.
Click to hide internal directories.