Documentation
¶
Index ¶
- func ShowErrorModal(app *layout.App, title, message string)
- func ShowInfoModal(app *layout.App, title, message string)
- type App
- func (a *App) ActiveProfile() string
- func (a *App) ClearWorkflowStats()
- func (a *App) Config() *config.Config
- func (a *App) CurrentNamespace() string
- func (a *App) ExitFilterMode()
- func (a *App) IsFilterMode() bool
- func (a *App) JigApp() *layout.App
- func (a *App) NavigateToEvents(workflowID, runID string)
- func (a *App) NavigateToNamespaceDetail(namespace string)
- func (a *App) NavigateToSchedules()
- func (a *App) NavigateToTaskQueues()
- func (a *App) NavigateToWorkflowDetail(workflowID, runID string)
- func (a *App) NavigateToWorkflowDiff(workflowA, workflowB *temporal.Workflow)
- func (a *App) NavigateToWorkflowDiffEmpty()
- func (a *App) NavigateToWorkflows(namespace string)
- func (a *App) Provider() temporal.Provider
- func (a *App) Run() error
- func (a *App) SetDevMode(enabled bool)
- func (a *App) SetFilterSuggestion(suggestion string)
- func (a *App) SetNamespace(ns string)
- func (a *App) SetWorkflowStats(stats WorkflowStats)
- func (a *App) ShowFilterMode(initialText string, callbacks FilterModeCallbacks)
- func (a *App) ShowProfileSelector()
- func (a *App) Stop()
- func (a *App) SwitchProfile(name string)
- type DeleteConfirmModal
- type ErrorModal
- type EscapeHandler
- type EventHistory
- type EventTreeView
- func (etv *EventTreeView) CollapseAll()
- func (etv *EventTreeView) Destroy()
- func (etv *EventTreeView) Draw(screen tcell.Screen)
- func (etv *EventTreeView) ExpandAll()
- func (etv *EventTreeView) JumpToFailed() bool
- func (etv *EventTreeView) NodeCount() int
- func (etv *EventTreeView) SelectedNode() *temporal.EventTreeNode
- func (etv *EventTreeView) SetNodes(nodes []*temporal.EventTreeNode)
- func (etv *EventTreeView) SetOnSelect(fn func(node *temporal.EventTreeNode))
- func (etv *EventTreeView) SetOnSelectionChanged(fn func(node *temporal.EventTreeNode))
- type EventViewMode
- type FilterModeCallbacks
- type HelpModal
- type InfoModal
- type KeyHint
- type NamespaceDetail
- func (nd *NamespaceDetail) Draw(screen tcell.Screen)
- func (nd *NamespaceDetail) Focus(delegate func(p tview.Primitive))
- func (nd *NamespaceDetail) Hints() []KeyHint
- func (nd *NamespaceDetail) Name() string
- func (nd *NamespaceDetail) RefreshTheme()
- func (nd *NamespaceDetail) Start()
- func (nd *NamespaceDetail) Stop()
- type NamespaceList
- func (nl *NamespaceList) Draw(screen tcell.Screen)
- func (nl *NamespaceList) Focus(delegate func(p tview.Primitive))
- func (nl *NamespaceList) Hints() []KeyHint
- func (nl *NamespaceList) Name() string
- func (nl *NamespaceList) RefreshTheme()
- func (nl *NamespaceList) Start()
- func (nl *NamespaceList) Stop()
- type ProfileForm
- type ProfileModal
- func (m *ProfileModal) Focus(delegate func(p tview.Primitive))
- func (m *ProfileModal) SetOnClose(fn func())
- func (m *ProfileModal) SetOnDelete(fn func(string))
- func (m *ProfileModal) SetOnEdit(fn func(string))
- func (m *ProfileModal) SetOnNew(fn func())
- func (m *ProfileModal) SetOnSelect(fn func(string))
- func (m *ProfileModal) SetProfiles(profiles []string, active string)
- type ScheduleList
- type SplashModal
- type SplashTestView
- type TaskQueueView
- func (tq *TaskQueueView) Draw(screen tcell.Screen)
- func (tq *TaskQueueView) Focus(delegate func(p tview.Primitive))
- func (tq *TaskQueueView) Hints() []KeyHint
- func (tq *TaskQueueView) Name() string
- func (tq *TaskQueueView) RefreshTheme()
- func (tq *TaskQueueView) Start()
- func (tq *TaskQueueView) Stop()
- type ThemeSelectorModal
- func (m *ThemeSelectorModal) Focus(delegate func(p tview.Primitive))
- func (m *ThemeSelectorModal) SetOnCancel(fn func())
- func (m *ThemeSelectorModal) SetOnPreview(fn func(string))
- func (m *ThemeSelectorModal) SetOnSelect(fn func(string))
- func (m *ThemeSelectorModal) SetThemes(themes []string, currentTheme string)
- type TimelineLane
- type TimelineView
- func (tv *TimelineView) Destroy()
- func (tv *TimelineView) Draw(screen tcell.Screen)
- func (tv *TimelineView) Focus(delegate func(p tview.Primitive))
- func (tv *TimelineView) HasFocus() bool
- func (tv *TimelineView) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))
- func (tv *TimelineView) LaneCount() int
- func (tv *TimelineView) SelectedLane() *TimelineLane
- func (tv *TimelineView) SetNodes(nodes []*temporal.EventTreeNode)
- func (tv *TimelineView) SetOnSelect(fn func(lane *TimelineLane))
- func (tv *TimelineView) SetOnSelectionChange(fn func(lane *TimelineLane))
- type WorkflowDetail
- func (wd *WorkflowDetail) Draw(screen tcell.Screen)
- func (wd *WorkflowDetail) Focus(delegate func(p tview.Primitive))
- func (wd *WorkflowDetail) Hints() []KeyHint
- func (wd *WorkflowDetail) Name() string
- func (wd *WorkflowDetail) RefreshTheme()
- func (wd *WorkflowDetail) Start()
- func (wd *WorkflowDetail) Stop()
- type WorkflowDiff
- func (wd *WorkflowDiff) Draw(screen tcell.Screen)
- func (wd *WorkflowDiff) Focus(delegate func(p tview.Primitive))
- func (wd *WorkflowDiff) Hints() []KeyHint
- func (wd *WorkflowDiff) Name() string
- func (wd *WorkflowDiff) RefreshTheme()
- func (wd *WorkflowDiff) SetWorkflowA(w *temporal.Workflow)
- func (wd *WorkflowDiff) SetWorkflowB(w *temporal.Workflow)
- func (wd *WorkflowDiff) Start()
- func (wd *WorkflowDiff) Stop()
- type WorkflowList
- func (wl *WorkflowList) Draw(screen tcell.Screen)
- func (wl *WorkflowList) Focus(delegate func(p tview.Primitive))
- func (wl *WorkflowList) HandleEscape() bool
- func (wl *WorkflowList) Hints() []KeyHint
- func (wl *WorkflowList) Name() string
- func (wl *WorkflowList) RefreshTheme()
- func (wl *WorkflowList) Start()
- func (wl *WorkflowList) Stop()
- type WorkflowStats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShowErrorModal ¶
ShowErrorModal displays an error modal and handles cleanup on close.
func ShowInfoModal ¶
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 ¶
ActiveProfile returns the currently active profile name.
func (*App) ClearWorkflowStats ¶
func (a *App) ClearWorkflowStats()
ClearWorkflowStats removes workflow statistics from the status bar.
func (*App) CurrentNamespace ¶
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 ¶
IsFilterMode returns whether filter mode is active.
func (*App) NavigateToEvents ¶
NavigateToEvents pushes the event history view.
func (*App) NavigateToNamespaceDetail ¶
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 ¶
NavigateToWorkflowDetail pushes the workflow detail view.
func (*App) NavigateToWorkflowDiff ¶
NavigateToWorkflowDiff pushes the workflow diff view.
func (*App) NavigateToWorkflowDiffEmpty ¶
func (a *App) NavigateToWorkflowDiffEmpty()
NavigateToWorkflowDiffEmpty pushes an empty workflow diff view.
func (*App) NavigateToWorkflows ¶
NavigateToWorkflows pushes the workflow list view.
func (*App) SetDevMode ¶
SetDevMode enables or disables development mode.
func (*App) SetFilterSuggestion ¶
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 ¶
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) SwitchProfile ¶
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 ¶
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) 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 ¶
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 ¶
type InfoModal ¶
type InfoModal struct {
*components.Modal
// contains filtered or unexported fields
}
InfoModal displays an informational message.
func NewInfoModal ¶
func (*InfoModal) InputHandler ¶
func (*InfoModal) SetOnClose ¶
func (m *InfoModal) SetOnClose(fn func())
type NamespaceDetail ¶
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) 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 ¶
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) 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 ¶
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) 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 ¶
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 ¶
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) 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 ¶
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 ¶
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) 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 ¶
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) 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 ¶
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) 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 ¶
WorkflowStats holds workflow count statistics.