Documentation
¶
Index ¶
- Constants
- Variables
- func DBToQueue() queue.Queue
- type Card
- type CardDelegate
- type CardStyles
- type CheckItemStyles
- type CheckListDelegate
- type Item
- type Label
- type LabelItemStyles
- type LabelListDelegate
- type Menu
- type Meta
- type Project
- type Selector
- type UnfocusedCardDelegate
- type UnfocusedCardStyles
- type UnfocusedCheckItemStyles
- type UnfocusedCheckListDelegate
- type WindowSize
Constants ¶
View Source
const ( PROJECT_TITLE = "Project Title" BOARD_TITLE = "Board Title" CARD_TITLE = "Card Title" )
output strings
Variables ¶
View Source
var ( BLACK = lipgloss.Color("#000000") WHITE = lipgloss.Color("#ffffff") RED = lipgloss.Color("#ba3525") BLUE = lipgloss.Color("#77ccee") YELLOW = lipgloss.Color("#fecc00") GREEN = lipgloss.Color("#0edd1e") DefaultBorderColor = lipgloss.Color("#fc5603") DoneItemColor = lipgloss.Color("#0ff702") )
Colors
View Source
var ( DefaultStyle lipgloss.Style EmptyStyle lipgloss.Style SelectedTxtStyle lipgloss.Style InputFieldStyle lipgloss.Style InputNoFieldStyle lipgloss.Style TextAreaStyle lipgloss.Style ListStyle lipgloss.Style SelectedListStyle lipgloss.Style MoveStyle lipgloss.Style DoneItemStyle lipgloss.Style ProjectListStyle lipgloss.Style ProjectListSelectedStyle lipgloss.Style ProjectTitle lipgloss.Style CardStyle lipgloss.Style )
Styles
Functions ¶
Types ¶
type Card ¶
type Card struct {
// contains filtered or unexported fields
}
Implements tea.Model
func (*Card) UpdateCard ¶
func (c *Card) UpdateCard()
type CardDelegate ¶
type CardDelegate struct { ShowDescription bool Styles CardStyles UpdateFunc func(tea.Msg, *list.Model) tea.Cmd // contains filtered or unexported fields }
func NewCardDelegate ¶
func NewCardDelegate() CardDelegate
func (CardDelegate) Height ¶
func (d CardDelegate) Height() int
func (CardDelegate) Spacing ¶
func (d CardDelegate) Spacing() int
type CardStyles ¶
type CardStyles struct { NormalTitle lipgloss.Style NormalDesc lipgloss.Style SelectedTitle lipgloss.Style SelectedDesc lipgloss.Style }
func NewCardStyles ¶
func NewCardStyles() (s CardStyles)
type CheckItemStyles ¶
type CheckItemStyles struct { NormalTitle lipgloss.Style NormalDoneTitle lipgloss.Style SelectedTitle lipgloss.Style SelectedDoneTitle lipgloss.Style }
func NewCheckItemStyles ¶
func NewCheckItemStyles() (s CheckItemStyles)
type CheckListDelegate ¶
type CheckListDelegate struct { ShowDescription bool Styles CheckItemStyles UpdateFunc func(tea.Msg, *list.Model) tea.Cmd // contains filtered or unexported fields }
func NewCheckListDelegate ¶
func NewCheckListDelegate() CheckListDelegate
func (CheckListDelegate) Height ¶
func (d CheckListDelegate) Height() int
func (CheckListDelegate) Spacing ¶
func (d CheckListDelegate) Spacing() int
type Item ¶
type Item struct {
// contains filtered or unexported fields
}
func (Item) Description ¶
func (Item) FilterValue ¶
type LabelItemStyles ¶
type LabelItemStyles struct { NormalTitle lipgloss.Style NormalDesc lipgloss.Style SelectedTitle lipgloss.Style SelectedDesc lipgloss.Style }
func NewLabelItemStyles ¶
func NewLabelItemStyles() (s LabelItemStyles)
type LabelListDelegate ¶
type LabelListDelegate struct { ShowDescription bool Styles LabelItemStyles UpdateFunc func(tea.Msg, *list.Model) tea.Cmd // contains filtered or unexported fields }
func NewLabelListDelegate ¶
func NewLabelListDelegate() LabelListDelegate
func NewUnfocusedCardLabelDelegate ¶
func NewUnfocusedCardLabelDelegate() LabelListDelegate
func (LabelListDelegate) Height ¶
func (d LabelListDelegate) Height() int
func (LabelListDelegate) Spacing ¶
func (d LabelListDelegate) Spacing() int
type Menu ¶
type Menu struct {
// contains filtered or unexported fields
}
Implements tea.Model
func (*Menu) UpdateMenu ¶
func (m *Menu) UpdateMenu()
type Meta ¶
type Meta struct {
// contains filtered or unexported fields
}
List Implement list.Item interface
type Project ¶
type Project struct {
// contains filtered or unexported fields
}
implements tea.Model
func (*Project) UpdateProject ¶
func (p *Project) UpdateProject()
type Selector ¶
type Selector struct {
// contains filtered or unexported fields
}
Implements tea.Model
func (*Selector) QueueToKanban ¶
type UnfocusedCardDelegate ¶
type UnfocusedCardDelegate struct { ShowDescription bool Styles UnfocusedCardStyles UpdateFunc func(tea.Msg, *list.Model) tea.Cmd // contains filtered or unexported fields }
func NewUnfocusedCardDelegate ¶
func NewUnfocusedCardDelegate() UnfocusedCardDelegate
func (UnfocusedCardDelegate) Height ¶
func (d UnfocusedCardDelegate) Height() int
func (UnfocusedCardDelegate) Spacing ¶
func (d UnfocusedCardDelegate) Spacing() int
type UnfocusedCardStyles ¶
type UnfocusedCardStyles struct { NormalTitle lipgloss.Style NormalDesc lipgloss.Style SelectedTitle lipgloss.Style SelectedDesc lipgloss.Style }
func NewUnfocusedCardStyles ¶
func NewUnfocusedCardStyles() (s UnfocusedCardStyles)
type UnfocusedCheckItemStyles ¶
type UnfocusedCheckItemStyles struct { NormalTitle lipgloss.Style NormalDoneTitle lipgloss.Style SelectedTitle lipgloss.Style SelectedDoneTitle lipgloss.Style }
func NewUnfocusedCheckItemStyles ¶
func NewUnfocusedCheckItemStyles() (s UnfocusedCheckItemStyles)
type UnfocusedCheckListDelegate ¶
type UnfocusedCheckListDelegate struct { ShowDescription bool Styles UnfocusedCheckItemStyles UpdateFunc func(tea.Msg, *list.Model) tea.Cmd // contains filtered or unexported fields }
func NewUnfocusedCheckListDelegate ¶
func NewUnfocusedCheckListDelegate() UnfocusedCheckListDelegate
func (UnfocusedCheckListDelegate) Height ¶
func (d UnfocusedCheckListDelegate) Height() int
func (UnfocusedCheckListDelegate) Spacing ¶
func (d UnfocusedCheckListDelegate) Spacing() int
Click to show internal directories.
Click to hide internal directories.