Documentation
¶
Index ¶
- type AnalysisView
- type ConfigField
- type ConfigView
- type DashboardStats
- type DashboardView
- type DependencyData
- type DependencyGraphView
- type FieldType
- type HelpView
- type KeyBinding
- type LogMessage
- type MenuItem
- type ProgressUpdate
- type ProgressView
- type SquashConfig
- type ValidationView
- type ViewAction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalysisView ¶
AnalysisView displays detailed migration analysis
func NewAnalysisView ¶
func NewAnalysisView(migrationDir string) *AnalysisView
NewAnalysisView creates a new analysis view
func (*AnalysisView) Init ¶
func (a *AnalysisView) Init() tea.Cmd
Init initializes the analysis view
func (*AnalysisView) OnEnter ¶
func (a *AnalysisView) OnEnter() tea.Cmd
OnEnter is called when entering the view
func (*AnalysisView) Type ¶
func (a *AnalysisView) Type() viewtypes.ViewType
Type returns the view type
type ConfigField ¶
type ConfigField struct {
Label string
Description string
CurrentValue string
Options []string
Type FieldType
ConfigPath []string
}
ConfigField represents a configurable field
type ConfigView ¶
ConfigView displays and allows editing configuration
func NewConfigView ¶
func NewConfigView(configPath string) *ConfigView
NewConfigView creates a new config view
func (*ConfigView) OnEnter ¶
func (c *ConfigView) OnEnter() tea.Cmd
OnEnter is called when entering the view
type DashboardStats ¶
type DashboardStats struct {
TotalFiles int
TotalSize int64
ConfigExists bool
ConfigSafety string
DetectedPlugins []string
}
DashboardStats contains dashboard statistics
type DashboardView ¶
DashboardView is the main dashboard view
func NewDashboardView ¶
func NewDashboardView(migrationDir, configPath string) *DashboardView
NewDashboardView creates a new dashboard view
func (*DashboardView) OnEnter ¶
func (d *DashboardView) OnEnter() tea.Cmd
OnEnter is called when entering the view
func (*DashboardView) Type ¶
func (d *DashboardView) Type() viewtypes.ViewType
Type returns the view type
type DependencyData ¶
DependencyData message containing loaded dependencies
type DependencyGraphView ¶
DependencyGraphView displays object dependency visualization
func NewDependencyGraphView ¶
func NewDependencyGraphView(migrationDir string) *DependencyGraphView
NewDependencyGraphView creates a new dependency graph view
func (*DependencyGraphView) Init ¶
func (d *DependencyGraphView) Init() tea.Cmd
Init initializes the dependency graph view
func (*DependencyGraphView) OnEnter ¶
func (d *DependencyGraphView) OnEnter() tea.Cmd
OnEnter is called when entering the view
func (*DependencyGraphView) Type ¶
func (d *DependencyGraphView) Type() viewtypes.ViewType
Type returns the view type
func (*DependencyGraphView) View ¶
func (d *DependencyGraphView) View() string
View renders the dependency graph view
type HelpView ¶
HelpView displays keyboard shortcuts and usage information
type KeyBinding ¶
KeyBinding represents a keyboard shortcut
type MenuItem ¶
type MenuItem struct {
Label string
Description string
Action ViewAction
}
MenuItem represents a menu item
type ProgressUpdate ¶
ProgressUpdate message for progress updates
type ProgressView ¶
ProgressView displays real-time progress of squashing operation
func NewProgressView ¶
func NewProgressView(migrationDir, configPath string) *ProgressView
NewProgressView creates a new progress view
func (*ProgressView) Init ¶
func (p *ProgressView) Init() tea.Cmd
Init initializes the progress view
func (*ProgressView) OnEnter ¶
func (p *ProgressView) OnEnter() tea.Cmd
OnEnter is called when entering the view
func (*ProgressView) Type ¶
func (p *ProgressView) Type() viewtypes.ViewType
Type returns the view type
type SquashConfig ¶
SquashConfig message to start squashing
type ValidationView ¶
ValidationView renders validation results
func NewValidationView ¶
func NewValidationView() *ValidationView
NewValidationView creates a new validation view
func (*ValidationView) Init ¶
func (v *ValidationView) Init() tea.Cmd
func (*ValidationView) Type ¶
func (v *ValidationView) Type() viewtypes.ViewType
func (*ValidationView) View ¶
func (v *ValidationView) View() string
type ViewAction ¶
type ViewAction int
ViewAction represents an action to perform
const ( ActionAnalyze ViewAction = iota ActionConfigure ActionSquash ActionDependencyGraph ActionHelp )