Documentation
¶
Index ¶
- Constants
- func ClearActiveWorkSession(baseDir string) error
- func ClearFocus(baseDir string) error
- func DefaultPaneHeights() [3]float64
- func GetActiveWorkSession(baseDir string) (string, error)
- func GetFocus(baseDir string) (string, error)
- func GetPaneHeights(baseDir string) ([3]float64, error)
- func GetTitleLengthLimits(baseDir string) (min, max int, err error)
- func Load(baseDir string) (*models.Config, error)
- func Save(baseDir string, cfg *models.Config) error
- func SetActiveWorkSession(baseDir string, wsID string) error
- func SetFilterState(baseDir string, state *FilterState) error
- func SetFocus(baseDir string, issueID string) error
- func SetPaneHeights(baseDir string, heights [3]float64) error
- type FilterState
Constants ¶
View Source
const ( DefaultTitleMinLength = 15 DefaultTitleMaxLength = 100 )
Title validation defaults
Variables ¶
This section is empty.
Functions ¶
func ClearActiveWorkSession ¶
ClearActiveWorkSession clears the active work session
func DefaultPaneHeights ¶ added in v0.4.16
func DefaultPaneHeights() [3]float64
DefaultPaneHeights returns the default pane height ratios (equal thirds)
func GetActiveWorkSession ¶
GetActiveWorkSession returns the active work session ID
func GetPaneHeights ¶ added in v0.4.16
GetPaneHeights returns the configured pane heights, or defaults if not set
func GetTitleLengthLimits ¶ added in v0.18.0
GetTitleLengthLimits returns min/max title length limits from config (with defaults)
func SetActiveWorkSession ¶
SetActiveWorkSession sets the active work session ID
func SetFilterState ¶ added in v0.12.3
func SetFilterState(baseDir string, state *FilterState) error
SetFilterState saves the filter state to config
func SetPaneHeights ¶ added in v0.4.16
SetPaneHeights saves the pane height ratios to config
Types ¶
type FilterState ¶ added in v0.12.3
type FilterState struct {
SearchQuery string
SortMode string // "priority", "created", "updated"
TypeFilter string // "", "epic", "task", "bug", "feature", "chore"
IncludeClosed bool
}
FilterState holds the current filter/search state for the monitor
func GetFilterState ¶ added in v0.12.3
func GetFilterState(baseDir string) (*FilterState, error)
GetFilterState returns the saved filter state
Click to show internal directories.
Click to hide internal directories.