feat(tui): add bubbletea terminal UI #30
Reference in New Issue
Block a user
Delete Branch "feat/tui"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
nib tuicommand andmake tuitarget launching a full bubbletea terminal UI?query #tagin capture bar — client-side substring + tag AND matchingmkey) with source picker for merging entities?), tag filter (#), delete confirmation, todo toggle, pin, copy, edit via $EDITORgenerateCardDatato sharedinternal/carddatapackage (DRY across cmd + tui)CompletedAt/ClearCompletedtoEntityUpdatefor todo togglingFiles
internal/tui/(~2400 lines)internal/carddata/(extracted from cmd)cmd/tui.goMakefile,cmd/promote.go,internal/db/entities.go,go.modTest plan
go build ./...compiles cleango test ./...all passmake tuilaunches alt-screen TUIacaptures,ddeletes with confirm2switches,tabcycles intent,ssorts, pinned at topathen?query #tagfilters, esc clearsmon fluid entity, pick source, verify mergeron checklist card, space toggles, esc persists stepsfon template card, tab between slots, enter copies resolvedpshows type picker with auto-detectionnib promote <id> snippetCLI still works (shared carddata)- Add 'reminder' to glyph CHECK constraint (was accepted by parser but rejected by DB) - Default serve bind to 127.0.0.1, add --host flag for LAN access - Validate card_data as JSON in Store.Create/Update/Promote - Return pagination envelope {data,total,limit,offset} from list endpoint - Append absorb breadcrumb to source entity before soft-delete - Add Levenshtein fuzzy match to catch command typos before routing to add - Replace DDL string-matching migrations with versioned schema_version table - Update web UI and API tests for envelope response format