issueList

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomDelegate

type CustomDelegate struct {
	list.DefaultDelegate
}

func NewItemDelegate

func NewItemDelegate(keys *DelegateKeyMap) CustomDelegate

func (CustomDelegate) Render

func (d CustomDelegate) Render(w io.Writer, m list.Model, index int, item list.Item)

Render prints an listItem.

type DelegateKeyMap

type DelegateKeyMap struct {
	Choose  key.Binding
	Worklog key.Binding
	StopAll key.Binding
}

func NewDelegateKeyMap

func NewDelegateKeyMap() *DelegateKeyMap

func (DelegateKeyMap) FullHelp

func (d DelegateKeyMap) FullHelp() [][]key.Binding

func (DelegateKeyMap) ShortHelp

func (d DelegateKeyMap) ShortHelp() []key.Binding

type ListItem

type ListItem struct {
	Issue     *jira.Issue
	Stopwatch *stopwatch.Model
	LogText   string
}

func (*ListItem) Description

func (i *ListItem) Description() string

func (*ListItem) FilterValue

func (i *ListItem) FilterValue() string

func (*ListItem) GetIssue

func (i *ListItem) GetIssue() *jira.Issue

func (*ListItem) GetLogText

func (i *ListItem) GetLogText() *string

func (*ListItem) GetStopwatch

func (i *ListItem) GetStopwatch() *stopwatch.Model

func (*ListItem) Title

func (i *ListItem) Title() string

func (*ListItem) UpdateStopwatch

func (i *ListItem) UpdateStopwatch(msg tea.Msg) tea.Cmd

Jump to

Keyboard shortcuts

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