Documentation
¶
Overview ¶
Package issueimport implements the direct-store forge import review overlay.
Index ¶
- func IsMessage(message tea.Msg) bool
- type Backend
- type Model
- func (m Model) BrandMounted() bool
- func (m *Model) Close()
- func (m *Model) ConsumeChanged() bool
- func (m Model) Enabled() bool
- func (m Model) IsOpen() bool
- func (m *Model) MouseHandler(width, height int) func(tea.MouseMsg) tea.Cmd
- func (m *Model) Open() tea.Cmd
- func (m Model) Overlay(background string, width, height int) string
- func (m Model) PointerSession() uint64
- func (m *Model) PointerSurface(width, height int) pointer.Surface
- func (m *Model) SetDataDir(dir string)
- func (m *Model) SetFrontMost(front bool) tea.Cmd
- func (m *Model) SetStyles(styles *theme.Styles)
- func (m *Model) Update(message tea.Msg) tea.Cmd
- func (m Model) View(width, height int) string
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (Model) BrandMounted ¶
BrandMounted reports whether this overlay's branded engine is ticking.
func (*Model) ConsumeChanged ¶
func (*Model) MouseHandler ¶
MouseHandler returns a release-only immutable map derived from the rendered frame. Every target comes from the row that carries it, never from matching the rendered text: a forge draft's title is untrusted and must not be able to impersonate a control.
func (Model) Overlay ¶
Overlay composes the import panel over the board surface. Spec section 4: elevation is a shade step plus a shadow, never a frame.
func (Model) PointerSession ¶
PointerSession identifies this open import owner across harmless renders.
func (*Model) PointerSurface ¶
PointerSurface publishes the rendered handler together with its immutable stable-control topology for root-level stale-generation admission.
func (*Model) SetDataDir ¶
SetDataDir names the directory the active project is resolved from — the one holding the board and its state.json. Empty falls back to $KB_DATA and the default data directory, the same as every other surface.
func (*Model) SetFrontMost ¶
SetFrontMost is the background handoff of spec section 10.2.6: a surface that is not front-most stops its engine and remounts at step 0 on return.