Documentation
¶
Index ¶
- Constants
- Variables
- func New() *ui
- func NewAssignableUI()
- func NewCommentUI()
- func NewFilterUI()
- func NewIssueUI()
- func NewLabelsUI()
- func NewMilestoneUI()
- func NewProjectUI()
- func NewSearchUI()
- func NewViewUI(uiKind UIKind)
- type CaptureFunc
- type FilterUI
- type GetListFunc
- type Primitive
- type SearchFunc
- type SelectUI
- func (ui *SelectUI) ClearSelected()
- func (ui *SelectUI) ClearView()
- func (ui *SelectUI) FetchList()
- func (ui *SelectUI) GetList()
- func (ui *SelectUI) GetSelect() domain.Item
- func (ui *SelectUI) Init()
- func (ui *SelectUI) SetList(list []domain.Item)
- func (ui *SelectUI) UpdateItem(item domain.Item)
- func (ui *SelectUI) UpdateView()
- type SetFilterOpt
- type SetSelectUIOpt
- type UIKind
- type ViewUI
Constants ¶
View Source
const ( UIKindIssue UIKind = "issues" UIKindAssignee = "assignees" UIKindComment = "comments" UIKindLabel = "labels" UIKindMilestones = "milestones" UIKindProject = "projects" UIKindIssueView = "issue preview" UIKindCommentView = "comment preview" UIKindCommonView = "preview" )
Variables ¶
View Source
var SearchUI *searchUI
View Source
var (
UI *ui
)
Functions ¶
func NewAssignableUI ¶
func NewAssignableUI()
func NewCommentUI ¶
func NewCommentUI()
func NewFilterUI ¶
func NewFilterUI()
func NewIssueUI ¶
func NewIssueUI()
func NewLabelsUI ¶
func NewLabelsUI()
func NewMilestoneUI ¶
func NewMilestoneUI()
func NewProjectUI ¶
func NewProjectUI()
func NewSearchUI ¶
func NewSearchUI()
Types ¶
type CaptureFunc ¶
type CaptureFunc func(event *tcell.EventKey) *tcell.EventKey
type SearchFunc ¶
type SearchFunc func(text string)
type SelectUI ¶
var AssigneesUI *SelectUI
var CommentUI *SelectUI
var IssueUI *SelectUI
var LabelUI *SelectUI
var MilestoneUI *SelectUI
var ProjectUI *SelectUI
func NewSelectListUI ¶
func NewSelectListUI(uiKind UIKind, boxColor tcell.Color, setOpt SetSelectUIOpt) *SelectUI
func (*SelectUI) ClearSelected ¶
func (ui *SelectUI) ClearSelected()
func (*SelectUI) UpdateItem ¶
func (*SelectUI) UpdateView ¶
func (ui *SelectUI) UpdateView()
type SetFilterOpt ¶
type SetFilterOpt func(ui *FilterUI)
type SetSelectUIOpt ¶
type SetSelectUIOpt func(ui *SelectUI)
Click to show internal directories.
Click to hide internal directories.