workspaces

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package workspaces provides workspace selection steps.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SelectModel

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

SelectModel handles workspace selection.

func NewSelect

func NewSelect(
	ctx context.Context,
	theme styles.Theme,
	account domain.Account,
	services api.APIServices,
	prefs preferences.OrgPreferences,
	scope log.Scope,
) *SelectModel

NewSelect creates a new workspace select step.

func (*SelectModel) Init

func (m *SelectModel) Init() tea.Cmd

Init starts loading workspaces.

func (*SelectModel) SetSize

func (m *SelectModel) SetSize(width, height int)

SetSize updates dimensions.

func (*SelectModel) ShortHelp

func (m *SelectModel) ShortHelp() []key.Binding

ShortHelp returns the key bindings for the short help view.

func (*SelectModel) Update

func (m *SelectModel) Update(msg tea.Msg) tea.Cmd

Update handles messages.

func (*SelectModel) View

func (m *SelectModel) View() string

View renders the workspace selection UI.

Jump to

Keyboard shortcuts

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