Archived
Add submarine TUI prototype with mock data
Bubble Tea prototype for browsing repositories with many nested git submodules: collapsible tree, pins shown as ref + distance, summarized issue words with severity levels, detail pane, async loading via a Provider interface backed by mock data. Includes docs/ with requirements, state model, UX guide, architecture and decision log, plus AGENTS.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package tui
|
||||
|
||||
import "submarine/internal/submodule"
|
||||
|
||||
type treeLoadedMsg struct {
|
||||
repo *submodule.Repo
|
||||
err error
|
||||
}
|
||||
|
||||
type statusLoadedMsg struct {
|
||||
path string
|
||||
status *submodule.Status
|
||||
err error
|
||||
}
|
||||
Reference in New Issue
Block a user