Documentation
¶
Index ¶
- type CreateModel
- type DetailModel
- type ListModel
- func (m ListModel) Count() int
- func (m ListModel) Init() tea.Cmd
- func (m ListModel) NCLines(w, h int) []string
- func (m ListModel) SelectedIssue() *types.Issue
- func (m ListModel) SelectedIssueText() string
- func (m ListModel) State() string
- func (m ListModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m ListModel) View() string
- type LocalPane
- type SettingsModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateModel ¶
type CreateModel struct {
// contains filtered or unexported fields
}
func NewCreate ¶
func NewCreate(gh *services.GitHub, ollama *services.OllamaClient, tmpls []types.Template, cfg types.Config) CreateModel
func (CreateModel) Init ¶
func (m CreateModel) Init() tea.Cmd
func (CreateModel) InterceptsKeys ¶
func (m CreateModel) InterceptsKeys() bool
InterceptsKeys returns true whenever a text input is focused so the root model skips global shortcut handling and passes all keys here directly.
func (*CreateModel) Reset ¶
func (m *CreateModel) Reset()
Reset returns the model to the template-selection step.
func (CreateModel) SetProgram ¶
func (m CreateModel) SetProgram(p *tea.Program) CreateModel
func (CreateModel) View ¶
func (m CreateModel) View() string
type DetailModel ¶
type DetailModel struct {
// contains filtered or unexported fields
}
func NewDetail ¶
func NewDetail(gh *services.GitHub) DetailModel
func (DetailModel) Init ¶
func (m DetailModel) Init() tea.Cmd
func (DetailModel) InterceptsKeys ¶
func (m DetailModel) InterceptsKeys() bool
func (DetailModel) SetIssue ¶
func (m DetailModel) SetIssue(issue *types.Issue) DetailModel
func (DetailModel) View ¶
func (m DetailModel) View() string
type ListModel ¶
type ListModel struct {
// contains filtered or unexported fields
}
func (ListModel) NCLines ¶
NCLines returns exactly h content lines each w visible characters wide for use inside the Norton Commander frame renderer.
func (ListModel) SelectedIssue ¶
func (ListModel) SelectedIssueText ¶
SelectedIssueText returns a short status-bar friendly string for the currently highlighted issue, e.g. "#4782 QA: Lifecycle modal".
type LocalPane ¶
type LocalPane struct {
// contains filtered or unexported fields
}
LocalPane is the left-side filesystem browser.
func NewLocalPane ¶
func NewLocalPane() LocalPane
NewLocalPane creates a LocalPane rooted at the process working directory.
func (LocalPane) NCLines ¶
NCLines returns exactly h content lines, each exactly w visible characters wide. This is called by the NC frame renderer.
type SettingsModel ¶
type SettingsModel struct {
// contains filtered or unexported fields
}
func NewSettings ¶
func NewSettings(cfg types.Config) SettingsModel
func (SettingsModel) Config ¶
func (m SettingsModel) Config() types.Config
func (SettingsModel) Init ¶
func (m SettingsModel) Init() tea.Cmd
func (SettingsModel) InterceptsKeys ¶
func (m SettingsModel) InterceptsKeys() bool
func (SettingsModel) View ¶
func (m SettingsModel) View() string