Documentation
¶
Index ¶
- type ActivityModel
- func (m *ActivityModel) AppendContent(content string)
- func (m ActivityModel) BodyHeight() int
- func (m *ActivityModel) Clear(title, status, content string)
- func (m ActivityModel) Height() int
- func (m *ActivityModel) SetContent(title, status, content string)
- func (m *ActivityModel) SetFocused(focused bool)
- func (m *ActivityModel) SetSize(w, h int)
- func (m ActivityModel) Update(msg tea.Msg) (ActivityModel, tea.Cmd)
- func (m ActivityModel) View() string
- func (m ActivityModel) Width() int
- type ContextModel
- func (m *ContextModel) SetContent(title, subtitle string, lines []string)
- func (m *ContextModel) SetEmptyMessage(message string)
- func (m *ContextModel) SetFocused(focused bool)
- func (m *ContextModel) SetMode(mode string)
- func (m *ContextModel) SetSize(w, h int)
- func (m ContextModel) Update(msg tea.Msg) (ContextModel, tea.Cmd)
- func (m ContextModel) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityModel ¶
type ActivityModel struct {
// contains filtered or unexported fields
}
ActivityModel renders the bottom activity pane.
func NewActivityModel ¶
func NewActivityModel() ActivityModel
NewActivityModel creates a new workspace activity pane.
func (*ActivityModel) AppendContent ¶
func (m *ActivityModel) AppendContent(content string)
AppendContent appends streamed content.
func (ActivityModel) BodyHeight ¶
func (m ActivityModel) BodyHeight() int
BodyHeight returns the usable content height below the header and status line.
func (*ActivityModel) Clear ¶
func (m *ActivityModel) Clear(title, status, content string)
Clear resets the pane to a placeholder.
func (ActivityModel) Height ¶
func (m ActivityModel) Height() int
Height returns the current pane height.
func (*ActivityModel) SetContent ¶
func (m *ActivityModel) SetContent(title, status, content string)
SetContent replaces the displayed content.
func (*ActivityModel) SetFocused ¶
func (m *ActivityModel) SetFocused(focused bool)
SetFocused toggles focus styling.
func (*ActivityModel) SetSize ¶
func (m *ActivityModel) SetSize(w, h int)
SetSize updates the viewport dimensions.
func (ActivityModel) Update ¶
func (m ActivityModel) Update(msg tea.Msg) (ActivityModel, tea.Cmd)
Update handles pane-local navigation.
func (ActivityModel) Width ¶
func (m ActivityModel) Width() int
Width returns the current pane width.
type ContextModel ¶
type ContextModel struct {
// contains filtered or unexported fields
}
ContextModel renders the workspace summary pane.
func NewContextModel ¶
func NewContextModel() ContextModel
NewContextModel creates a workspace context pane.
func (*ContextModel) SetContent ¶
func (m *ContextModel) SetContent(title, subtitle string, lines []string)
SetContent replaces the pane content.
func (*ContextModel) SetEmptyMessage ¶
func (m *ContextModel) SetEmptyMessage(message string)
SetEmptyMessage updates the empty-state message.
func (*ContextModel) SetFocused ¶
func (m *ContextModel) SetFocused(focused bool)
SetFocused toggles focus styling.
func (*ContextModel) SetMode ¶
func (m *ContextModel) SetMode(mode string)
SetMode updates the context header mode label.
func (*ContextModel) SetSize ¶
func (m *ContextModel) SetSize(w, h int)
SetSize updates the pane dimensions.
func (ContextModel) Update ¶
func (m ContextModel) Update(msg tea.Msg) (ContextModel, tea.Cmd)
Update handles pane-local navigation.