ui

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package ui provides delegate types and list item wrappers for the Bubble Tea interface

Package ui provides the terminal user interface components using Bubble Tea for displaying AWS CodePipeline information in an interactive list format.

Package ui provides status bar component for displaying application context

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

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

Model represents the application state for the Bubble Tea program.

func NewModel

func NewModel(pipelineService types.PipelineService, logger *slog.Logger, version string) Model

NewModel creates a new Model with the provided pipeline service and logger. Initializes the list component and sets up key bindings.

func (Model) Init

func (m Model) Init() tea.Cmd

Init initializes the model and returns initial commands. Starts pipeline loading and sets up periodic refresh.

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

Update handles incoming messages and updates the model state. Routes to appropriate view-specific update functions.

func (Model) View

func (m Model) View() string

View renders the current model state as a string for display.

Jump to

Keyboard shortcuts

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