taskpopup

package
v2.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2026 License: MIT Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteForm

type DeleteForm struct {
	Width  int
	Height int
	// contains filtered or unexported fields
}

func NewDeleteForm

func NewDeleteForm(w int, h int) *DeleteForm

func (DeleteForm) GetText

func (m DeleteForm) GetText() string

func (DeleteForm) Init

func (m DeleteForm) Init() tea.Cmd

func (*DeleteForm) Update

func (m *DeleteForm) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*DeleteForm) View

func (m *DeleteForm) View() string

type Form

type Form struct {
	Width      int
	Height     int
	Keymap     keymap.TaskFormMap
	TitleInput textinput.Model
	DescInput  textarea.Model
}

func NewForm

func NewForm(w int, h int) *Form

func (*Form) AreaView

func (m *Form) AreaView() string

func (Form) Init

func (m Form) Init() tea.Cmd

func (*Form) InputView

func (m *Form) InputView() string

func (*Form) Update

func (m *Form) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Form) View

func (m *Form) View() string

type SelectStatus

type SelectStatus struct {
	Width    int
	Height   int
	Opts     []enums.TaskStatus
	TitleMap map[enums.TaskStatus]string
	Selected int
}

func NewSelect

func NewSelect(w int, h int) *SelectStatus

func (SelectStatus) GetText

func (m SelectStatus) GetText() string

func (SelectStatus) Init

func (m SelectStatus) Init() tea.Cmd

func (*SelectStatus) Update

func (m *SelectStatus) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*SelectStatus) View

func (m *SelectStatus) View() string

type TaskPopup

type TaskPopup struct {
	Width      int
	Height     int
	Type       enums.TaskPopup
	Keymap     keymap.TaskPopupMap
	Help       help.Model
	Form       *Form
	Select     *SelectStatus
	DeleteForm *DeleteForm
	ShowSelect bool
}

func NewPopup

func NewPopup(w int, h int, typ enums.TaskPopup) *TaskPopup

func (*TaskPopup) Init

func (m *TaskPopup) Init() tea.Cmd

func (*TaskPopup) Update

func (m *TaskPopup) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*TaskPopup) View

func (m *TaskPopup) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL