browser

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package browser provides conversation browsing and search interfaces for the TUI. ABOUTME: Conversation browser with fuzzy search and filtering capabilities ABOUTME: Browse past conversations, search content, and load into current session

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConversationBrowser

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

ConversationBrowser manages the conversation browsing interface

func NewConversationBrowser

func NewConversationBrowser(convSvc services.ConversationService, t *theme.Theme) *ConversationBrowser

NewConversationBrowser creates a new conversation browser

func (*ConversationBrowser) GetSelectedConversation

func (cb *ConversationBrowser) GetSelectedConversation() *services.Conversation

GetSelectedConversation returns the currently selected conversation

func (*ConversationBrowser) Init

func (cb *ConversationBrowser) Init() tea.Cmd

Init initializes the browser

func (*ConversationBrowser) Update

func (cb *ConversationBrowser) Update(msg tea.Msg) (tea.Model, tea.Cmd)

Update handles messages

func (*ConversationBrowser) View

func (cb *ConversationBrowser) View() string

View renders the browser

type SortMode

type SortMode int

SortMode determines how conversations are sorted

const (
	SortByDate SortMode = iota
	SortByFavorite
	SortByTitle
)

Sort mode constants

Jump to

Keyboard shortcuts

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