Documentation ¶
Index ¶
- Constants
- func FetchAllSections(ctx context.ProgramContext) (sections []section.Section, fetchAllCmd tea.Cmd)
- func GetSectionColumns(cfg config.IssuesSectionConfig, ctx *context.ProgramContext) []table.Column
- type Model
- func (m Model) BuildRows() []table.Row
- func (m *Model) FetchNextPageSectionRows() []tea.Cmd
- func (m *Model) GetCurrRow() data.RowData
- func (m Model) GetItemPluralForm() string
- func (m Model) GetItemSingularForm() string
- func (m Model) GetPagerContent() string
- func (m Model) GetTotalCount() *int
- func (m Model) IsLoading() bool
- func (m *Model) NumRows() int
- func (m *Model) ResetRows()
- func (m Model) Update(msg tea.Msg) (section.Section, tea.Cmd)
- func (m *Model) UpdateLastUpdated(t time.Time)
- type SectionIssuesFetchedMsg
- type UpdateIssueMsg
Constants ¶
View Source
const SectionType = "issue"
Variables ¶
This section is empty.
Functions ¶
func FetchAllSections ¶
func GetSectionColumns ¶
func GetSectionColumns( cfg config.IssuesSectionConfig, ctx *context.ProgramContext, ) []table.Column
Types ¶
type Model ¶
func NewModel ¶
func NewModel( id int, ctx *context.ProgramContext, cfg config.IssuesSectionConfig, lastUpdated time.Time, ) Model
func (*Model) FetchNextPageSectionRows ¶
func (*Model) GetCurrRow ¶
func (Model) GetItemPluralForm ¶
func (Model) GetItemSingularForm ¶
func (Model) GetPagerContent ¶ added in v4.6.0
func (Model) GetTotalCount ¶ added in v4.3.0
func (*Model) UpdateLastUpdated ¶
type SectionIssuesFetchedMsg ¶
type UpdateIssueMsg ¶
Click to show internal directories.
Click to hide internal directories.