view

package
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShowErrorModal

func ShowErrorModal(app *layout.App, title, message string)

ShowErrorModal displays an error modal and handles cleanup on close.

func ShowInfoModal

func ShowInfoModal(app *layout.App, title, message string)

ShowInfoModal displays an info modal and handles cleanup on close.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App is the main application controller.

func NewApp

func NewApp() *App

NewApp creates a new application controller with no provider (uses mock data).

func NewAppWithProvider

func NewAppWithProvider(provider temporal.Provider, defaultNamespace string, cfg *config.Config, activeProfile string) *App

NewAppWithProvider creates a new application controller with a Temporal provider.

func (*App) ActiveProfile

func (a *App) ActiveProfile() string

ActiveProfile returns the currently active profile name.

func (*App) ClearWorkflowStats

func (a *App) ClearWorkflowStats()

ClearWorkflowStats removes workflow statistics from the status bar.

func (*App) Config

func (a *App) Config() *config.Config

Config returns the app configuration.

func (*App) CurrentNamespace

func (a *App) CurrentNamespace() string

CurrentNamespace returns the current namespace.

func (*App) ExitFilterMode

func (a *App) ExitFilterMode()

ExitFilterMode exits filter mode and restores default command bar behavior.

func (*App) IsFilterMode

func (a *App) IsFilterMode() bool

IsFilterMode returns whether filter mode is active.

func (*App) JigApp

func (a *App) JigApp() *layout.App

App returns the underlying jig layout.App.

func (*App) NavigateToEvents

func (a *App) NavigateToEvents(workflowID, runID string)

NavigateToEvents pushes the event history view.

func (*App) NavigateToNamespaceDetail

func (a *App) NavigateToNamespaceDetail(namespace string)

NavigateToNamespaceDetail pushes the namespace detail view.

func (*App) NavigateToSchedules

func (a *App) NavigateToSchedules()

NavigateToSchedules pushes the schedule list view.

func (*App) NavigateToTaskQueues

func (a *App) NavigateToTaskQueues()

NavigateToTaskQueues pushes the task queue view.

func (*App) NavigateToWorkflowDetail

func (a *App) NavigateToWorkflowDetail(workflowID, runID string)

NavigateToWorkflowDetail pushes the workflow detail view.

func (*App) NavigateToWorkflowDiff

func (a *App) NavigateToWorkflowDiff(workflowA, workflowB *temporal.Workflow)

NavigateToWorkflowDiff pushes the workflow diff view.

func (*App) NavigateToWorkflowDiffEmpty

func (a *App) NavigateToWorkflowDiffEmpty()

NavigateToWorkflowDiffEmpty pushes an empty workflow diff view.

func (*App) NavigateToWorkflows

func (a *App) NavigateToWorkflows(namespace string)

NavigateToWorkflows pushes the workflow list view.

func (*App) Provider

func (a *App) Provider() temporal.Provider

Provider returns the Temporal provider.

func (*App) Run

func (a *App) Run() error

Run starts the application.

func (*App) SetDevMode

func (a *App) SetDevMode(enabled bool)

SetDevMode enables or disables development mode.

func (*App) SetFilterSuggestion

func (a *App) SetFilterSuggestion(suggestion string)

SetFilterSuggestion sets the inline ghost text suggestion for the filter input. The suggestion should be the full text (what the user typed + completion).

func (*App) SetNamespace

func (a *App) SetNamespace(ns string)

SetNamespace sets the current namespace context.

func (*App) SetWorkflowStats

func (a *App) SetWorkflowStats(stats WorkflowStats)

SetWorkflowStats updates the workflow statistics in the status bar (right-aligned).

func (*App) ShowFilterMode

func (a *App) ShowFilterMode(initialText string, callbacks FilterModeCallbacks)

ShowFilterMode enters filter mode with custom callbacks. The filter input replaces the status bar content with a "/" prompt.

func (*App) ShowProfileSelector

func (a *App) ShowProfileSelector()

ShowProfileSelector opens the profile selector modal.

func (*App) Stop

func (a *App) Stop()

Stop stops the application and connection monitor.

func (*App) SwitchProfile

func (a *App) SwitchProfile(name string)

SwitchProfile switches to a different connection profile.

type DeleteConfirmModal

type DeleteConfirmModal struct {
	*components.Modal
	// contains filtered or unexported fields
}

DeleteConfirmModal shows a confirmation dialog for deletion.

func NewDeleteConfirmModal

func NewDeleteConfirmModal(itemType, itemName string) *DeleteConfirmModal

func (*DeleteConfirmModal) InputHandler

func (m *DeleteConfirmModal) InputHandler() func(*tcell.EventKey, func(tview.Primitive))

func (*DeleteConfirmModal) SetOnCancel

func (m *DeleteConfirmModal) SetOnCancel(fn func())

func (*DeleteConfirmModal) SetOnConfirm

func (m *DeleteConfirmModal) SetOnConfirm(fn func())

type ErrorModal

type ErrorModal struct {
	*components.Modal
	// contains filtered or unexported fields
}

ErrorModal displays an error message.

func NewErrorModal

func NewErrorModal(title, message string) *ErrorModal

func (*ErrorModal) InputHandler

func (m *ErrorModal) InputHandler() func(*tcell.EventKey, func(tview.Primitive))

func (*ErrorModal) SetOnClose

func (m *ErrorModal) SetOnClose(fn func())

type EscapeHandler

type EscapeHandler interface {
	HandleEscape() bool
}

EscapeHandler is implemented by views that want to handle escape key.

type EventHistory

type EventHistory struct {
	*tview.Flex
	// contains filtered or unexported fields
}

EventHistory displays workflow event history with multiple view modes.

func NewEventHistory

func NewEventHistory(app *App, workflowID, runID string) *EventHistory

NewEventHistory creates a new event history view.

func (*EventHistory) Draw

func (eh *EventHistory) Draw(screen tcell.Screen)

Draw applies theme colors dynamically and draws the view.

func (*EventHistory) Focus

func (eh *EventHistory) Focus(delegate func(p tview.Primitive))

Focus sets focus to the current view's primary component.

func (*EventHistory) Hints

func (eh *EventHistory) Hints() []KeyHint

Hints returns keybinding hints for this view.

func (*EventHistory) Name

func (eh *EventHistory) Name() string

Name returns the view name.

func (*EventHistory) RefreshTheme

func (eh *EventHistory) RefreshTheme()

RefreshTheme updates all component colors after a theme change.

func (*EventHistory) Start

func (eh *EventHistory) Start()

Start is called when the view becomes active.

func (*EventHistory) Stop

func (eh *EventHistory) Stop()

Stop is called when the view is deactivated.

type EventTreeView

type EventTreeView struct {
	*tview.TreeView
	// contains filtered or unexported fields
}

EventTreeView displays workflow history events in a collapsible tree structure.

func NewEventTreeView

func NewEventTreeView() *EventTreeView

NewEventTreeView creates a new tree view for displaying workflow events.

func (*EventTreeView) CollapseAll

func (etv *EventTreeView) CollapseAll()

CollapseAll collapses all nodes in the tree (except root).

func (*EventTreeView) Destroy

func (etv *EventTreeView) Destroy()

Destroy is a no-op kept for backward compatibility.

func (*EventTreeView) Draw

func (etv *EventTreeView) Draw(screen tcell.Screen)

Draw applies theme colors dynamically before drawing.

func (*EventTreeView) ExpandAll

func (etv *EventTreeView) ExpandAll()

ExpandAll expands all nodes in the tree.

func (*EventTreeView) JumpToFailed

func (etv *EventTreeView) JumpToFailed() bool

JumpToFailed finds and selects the first failed node.

func (*EventTreeView) NodeCount

func (etv *EventTreeView) NodeCount() int

NodeCount returns the total number of nodes.

func (*EventTreeView) SelectedNode

func (etv *EventTreeView) SelectedNode() *temporal.EventTreeNode

SelectedNode returns the currently selected event node.

func (*EventTreeView) SetNodes

func (etv *EventTreeView) SetNodes(nodes []*temporal.EventTreeNode)

SetNodes populates the tree with event nodes.

func (*EventTreeView) SetOnSelect

func (etv *EventTreeView) SetOnSelect(fn func(node *temporal.EventTreeNode))

SetOnSelect sets the callback for when a node is activated (Enter pressed).

func (*EventTreeView) SetOnSelectionChanged

func (etv *EventTreeView) SetOnSelectionChanged(fn func(node *temporal.EventTreeNode))

SetOnSelectionChanged sets the callback for when selection changes.

type EventViewMode

type EventViewMode int

EventViewMode represents the display mode for event history.

const (
	ViewModeList EventViewMode = iota
	ViewModeTree
	ViewModeTimeline
)

type FilterModeCallbacks

type FilterModeCallbacks struct {
	OnSubmit func(text string)
	OnCancel func()
	OnChange func(text string)
}

FilterModeCallbacks holds callbacks for filter mode.

type HelpModal

type HelpModal struct {
	*components.Modal
	// contains filtered or unexported fields
}

HelpModal displays help information with view-specific keybindings.

func NewHelpModal

func NewHelpModal() *HelpModal

func (*HelpModal) SetOnClose

func (m *HelpModal) SetOnClose(fn func())

func (*HelpModal) SetViewHints

func (m *HelpModal) SetViewHints(name string, hints []KeyHint)

type InfoModal

type InfoModal struct {
	*components.Modal
	// contains filtered or unexported fields
}

InfoModal displays an informational message.

func NewInfoModal

func NewInfoModal(title, message string) *InfoModal

func (*InfoModal) InputHandler

func (m *InfoModal) InputHandler() func(*tcell.EventKey, func(tview.Primitive))

func (*InfoModal) SetOnClose

func (m *InfoModal) SetOnClose(fn func())

type KeyHint

type KeyHint = components.KeyHint

KeyHint re-exports jig's KeyHint for convenience.

type NamespaceDetail

type NamespaceDetail struct {
	*tview.Flex
	// contains filtered or unexported fields
}

NamespaceDetail displays detailed information about a namespace.

func NewNamespaceDetail

func NewNamespaceDetail(app *App, namespace string) *NamespaceDetail

NewNamespaceDetail creates a new namespace detail view.

func (*NamespaceDetail) Draw

func (nd *NamespaceDetail) Draw(screen tcell.Screen)

Draw applies theme colors dynamically and draws the view.

func (*NamespaceDetail) Focus

func (nd *NamespaceDetail) Focus(delegate func(p tview.Primitive))

Focus sets focus to this view.

func (*NamespaceDetail) Hints

func (nd *NamespaceDetail) Hints() []KeyHint

Hints returns keybinding hints for this view.

func (*NamespaceDetail) Name

func (nd *NamespaceDetail) Name() string

Name returns the view name.

func (*NamespaceDetail) RefreshTheme

func (nd *NamespaceDetail) RefreshTheme()

RefreshTheme updates all component colors after a theme change.

func (*NamespaceDetail) Start

func (nd *NamespaceDetail) Start()

Start is called when the view becomes active.

func (*NamespaceDetail) Stop

func (nd *NamespaceDetail) Stop()

Stop is called when the view is deactivated.

type NamespaceList

type NamespaceList struct {
	*tview.Flex
	// contains filtered or unexported fields
}

NamespaceList displays a list of Temporal namespaces with a preview panel.

func NewNamespaceList

func NewNamespaceList(app *App) *NamespaceList

NewNamespaceList creates a new namespace list view.

func (*NamespaceList) Draw

func (nl *NamespaceList) Draw(screen tcell.Screen)

Draw applies theme colors dynamically and draws the view.

func (*NamespaceList) Focus

func (nl *NamespaceList) Focus(delegate func(p tview.Primitive))

Focus sets focus to the table.

func (*NamespaceList) Hints

func (nl *NamespaceList) Hints() []KeyHint

Hints returns keybinding hints for this view.

func (*NamespaceList) Name

func (nl *NamespaceList) Name() string

Name returns the view name.

func (*NamespaceList) RefreshTheme

func (nl *NamespaceList) RefreshTheme()

RefreshTheme updates all component colors after a theme change.

func (*NamespaceList) Start

func (nl *NamespaceList) Start()

Start is called when the view becomes active.

func (*NamespaceList) Stop

func (nl *NamespaceList) Stop()

Stop is called when the view is deactivated.

type ProfileForm

type ProfileForm struct {
	*components.Modal
	// contains filtered or unexported fields
}

ProfileForm for creating/editing profiles.

func NewProfileForm

func NewProfileForm() *ProfileForm

func (*ProfileForm) Focus

func (f *ProfileForm) Focus(delegate func(p tview.Primitive))

func (*ProfileForm) SetOnCancel

func (f *ProfileForm) SetOnCancel(fn func())

func (*ProfileForm) SetOnSave

func (f *ProfileForm) SetOnSave(fn func(string, config.ConnectionConfig))

func (*ProfileForm) SetProfile

func (f *ProfileForm) SetProfile(name string, cfg config.ConnectionConfig)

type ProfileModal

type ProfileModal struct {
	*components.Modal
	// contains filtered or unexported fields
}

ProfileModal manages connection profiles.

func NewProfileModal

func NewProfileModal() *ProfileModal

func (*ProfileModal) Focus

func (m *ProfileModal) Focus(delegate func(p tview.Primitive))

func (*ProfileModal) SetOnClose

func (m *ProfileModal) SetOnClose(fn func())

func (*ProfileModal) SetOnDelete

func (m *ProfileModal) SetOnDelete(fn func(string))

func (*ProfileModal) SetOnEdit

func (m *ProfileModal) SetOnEdit(fn func(string))

func (*ProfileModal) SetOnNew

func (m *ProfileModal) SetOnNew(fn func())

func (*ProfileModal) SetOnSelect

func (m *ProfileModal) SetOnSelect(fn func(string))

func (*ProfileModal) SetProfiles

func (m *ProfileModal) SetProfiles(profiles []string, active string)

type ScheduleList

type ScheduleList struct {
	*tview.Flex
	// contains filtered or unexported fields
}

ScheduleList displays a list of schedules with actions.

func NewScheduleList

func NewScheduleList(app *App, namespace string) *ScheduleList

NewScheduleList creates a new schedule list view.

func (*ScheduleList) Draw

func (sl *ScheduleList) Draw(screen tcell.Screen)

Draw applies theme colors dynamically and draws the view.

func (*ScheduleList) Focus

func (sl *ScheduleList) Focus(delegate func(p tview.Primitive))

Focus sets focus to the table.

func (*ScheduleList) Hints

func (sl *ScheduleList) Hints() []KeyHint

Hints returns keybinding hints for this view.

func (*ScheduleList) Name

func (sl *ScheduleList) Name() string

Name returns the view name.

func (*ScheduleList) RefreshTheme

func (sl *ScheduleList) RefreshTheme()

RefreshTheme updates all component colors after a theme change.

func (*ScheduleList) Start

func (sl *ScheduleList) Start()

Start is called when the view becomes active.

func (*ScheduleList) Stop

func (sl *ScheduleList) Stop()

Stop is called when the view is deactivated.

type SplashModal

type SplashModal struct {
	*components.Modal
	// contains filtered or unexported fields
}

SplashModal displays a splash screen with app info.

func NewSplashModal

func NewSplashModal() *SplashModal

func (*SplashModal) Hints

func (m *SplashModal) Hints() []KeyHint

func (*SplashModal) InputHandler

func (m *SplashModal) InputHandler() func(*tcell.EventKey, func(tview.Primitive))

func (*SplashModal) SetOnClose

func (m *SplashModal) SetOnClose(fn func())

func (*SplashModal) Start

func (m *SplashModal) Start()

func (*SplashModal) Stop

func (m *SplashModal) Stop()

type SplashTestView

type SplashTestView struct {
	*tview.Box
	// contains filtered or unexported fields
}

SplashTestView displays a full-screen splash for testing themes and gradients.

func NewSplashTestView

func NewSplashTestView(currentThemeName string) *SplashTestView

func (*SplashTestView) Draw

func (v *SplashTestView) Draw(screen tcell.Screen)

func (*SplashTestView) InputHandler

func (v *SplashTestView) InputHandler() func(*tcell.EventKey, func(tview.Primitive))

func (*SplashTestView) SetOnClose

func (v *SplashTestView) SetOnClose(fn func())

func (*SplashTestView) SetOnThemeChange

func (v *SplashTestView) SetOnThemeChange(fn func(string))

type TaskQueueView

type TaskQueueView struct {
	*tview.Flex
	// contains filtered or unexported fields
}

TaskQueueView displays task queue information.

func NewTaskQueueView

func NewTaskQueueView(app *App) *TaskQueueView

NewTaskQueueView creates a new task queue view.

func (*TaskQueueView) Draw

func (tq *TaskQueueView) Draw(screen tcell.Screen)

Draw applies theme colors dynamically and draws the view.

func (*TaskQueueView) Focus

func (tq *TaskQueueView) Focus(delegate func(p tview.Primitive))

Focus sets focus to the queue table.

func (*TaskQueueView) Hints

func (tq *TaskQueueView) Hints() []KeyHint

Hints returns keybinding hints for this view.

func (*TaskQueueView) Name

func (tq *TaskQueueView) Name() string

Name returns the view name.

func (*TaskQueueView) RefreshTheme

func (tq *TaskQueueView) RefreshTheme()

RefreshTheme updates all component colors after a theme change.

func (*TaskQueueView) Start

func (tq *TaskQueueView) Start()

Start is called when the view becomes active.

func (*TaskQueueView) Stop

func (tq *TaskQueueView) Stop()

Stop is called when the view is deactivated.

type ThemeSelectorModal

type ThemeSelectorModal struct {
	*components.Modal
	// contains filtered or unexported fields
}

ThemeSelectorModal allows selecting themes.

func NewThemeSelectorModal

func NewThemeSelectorModal() *ThemeSelectorModal

func (*ThemeSelectorModal) Focus

func (m *ThemeSelectorModal) Focus(delegate func(p tview.Primitive))

func (*ThemeSelectorModal) SetOnCancel

func (m *ThemeSelectorModal) SetOnCancel(fn func())

func (*ThemeSelectorModal) SetOnPreview

func (m *ThemeSelectorModal) SetOnPreview(fn func(string))

func (*ThemeSelectorModal) SetOnSelect

func (m *ThemeSelectorModal) SetOnSelect(fn func(string))

func (*ThemeSelectorModal) SetThemes

func (m *ThemeSelectorModal) SetThemes(themes []string, currentTheme string)

type TimelineLane

type TimelineLane struct {
	Name      string
	Type      temporal.EventGroupType
	Status    string
	StartTime time.Time
	EndTime   *time.Time
	Node      *temporal.EventTreeNode
}

TimelineLane represents a horizontal lane in the timeline.

type TimelineView

type TimelineView struct {
	*tview.Box
	// contains filtered or unexported fields
}

TimelineView displays workflow events as a horizontal Gantt-style timeline.

func NewTimelineView

func NewTimelineView() *TimelineView

NewTimelineView creates a new timeline/Gantt chart view.

func (*TimelineView) Destroy

func (tv *TimelineView) Destroy()

Destroy is a no-op kept for backward compatibility.

func (*TimelineView) Draw

func (tv *TimelineView) Draw(screen tcell.Screen)

Draw renders the timeline view. Colors are read dynamically at draw time.

func (*TimelineView) Focus

func (tv *TimelineView) Focus(delegate func(p tview.Primitive))

Focus implements tview.Primitive.

func (*TimelineView) HasFocus

func (tv *TimelineView) HasFocus() bool

HasFocus implements tview.Primitive.

func (*TimelineView) InputHandler

func (tv *TimelineView) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))

InputHandler handles keyboard input.

func (*TimelineView) LaneCount

func (tv *TimelineView) LaneCount() int

LaneCount returns the number of lanes.

func (*TimelineView) SelectedLane

func (tv *TimelineView) SelectedLane() *TimelineLane

SelectedLane returns the currently selected lane.

func (*TimelineView) SetNodes

func (tv *TimelineView) SetNodes(nodes []*temporal.EventTreeNode)

SetNodes populates the timeline from event tree nodes.

func (*TimelineView) SetOnSelect

func (tv *TimelineView) SetOnSelect(fn func(lane *TimelineLane))

SetOnSelect sets the callback for lane selection (Enter key).

func (*TimelineView) SetOnSelectionChange added in v0.0.6

func (tv *TimelineView) SetOnSelectionChange(fn func(lane *TimelineLane))

SetOnSelectionChange sets the callback for when selection changes (navigation).

type WorkflowDetail

type WorkflowDetail struct {
	*tview.Flex
	// contains filtered or unexported fields
}

WorkflowDetail displays detailed information about a workflow with events.

func NewWorkflowDetail

func NewWorkflowDetail(app *App, workflowID, runID string) *WorkflowDetail

NewWorkflowDetail creates a new workflow detail view.

func (*WorkflowDetail) Draw

func (wd *WorkflowDetail) Draw(screen tcell.Screen)

Draw applies theme colors dynamically and draws the view.

func (*WorkflowDetail) Focus

func (wd *WorkflowDetail) Focus(delegate func(p tview.Primitive))

Focus sets focus to the event table.

func (*WorkflowDetail) Hints

func (wd *WorkflowDetail) Hints() []KeyHint

Hints returns keybinding hints for this view.

func (*WorkflowDetail) Name

func (wd *WorkflowDetail) Name() string

Name returns the view name.

func (*WorkflowDetail) RefreshTheme

func (wd *WorkflowDetail) RefreshTheme()

RefreshTheme updates all component colors after a theme change.

func (*WorkflowDetail) Start

func (wd *WorkflowDetail) Start()

Start is called when the view becomes active.

func (*WorkflowDetail) Stop

func (wd *WorkflowDetail) Stop()

Stop is called when the view is deactivated.

type WorkflowDiff

type WorkflowDiff struct {
	*tview.Flex
	// contains filtered or unexported fields
}

WorkflowDiff displays a side-by-side comparison of two workflows.

func NewWorkflowDiff

func NewWorkflowDiff(app *App, namespace string) *WorkflowDiff

NewWorkflowDiff creates a new workflow diff view.

func NewWorkflowDiffWithWorkflows

func NewWorkflowDiffWithWorkflows(app *App, namespace string, workflowA, workflowB *temporal.Workflow) *WorkflowDiff

NewWorkflowDiffWithWorkflows creates a diff view with pre-loaded workflows.

func (*WorkflowDiff) Draw

func (wd *WorkflowDiff) Draw(screen tcell.Screen)

Draw applies theme colors dynamically and draws the view.

func (*WorkflowDiff) Focus

func (wd *WorkflowDiff) Focus(delegate func(p tview.Primitive))

Focus sets focus to the current panel.

func (*WorkflowDiff) Hints

func (wd *WorkflowDiff) Hints() []KeyHint

Hints returns keybinding hints for this view.

func (*WorkflowDiff) Name

func (wd *WorkflowDiff) Name() string

Name returns the view name.

func (*WorkflowDiff) RefreshTheme

func (wd *WorkflowDiff) RefreshTheme()

RefreshTheme updates all component colors after a theme change.

func (*WorkflowDiff) SetWorkflowA

func (wd *WorkflowDiff) SetWorkflowA(w *temporal.Workflow)

SetWorkflowA sets the left workflow for comparison.

func (*WorkflowDiff) SetWorkflowB

func (wd *WorkflowDiff) SetWorkflowB(w *temporal.Workflow)

SetWorkflowB sets the right workflow for comparison.

func (*WorkflowDiff) Start

func (wd *WorkflowDiff) Start()

Start is called when the view becomes active.

func (*WorkflowDiff) Stop

func (wd *WorkflowDiff) Stop()

Stop is called when the view is deactivated.

type WorkflowList

type WorkflowList struct {
	*tview.Flex
	// contains filtered or unexported fields
}

WorkflowList displays a list of workflows with a preview panel.

func NewWorkflowList

func NewWorkflowList(app *App, namespace string) *WorkflowList

NewWorkflowList creates a new workflow list view.

func (*WorkflowList) Draw

func (wl *WorkflowList) Draw(screen tcell.Screen)

Draw applies theme colors dynamically and draws the view.

func (*WorkflowList) Focus

func (wl *WorkflowList) Focus(delegate func(p tview.Primitive))

Focus sets focus to the table.

func (*WorkflowList) HandleEscape

func (wl *WorkflowList) HandleEscape() bool

HandleEscape implements EscapeHandler to clear filter state before navigation.

func (*WorkflowList) Hints

func (wl *WorkflowList) Hints() []KeyHint

Hints returns keybinding hints for this view.

func (*WorkflowList) Name

func (wl *WorkflowList) Name() string

Name returns the view name.

func (*WorkflowList) RefreshTheme

func (wl *WorkflowList) RefreshTheme()

RefreshTheme updates all component colors after a theme change.

func (*WorkflowList) Start

func (wl *WorkflowList) Start()

Start is called when the view becomes active.

func (*WorkflowList) Stop

func (wl *WorkflowList) Stop()

Stop is called when the view is deactivated.

type WorkflowStats

type WorkflowStats struct {
	Running   int
	Completed int
	Failed    int
}

WorkflowStats holds workflow count statistics.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL