Documentation
¶
Index ¶
Constants ¶
View Source
const ( NoteColumnKeyID = "id" NoteColumnKey = "title" NoteColumnPath = "path" NoteColumnLink = "task_title" NoteColumnParentType = "parent_type" )
Variables ¶
This section is empty.
Functions ¶
func RunProjectsModel ¶
func RunProjectsModel(m *AreasModel)
Types ¶
type AddAreaMsg ¶
type AddAreaMsg struct{}
type AddNoteMsg ¶
type AddNoteMsg struct{}
type AddTaskMsg ¶
type AddTaskMsg struct{}
type AreasModel ¶
type AreasModel struct {
// contains filtered or unexported fields
}
This is the task table "screen" model
func AreaViewModel ¶
func AreaViewModel() AreasModel
func (*AreasModel) Init ¶
func (m *AreasModel) Init() tea.Cmd
Init initializes the model (can use this to run commands upon model initialization)
func (AreasModel) View ¶
func (m AreasModel) View() string
type NotesModel ¶
func NotesView ¶
func NotesView() NotesModel
func (*NotesModel) Init ¶
func (m *NotesModel) Init() tea.Cmd
func (*NotesModel) View ¶
func (m *NotesModel) View() string
type RootModel ¶
type RootModel struct {
Height int
Width int
Tasks TaskModel
Notes NotesModel
Areas AreasModel
CurrentView View
PreviousView View
}
func NewRootModel ¶
func NewRootModel() RootModel
type SwitchToPreviousViewMsg ¶
type SwitchToPreviousViewMsg struct{}
type SwitchToProjectsTableViewMsg ¶
type SwitchToProjectsTableViewMsg struct{}
type SwitchToTasksTableViewMsg ¶
type SwitchToTasksTableViewMsg struct{}
Click to show internal directories.
Click to hide internal directories.