Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultStatePath ¶
DefaultStatePath returns the default state file path relative to config
func ExtractGroupIDs ¶
ExtractGroupIDs converts a slice of group pointers to their IDs
Types ¶
type NavigationState ¶
type NavigationState struct {
ViewState ViewState `yaml:"viewState"`
GroupPath []string `yaml:"groupPath,omitempty"`
SelectedWorkflow string `yaml:"selectedWorkflow,omitempty"`
FromPinnedView bool `yaml:"fromPinnedView,omitempty"`
// List selection indices for better UX
}
NavigationState represents the persisted navigation state
func Load ¶
func Load(path string) (*NavigationState, error)
Load reads the navigation state from a file
func (*NavigationState) Save ¶
func (s *NavigationState) Save(path string) error
Save writes the navigation state to a file
Click to show internal directories.
Click to hide internal directories.