refactor: the account pane becomes Fields, the pane for anything but a secret
CI / Checks (pull_request) Successful in 25s
PR title / Conventional title (pull_request) Successful in 1s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
kebandClaude Opus 5.5 committed 2026-10-11 10:32:46 +02:00
1 parent 0a80073aad
commit e64748e85d
5 files changed
+46 -44

No files matched your search

+3 -3
View File
@@ -166,7 +166,7 @@ func (m *Model) layout() {
m.containers.SetSize(leftW, h[1])
m.secrets.SetSize(leftW, h[2])
m.detail.SetSize(m.w-leftW, avail)
m.srcDetail.SetSize(m.w-leftW, avail)
m.fields.SetSize(m.w-leftW, avail)
}
// active reports whether p is drawn focused: it has focus and the terminal
@@ -181,8 +181,8 @@ func (m Model) panesView() string {
func() string { return m.containers.View(m.st, m.active(paneContainers), spin) },
func() string { return m.secrets.View(m.st, m.active(paneSecrets), spin) },
func() string {
if m.srcDetail.Shown() {
return m.srcDetail.View(m.st, m.active(paneDetail), spin)
if m.fields.Shown() {
return m.fields.View(m.st, m.active(paneDetail), spin)
}
return m.detail.View(m.st, m.active(paneDetail), spin)
},