xonecas.io
60255
Zn

Zoea-Nova / commit 6e678ce

feat: improve tui visibility and test coverage

Show timestamps, senders, and focus context in the TUI, expand golden coverage, and add mock provider delay support for timing-sensitive tests.

xonecas2026-02-05 6e678ce4c90dd3857df17ba4c3ba0ccbe67b9719 parent 3fad26a

54 files changed

This diff is too big to show in full. The first 1000 lines are below, and every file is listed with its counts.

documentation/plans/v1.md+23−19
@@ -343,72 +343,74 @@ From `documentation/TODO.md`:
343343
344344 Audit of TUI tests for missing or malformed data displays.
345345
346+**Completed:** 2026-02-05 20:05 UTC
347+
346348 ### 11.1 Missing Data in Test Fixtures
347349
348350 The following data fields exist in structs but lack adequate test coverage:
349351
350-- [ ] **MysisInfo.CreatedAt not displayed**
352+- [x] **MysisInfo.CreatedAt not displayed**
351353 - Field exists in `MysisInfo` struct (dashboard.go:21)
352354 - Not rendered in dashboard or focus view
353355 - Consider: Show age (e.g., "2h ago") or creation date in focus view info panel
354356
355-- [ ] **MysisInfo.LastMessage timestamp not shown**
357+- [x] **MysisInfo.LastMessage timestamp not shown**
356358 - `LastMessage` content is displayed but its timestamp isn't
357359 - Consider: Show "5m ago" next to last message in dashboard
358360
359-- [ ] **LogEntry.Timestamp not displayed**
361+- [x] **LogEntry.Timestamp not displayed**
360362 - Field exists in `LogEntry` struct (focus.go:20)
361363 - `renderLogEntryImpl` never uses `entry.Timestamp`
362364 - Tests pass timestamps but rendering ignores them
363365 - Add timestamp display to each log entry (e.g., "10:30:05")
364366
365-- [ ] **LogEntry.SenderID display incomplete**
367+- [x] **LogEntry.SenderID display incomplete**
366368 - `SenderID` tracked for broadcasts but only shows "SWARM:" prefix
367369 - Could show sender mysis name: "SWARM (mysis-2):"
368370 - Requires lookup from mysis list by ID
369371
370-- [ ] **SwarmMessageInfo sender not displayed**
372+- [x] **SwarmMessageInfo sender not displayed**
371373 - Dashboard shows broadcast content and time but not sender
372374 - `store.BroadcastMessage.SenderID` is retrieved but not passed to `SwarmMessageInfo`
373375 - Add `SenderID` field to `SwarmMessageInfo` and display in dashboard
374376
375377 ### 11.2 Test Data Consistency Issues
376378
377-- [ ] **Golden tests use hardcoded dates**
379+- [x] **Golden tests use hardcoded dates**
378380 - Tests use `time.Date(2026, 1, 15, ...)` which differs from current date
379381 - Consider: Document this is intentional for reproducibility
380382 - Or: Use relative time display to avoid date dependency
381383
382-- [ ] **MockProvider returns instant responses**
384+- [x] **MockProvider returns instant responses**
383385 - `MockProvider.Chat()` returns immediately
384386 - Real LLM calls take 1-30 seconds
385387 - Integration tests don't catch timing bugs
386388 - Add `SetDelay(time.Duration)` to MockProvider (covered in Phase 5.2)
387389
388-- [ ] **Test terminal size is fixed at 120x40**
390+- [x] **Test terminal size is fixed at 120x40**
389391 - `TestTerminalWidth = 120`, `TestTerminalHeight = 40`
390392 - No tests for narrow terminals (80x24) or wide terminals (200x60)
391393 - Add golden tests for different terminal sizes
392394
393395 ### 11.3 Missing Visual Regression Tests
394396
395-- [ ] **No golden test for errored state mysis**
397+- [x] **No golden test for errored state mysis**
396398 - Tests cover running, idle, stopped states
397399 - Missing: errored state with LastError display
398400
399-- [ ] **No golden test for loading spinner states**
401+- [x] **No golden test for loading spinner states**
400402 - `loadingSet` passed to `RenderDashboard` but not tested in golden files
401403 - Add test with `loadingSet["mysis-id"] = true`
402404
403-- [ ] **No golden test for long mysis names**
405+- [x] **No golden test for long mysis names**
404406 - Truncation at 16 chars tested implicitly
405407 - Add explicit test with 20+ char name to verify "..."
406408
407-- [ ] **No golden test for empty last message**
409+- [x] **No golden test for empty last message**
408410 - Dashboard shows `LastMessage` if present
409411 - Missing test for mysis with no messages yet
410412
411-- [ ] **No golden test for multiline broadcast content**
413+- [x] **No golden test for multiline broadcast content**
412414 - `SwarmMessageInfo.Content` is single-line normalized (`strings.ReplaceAll`)
413415 - No test verifying newlines are stripped
414416
@@ -433,25 +435,27 @@ The following data fields exist in structs but lack adequate test coverage:
433435
434436 ### 11.5 Data Display Improvements
435437
436-- [ ] **Add timestamp to log entries**
438+- [x] **Add timestamp to log entries**
437439 - Render format: `[10:30:05] AI: Response text...`
438440 - Update `renderLogEntryImpl` to include timestamp
439441 - Update golden files after change
440442
441-- [ ] **Add mysis count to focus view header**
443+- [x] **Add mysis count to focus view header**
442444 - Show "MYSIS: alpha (3 of 16)" or similar
443445 - Helps user understand swarm context when focused
444446
445-- [ ] **Add scroll position indicator**
447+- [x] **Add scroll position indicator**
446448 - Current: Shows "↑ SCROLLED" suffix
447449 - Better: Show "Line 45/120" or percentage
448450 - Update `RenderFocusViewWithViewport` and golden files
449451
450-- [ ] **Show broadcast sender in dashboard**
452+- [x] **Show broadcast sender in dashboard**
451453 - Current: "14:30:05 Hello everyone"
452454 - Better: "14:30:05 [mysis-1] Hello everyone"
453455 - Requires passing sender info through SwarmMessageInfo
454456
457+**Completed:** 2026-02-05 20:05 UTC
458+
455459 ---
456460
457461 ## Phase 12: Pre-Release Checklist
@@ -504,9 +508,9 @@ The following data fields exist in structs but lack adequate test coverage:
504508 | 8. Code Quality | 3 | 1 | 0 |
505509 | 9. Documentation | 4 | 0 | 0 |
506510 | 10. TODO.md | 4 | 0 | 0 |
507-| 11. TUI Data Visibility | 18 | 1 | 0 |
511+| 11. TUI Data Visibility | 19 | 19 | 0 |
508512 | 12. Pre-Release | 5 | 0 | 0 |
509-| **Total** | **66** | **14** | **0** |
513+| **Total** | **67** | **32** | **0** |
510514
511515 ---
512516
internal/provider/mock.go+37−0
@@ -3,6 +3,7 @@ package provider
33 import (
44 "context"
55 "sync"
6+ "time"
67
78 "golang.org/x/time/rate"
89 )
@@ -18,6 +19,7 @@ type MockProvider struct {
1819 chatErr error
1920 limiter *rate.Limiter
2021 reasoning string
22+ delay time.Duration
2123 }
2224
2325 // NewMock creates a new mock provider.
@@ -87,6 +89,13 @@ func (p *MockProvider) WithLimiter(limiter *rate.Limiter) *MockProvider {
8789 return p
8890 }
8991
92+func (p *MockProvider) SetDelay(delay time.Duration) *MockProvider {
93+ p.mu.Lock()
94+ defer p.mu.Unlock()
95+ p.delay = delay
96+ return p
97+}
98+
9099 // WithResponse sets the predefined response to return from Chat.
91100 func (p *MockProvider) WithResponse(response string) *MockProvider {
92101 p.mu.Lock()
@@ -107,6 +116,9 @@ func (p *MockProvider) Chat(ctx context.Context, messages []Message) (string, er
107116 return "", err
108117 }
109118 }
119+ if err := p.waitDelay(ctx); err != nil {
120+ return "", err
121+ }
110122
111123 p.mu.RLock()
112124 defer p.mu.RUnlock()
@@ -123,6 +135,9 @@ func (p *MockProvider) ChatWithTools(ctx context.Context, messages []Message, to
123135 return nil, err
124136 }
125137 }
138+ if err := p.waitDelay(ctx); err != nil {
139+ return nil, err
140+ }
126141
127142 p.mu.RLock()
128143 defer p.mu.RUnlock()
@@ -143,6 +158,9 @@ func (p *MockProvider) Stream(ctx context.Context, messages []Message) (<-chan S
143158 return nil, err
144159 }
145160 }
161+ if err := p.waitDelay(ctx); err != nil {
162+ return nil, err
163+ }
146164
147165 p.mu.RLock()
148166 defer p.mu.RUnlock()
@@ -160,3 +178,22 @@ func (p *MockProvider) Stream(ctx context.Context, messages []Message) (<-chan S
160178
161179 return ch, nil
162180 }
181+
182+func (p *MockProvider) waitDelay(ctx context.Context) error {
183+ p.mu.RLock()
184+ delay := p.delay
185+ p.mu.RUnlock()
186+ if delay <= 0 {
187+ return nil
188+ }
189+
190+ timer := time.NewTimer(delay)
191+ defer timer.Stop()
192+
193+ select {
194+ case <-ctx.Done():
195+ return ctx.Err()
196+ case <-timer.C:
197+ return nil
198+ }
199+}
internal/provider/provider_test.go+31−0
@@ -55,6 +55,37 @@ func TestMockProviderChat(t *testing.T) {
5555 }
5656 }
5757
58+func TestMockProviderChatDelay(t *testing.T) {
59+ delay := 30 * time.Millisecond
60+ mock := NewMock("test", "ok").SetDelay(delay)
61+
62+ ctx := context.Background()
63+ messages := []Message{{Role: "user", Content: "Hi"}}
64+
65+ start := time.Now()
66+ _, err := mock.Chat(ctx, messages)
67+ if err != nil {
68+ t.Fatalf("Chat() error: %v", err)
69+ }
70+ elapsed := time.Since(start)
71+ if elapsed < delay {
72+ t.Fatalf("expected delay >= %v, got %v", delay, elapsed)
73+ }
74+}
75+
76+func TestMockProviderChatDelayContextCancel(t *testing.T) {
77+ mock := NewMock("test", "ok").SetDelay(100 * time.Millisecond)
78+
79+ ctx, cancel := context.WithTimeout(context.Background(), 10*time.Millisecond)
80+ defer cancel()
81+
82+ messages := []Message{{Role: "user", Content: "Hi"}}
83+ _, err := mock.Chat(ctx, messages)
84+ if err == nil {
85+ t.Fatal("expected context deadline error")
86+ }
87+}
88+
5889 func TestMockProviderChatError(t *testing.T) {
5990 expectedErr := errors.New("chat error")
6091 mock := NewMock("test", "").WithChatError(expectedErr)
internal/tui/app.go+36−4
@@ -63,6 +63,7 @@ type Model struct {
6363
6464 // SwarmMessage represents a broadcast message for display.
6565 type SwarmMessage struct {
66+ SenderID string
6667 Content string
6768 CreatedAt time.Time
6869 }
@@ -237,15 +238,18 @@ func (m Model) View() string {
237238 if m.showHelp {
238239 content = RenderHelp(m.width, contentHeight)
239240 } else if m.view == ViewFocus {
240- content = RenderFocusViewWithViewport(m.mysisByID(m.focusID), m.viewport, m.width, isLoading, m.spinner.View(), m.autoScroll, m.verboseJSON, m.viewportTotalLines)
241+ focusIndex, totalMyses := m.focusPosition(m.focusID)
242+ content = RenderFocusViewWithViewport(m.mysisByID(m.focusID), m.viewport, m.width, isLoading, m.spinner.View(), m.autoScroll, m.verboseJSON, m.viewportTotalLines, focusIndex, totalMyses)
241243 } else {
242244 // Convert swarm messages for display (reversed so most recent is first)
243245 swarmInfos := make([]SwarmMessageInfo, len(m.swarmMessages))
244246 for i, msg := range m.swarmMessages {
245247 // Reverse order: most recent first
246248 swarmInfos[len(m.swarmMessages)-1-i] = SwarmMessageInfo{
247- Content: msg.Content,
248- CreatedAt: msg.CreatedAt,
249+ SenderID: msg.SenderID,
250+ SenderName: m.mysisNameByID(msg.SenderID),
251+ Content: msg.Content,
252+ CreatedAt: msg.CreatedAt,
249253 }
250254 }
251255 content = RenderDashboard(m.myses, swarmInfos, m.selectedIdx, m.width, contentHeight-3, m.loadingSet, m.spinner.View())
@@ -583,6 +587,7 @@ func (m *Model) refreshMysisList() {
583587 memories, err := m.store.GetRecentMemories(mysis.ID(), 1)
584588 if err == nil && len(memories) > 0 {
585589 info.LastMessage = memories[0].Content
590+ info.LastMessageAt = memories[0].CreatedAt
586591 }
587592
588593 m.myses[i] = info
@@ -604,6 +609,7 @@ func (m *Model) refreshSwarmMessages() {
604609 m.swarmMessages = make([]SwarmMessage, len(broadcasts))
605610 for i, b := range broadcasts {
606611 m.swarmMessages[i] = SwarmMessage{
612+ SenderID: b.SenderID,
607613 Content: b.Content,
608614 CreatedAt: b.CreatedAt,
609615 }
@@ -625,7 +631,8 @@ func (m *Model) loadMysisLogs() {
625631
626632 m.logs = make([]LogEntry, len(memories))
627633 for i, mem := range memories {
628- m.logs[i] = LogEntryFromMemory(mem, m.focusID)
634+ senderName := m.mysisNameByID(mem.SenderID)
635+ m.logs[i] = LogEntryFromMemory(mem, m.focusID, senderName)
629636 }
630637
631638 m.updateViewportContent()
@@ -669,6 +676,31 @@ func (m Model) mysisByID(id string) MysisInfo {
669676 return MysisInfo{ID: id, Name: "Unknown", State: "unknown"}
670677 }
671678
679+func (m Model) mysisNameByID(id string) string {
680+ if id == "" {
681+ return ""
682+ }
683+ for _, mysis := range m.myses {
684+ if mysis.ID == id {
685+ return mysis.Name
686+ }
687+ }
688+ return ""
689+}
690+
691+func (m Model) focusPosition(focusID string) (int, int) {
692+ total := len(m.myses)
693+ if focusID == "" || total == 0 {
694+ return 0, total
695+ }
696+ for i, mysis := range m.myses {
697+ if mysis.ID == focusID {
698+ return i + 1, total
699+ }
700+ }
701+ return 0, total
702+}
703+
672704 type refreshMysesMsg struct{}
673705
674706 // sendMessageResult is returned when an async message send completes.
internal/tui/dashboard.go+51−12
@@ -17,13 +17,17 @@ type MysisInfo struct {
1717 Provider string
1818 AccountUsername string // NEW: game account username
1919 LastMessage string // Most recent message (user or assistant)
20+ LastMessageAt time.Time // Timestamp of most recent message
2021 CreatedAt time.Time // When mysis was created
22+ LastError string // Last error string (if errored)
2123 }
2224
2325 // SwarmMessageInfo holds display info for a broadcast message.
2426 type SwarmMessageInfo struct {
25- Content string
26- CreatedAt time.Time
27+ SenderID string
28+ SenderName string
29+ Content string
30+ CreatedAt time.Time
2731 }
2832
2933 // RenderDashboard renders the main dashboard view.
@@ -79,15 +83,24 @@ func RenderDashboard(myses []MysisInfo, swarmMessages []SwarmMessageInfo, select
7983 for i := 0; i < displayCount; i++ {
8084 msg := swarmMessages[i]
8185 timeStr := msg.CreatedAt.Local().Format("15:04:05")
86+ senderLabel := formatSenderLabel(msg.SenderID, msg.SenderName)
87+ senderText := ""
88+ if senderLabel != "" {
89+ senderText = " [" + senderLabel + "]"
90+ }
8291 content := strings.ReplaceAll(msg.Content, "\n", " ")
83- maxLen := width - 15
84- if maxLen < 20 {
85- maxLen = 20
92+ maxLen := width - 15 - lipgloss.Width(senderText)
93+ if maxLen < 1 {
94+ maxLen = 1
8695 }
8796 if lipgloss.Width(content) > maxLen {
88- content = truncateToWidth(content, maxLen-3) + "..."
97+ if maxLen > 3 {
98+ content = truncateToWidth(content, maxLen-3) + "..."
99+ } else {
100+ content = truncateToWidth(content, maxLen)
101+ }
89102 }
90- line := fmt.Sprintf("%s %s", dimmedStyle.Render(timeStr), content)
103+ line := fmt.Sprintf("%s%s %s", dimmedStyle.Render(timeStr), highlightStyle.Render(senderText), content)
91104 msgLines = append(msgLines, line)
92105 }
93106 }
@@ -195,12 +208,30 @@ func renderMysisLine(m MysisInfo, selected, isLoading bool, spinnerView string,
195208
196209 // Format last message (truncated) - use display width
197210 var msgPart string
198- if m.LastMessage != "" {
199- msg := strings.ReplaceAll(m.LastMessage, "\n", " ")
200- if lipgloss.Width(msg) > msgWidth {
201- msg = truncateToWidth(msg, msgWidth-3) + "..."
211+ messageContent := m.LastMessage
212+ if messageContent == "" && m.State == "errored" && m.LastError != "" {
213+ messageContent = "Error: " + m.LastError
214+ }
215+ if messageContent != "" {
216+ msg := strings.ReplaceAll(messageContent, "\n", " ")
217+ msgPrefix := ""
218+ if !m.LastMessageAt.IsZero() {
219+ msgPrefix = m.LastMessageAt.Local().Format("15:04:05") + " "
220+ }
221+ prefixWidth := lipgloss.Width(msgPrefix)
222+ availableWidth := msgWidth - prefixWidth
223+ if availableWidth < 10 {
224+ msgPrefix = ""
225+ availableWidth = msgWidth
226+ }
227+ if lipgloss.Width(msg) > availableWidth {
228+ if availableWidth > 3 {
229+ msg = truncateToWidth(msg, availableWidth-3) + "..."
230+ } else {
231+ msg = truncateToWidth(msg, availableWidth)
232+ }
202233 }
203- msgPart = dimmedStyle.Render(" │ " + msg)
234+ msgPart = dimmedStyle.Render(" │ " + msgPrefix + msg)
204235 }
205236
206237 line := contentPart + msgPart
@@ -224,5 +255,13 @@ func MysisInfoFromCore(m *core.Mysis) MysisInfo {
224255 Provider: m.ProviderName(),
225256 AccountUsername: m.CurrentAccountUsername(), // NEW: copy account username
226257 CreatedAt: m.CreatedAt(),
258+ LastError: formatCoreError(m.LastError()),
259+ }
260+}
261+
262+func formatCoreError(err error) string {
263+ if err == nil {
264+ return ""
227265 }
266+ return err.Error()
228267 }
internal/tui/focus.go+74−30
@@ -12,12 +12,13 @@ import (
1212
1313 // LogEntry represents a log entry for display.
1414 type LogEntry struct {
15- Role string
16- Source string
17- SenderID string
18- Content string
19- Reasoning string // NEW: reasoning content from LLM
20- Timestamp time.Time
15+ Role string
16+ Source string
17+ SenderID string
18+ SenderName string
19+ Content string
20+ Reasoning string // NEW: reasoning content from LLM
21+ Timestamp time.Time
2122 }
2223
2324 // wrapText wraps text to fit within maxWidth display columns, preserving words.
@@ -92,11 +93,11 @@ func wrapText(text string, maxWidth int) []string {
9293 }
9394
9495 // RenderFocusView renders the detailed mysis view (legacy, without viewport).
95-func RenderFocusView(mysis MysisInfo, logs []LogEntry, width, height int, isLoading bool, spinnerView string, verbose bool) string {
96+func RenderFocusView(mysis MysisInfo, logs []LogEntry, width, height int, isLoading bool, spinnerView string, verbose bool, focusIndex, totalMyses int) string {
9697 var sections []string
9798
9899 // Header with mysis name - spans full width
99- header := renderFocusHeader(mysis.Name, width)
100+ header := renderFocusHeader(mysis.Name, focusIndex, totalMyses, width)
100101 sections = append(sections, header)
101102
102103 // Mysis info panel
@@ -118,6 +119,16 @@ func RenderFocusView(mysis MysisInfo, logs []LogEntry, width, height int, isLoad
118119 infoLines = append(infoLines, fmt.Sprintf("%s %s", labelStyle.Render("Account:"), dimmedStyle.Render("(not logged in)")))
119120 }
120121
122+ createdText := dimmedStyle.Render("(unknown)")
123+ if !mysis.CreatedAt.IsZero() {
124+ createdText = valueStyle.Render(mysis.CreatedAt.Local().Format("2006-01-02 15:04"))
125+ }
126+ infoLines = append(infoLines, fmt.Sprintf("%s %s", labelStyle.Render("Created:"), createdText))
127+
128+ if mysis.State == "errored" && mysis.LastError != "" {
129+ infoLines = append(infoLines, fmt.Sprintf("%s %s", labelStyle.Render("Error:"), stateErroredStyle.Render(mysis.LastError)))
130+ }
131+
121132 infoContent := strings.Join(infoLines, " ")
122133 infoPanel := panelStyle.Width(width - 2).Render(infoContent)
123134 sections = append(sections, infoPanel)
@@ -164,11 +175,11 @@ func RenderFocusView(mysis MysisInfo, logs []LogEntry, width, height int, isLoad
164175 }
165176
166177 // RenderFocusViewWithViewport renders the detailed mysis view using a scrollable viewport.
167-func RenderFocusViewWithViewport(mysis MysisInfo, vp viewport.Model, width int, isLoading bool, spinnerView string, autoScroll bool, verbose bool, totalLines int) string {
178+func RenderFocusViewWithViewport(mysis MysisInfo, vp viewport.Model, width int, isLoading bool, spinnerView string, autoScroll bool, verbose bool, totalLines int, focusIndex, totalMyses int) string {
168179 var sections []string
169180
170181 // Header with mysis name - spans full width
171- header := renderFocusHeader(mysis.Name, width)
182+ header := renderFocusHeader(mysis.Name, focusIndex, totalMyses, width)
172183 sections = append(sections, header)
173184
174185 // Mysis info panel
@@ -190,14 +201,28 @@ func RenderFocusViewWithViewport(mysis MysisInfo, vp viewport.Model, width int,
190201 infoLines = append(infoLines, fmt.Sprintf("%s %s", labelStyle.Render("Account:"), dimmedStyle.Render("(not logged in)")))
191202 }
192203
204+ createdText := dimmedStyle.Render("(unknown)")
205+ if !mysis.CreatedAt.IsZero() {
206+ createdText = valueStyle.Render(mysis.CreatedAt.Local().Format("2006-01-02 15:04"))
207+ }
208+ infoLines = append(infoLines, fmt.Sprintf("%s %s", labelStyle.Render("Created:"), createdText))
209+
210+ if mysis.State == "errored" && mysis.LastError != "" {
211+ infoLines = append(infoLines, fmt.Sprintf("%s %s", labelStyle.Render("Error:"), stateErroredStyle.Render(mysis.LastError)))
212+ }
213+
193214 infoContent := strings.Join(infoLines, " ")
194215 infoPanel := panelStyle.Width(width - 2).Render(infoContent)
195216 sections = append(sections, infoPanel)
196217
197218 // Conversation title with scroll indicator - spans full width
198219 scrollInfo := ""
199- if !autoScroll {
200- scrollInfo = " ↑ SCROLLED"
220+ if !autoScroll && totalLines > 0 {
221+ currentLine := vp.YOffset + 1
222+ if currentLine > totalLines {
223+ currentLine = totalLines
224+ }
225+ scrollInfo = fmt.Sprintf(" LINE %d/%d", currentLine, totalLines)
201226 }
202227 logTitle := renderSectionTitleWithSuffix("CONVERSATION LOG", scrollInfo, width)
203228 sections = append(sections, logTitle)
@@ -253,33 +278,47 @@ func renderLogEntryImpl(entry LogEntry, maxWidth int, verbose bool) []string {
253278 // Content style - no styling (transparent background)
254279 contentStyle := lipgloss.NewStyle()
255280
256- var prefix string
281+ var rolePrefix string
257282 switch entry.Role {
258283 case "user":
259284 if entry.Source == "broadcast_self" {
260- prefix = "YOU (BROADCAST): "
285+ rolePrefix = "YOU (BROADCAST):"
261286 } else if entry.Source == "broadcast" {
262- prefix = "SWARM: "
287+ label := formatSenderLabel(entry.SenderID, entry.SenderName)
288+ if label != "" {
289+ rolePrefix = fmt.Sprintf("SWARM (%s):", label)
290+ } else {
291+ rolePrefix = "SWARM:"
292+ }
263293 roleColor = lipgloss.Color("214")
264294 } else {
265- prefix = "YOU: "
295+ rolePrefix = "YOU:"
266296 }
267297 case "assistant":
268- prefix = "AI: "
298+ rolePrefix = "AI:"
269299 case "system":
270- prefix = "SYS: "
300+ rolePrefix = "SYS:"
271301 case "tool":
272- prefix = "TOOL:"
302+ rolePrefix = "TOOL:"
273303 default:
274- prefix = "???:"
304+ rolePrefix = "???:"
275305 }
276306
307+ timePrefix := "--:--:--"
308+ if !entry.Timestamp.IsZero() {
309+ timePrefix = entry.Timestamp.Local().Format("15:04:05")
310+ }
311+
312+ prefix := fmt.Sprintf("%s %s", timePrefix, rolePrefix)
313+ // Update prefix style with final role color
314+ prefixStyle = prefixStyle.Foreground(roleColor)
315+
277316 // Inside padding: 1 space on left and right of all content
278317 const padLeft = 1
279318 const padRight = 1
280319
281320 // Calculate content width (accounting for prefix, padding, and gap after prefix)
282- prefixWidth := len(prefix) + 1 // +1 for space after prefix
321+ prefixWidth := lipgloss.Width(prefix) + 1 // +1 for space after prefix
283322 contentWidth := maxWidth - prefixWidth - padLeft - padRight
284323 if contentWidth < 20 {
285324 contentWidth = 20
@@ -434,26 +473,31 @@ func renderLogEntryImpl(entry LogEntry, maxWidth int, verbose bool) []string {
434473 }
435474
436475 // LogEntryFromMemory converts a store.Memory to LogEntry.
437-func LogEntryFromMemory(m *store.Memory, currentMysisID string) LogEntry {
476+func LogEntryFromMemory(m *store.Memory, currentMysisID, senderName string) LogEntry {
438477 source := string(m.Source)
439478 if m.Source == store.MemorySourceBroadcast && m.SenderID == currentMysisID {
440479 source = "broadcast_self"
441480 }
442481 return LogEntry{
443- Role: string(m.Role),
444- Source: source,
445- SenderID: m.SenderID,
446- Content: m.Content,
447- Reasoning: m.Reasoning, // NEW: copy reasoning field
448- Timestamp: m.CreatedAt,
482+ Role: string(m.Role),
483+ Source: source,
484+ SenderID: m.SenderID,
485+ SenderName: senderName,
486+ Content: m.Content,
487+ Reasoning: m.Reasoning, // NEW: copy reasoning field
488+ Timestamp: m.CreatedAt,
449489 }
450490 }
451491
452492 // renderFocusHeader renders the focus view header spanning full width.
453-func renderFocusHeader(mysisName string, width int) string {
493+func renderFocusHeader(mysisName string, focusIndex, totalMyses int, width int) string {
454494 // Format: ⬥─── ⬡ MYSIS: name ⬡ ───⬥ with dashes filling the remaining space
455495 // Build title with spaces
456- titleText := " ⬡ MYSIS: " + mysisName + " ⬡ "
496+ countText := ""
497+ if totalMyses > 0 && focusIndex > 0 {
498+ countText = fmt.Sprintf(" (%d/%d)", focusIndex, totalMyses)
499+ }
500+ titleText := " ⬡ MYSIS: " + mysisName + countText + " ⬡ "
457501 titleDisplayWidth := lipgloss.Width(titleText)
458502 // Total fixed chars: space (1) + ⬥ (1) on left, ⬥ (1) on right = 3
459503 availableWidth := width - titleDisplayWidth - 3
internal/tui/focus_test.go+8−2
@@ -20,6 +20,7 @@ func TestLogEntryFromMemoryWithSender(t *testing.T) {
2020 memory *store.Memory
2121 currentID string
2222 wantPrefix string
23+ senderName string
2324 }{
2425 {
2526 name: "direct message",
@@ -41,6 +42,7 @@ func TestLogEntryFromMemoryWithSender(t *testing.T) {
4142 },
4243 currentID: currentMysisID,
4344 wantPrefix: "YOU (BROADCAST):",
45+ senderName: "alpha",
4446 },
4547 {
4648 name: "broadcast from other",
@@ -52,6 +54,7 @@ func TestLogEntryFromMemoryWithSender(t *testing.T) {
5254 },
5355 currentID: currentMysisID,
5456 wantPrefix: "SWARM:",
57+ senderName: "beta",
5558 },
5659 {
5760 name: "broadcast legacy (no sender)",
@@ -68,13 +71,16 @@ func TestLogEntryFromMemoryWithSender(t *testing.T) {
6871
6972 for _, tt := range tests {
7073 t.Run(tt.name, func(t *testing.T) {
71- entry := LogEntryFromMemory(tt.memory, tt.currentID)
74+ entry := LogEntryFromMemory(tt.memory, tt.currentID, tt.senderName)
7275 if entry.Role != string(tt.memory.Role) {
7376 t.Errorf("role: got %q, want %q", entry.Role, tt.memory.Role)
7477 }
7578 if entry.SenderID != tt.memory.SenderID {
7679 t.Errorf("sender_id: got %q, want %q", entry.SenderID, tt.memory.SenderID)
7780 }
81+ if entry.SenderName != tt.senderName {
82+ t.Errorf("sender_name: got %q, want %q", entry.SenderName, tt.senderName)
83+ }
7884 })
7985 }
8086 }
@@ -259,7 +265,7 @@ func TestRenderFocusViewWithScrollbar(t *testing.T) {
259265
260266 width := 100
261267 totalLines := 50
262- output := RenderFocusViewWithViewport(mysis, vp, width, false, "⬡", true, false, totalLines)
268+ output := RenderFocusViewWithViewport(mysis, vp, width, false, "⬡", true, false, totalLines, 1, 1)
263269
264270 // Should contain scrollbar characters
265271 if !strings.Contains(output, "█") && !strings.Contains(output, "│") {
internal/tui/golden_test.go+208−20
@@ -14,6 +14,7 @@ import (
1414 func TestDashboard(t *testing.T) {
1515 defer setupGoldenTest(t)()
1616
17+ // Use fixed timestamps for deterministic golden files.
1718 tests := []struct {
1819 name string
1920 myses []MysisInfo
@@ -21,6 +22,7 @@ func TestDashboard(t *testing.T) {
2122 selectedIdx int
2223 width int
2324 height int
25+ loadingSet map[string]bool
2426 }{
2527 {
2628 name: "empty_swarm",
@@ -29,6 +31,7 @@ func TestDashboard(t *testing.T) {
2931 selectedIdx: 0,
3032 width: TestTerminalWidth,
3133 height: TestTerminalHeight,
34+ loadingSet: map[string]bool{},
3235 },
3336 {
3437 name: "with_swarm_messages",
@@ -40,6 +43,7 @@ func TestDashboard(t *testing.T) {
4043 Provider: "ollama",
4144 AccountUsername: "crab_warrior",
4245 LastMessage: "Mining asteroid belt",
46+ LastMessageAt: time.Date(2026, 1, 15, 10, 45, 0, 0, time.UTC),
4347 CreatedAt: time.Date(2026, 1, 15, 10, 30, 0, 0, time.UTC),
4448 },
4549 {
@@ -49,23 +53,106 @@ func TestDashboard(t *testing.T) {
4953 Provider: "opencode_zen",
5054 AccountUsername: "crab_trader",
5155 LastMessage: "Waiting for orders",
56+ LastMessageAt: time.Date(2026, 1, 15, 10, 46, 0, 0, time.UTC),
5257 CreatedAt: time.Date(2026, 1, 15, 10, 35, 0, 0, time.UTC),
5358 },
5459 },
5560 swarmMsgs: []SwarmMessageInfo{
56- {Content: "All units: proceed to sector 7", CreatedAt: time.Date(2026, 1, 15, 11, 0, 0, 0, time.UTC)},
57- {Content: "Target rich environment detected", CreatedAt: time.Date(2026, 1, 15, 11, 5, 0, 0, time.UTC)},
61+ {SenderID: "mysis-1", SenderName: "alpha", Content: "All units: proceed to sector 7", CreatedAt: time.Date(2026, 1, 15, 11, 0, 0, 0, time.UTC)},
62+ {SenderID: "mysis-2", SenderName: "beta", Content: "Target rich environment detected", CreatedAt: time.Date(2026, 1, 15, 11, 5, 0, 0, time.UTC)},
5863 },
5964 selectedIdx: 0,
6065 width: TestTerminalWidth,
6166 height: TestTerminalHeight,
67+ loadingSet: map[string]bool{},
68+ },
69+ {
70+ name: "with_multiline_broadcast",
71+ myses: []MysisInfo{
72+ {
73+ ID: "mysis-3",
74+ Name: "gamma",
75+ State: "idle",
76+ Provider: "ollama",
77+ AccountUsername: "crab_cartographer",
78+ LastMessage: "Standing by",
79+ LastMessageAt: time.Date(2026, 1, 15, 12, 0, 0, 0, time.UTC),
80+ CreatedAt: time.Date(2026, 1, 15, 11, 55, 0, 0, time.UTC),
81+ },
82+ },
83+ swarmMsgs: []SwarmMessageInfo{
84+ {SenderID: "mysis-3", SenderName: "gamma", Content: "Line one\nLine two", CreatedAt: time.Date(2026, 1, 15, 12, 1, 0, 0, time.UTC)},
85+ },
86+ selectedIdx: 0,
87+ width: TestTerminalWidth,
88+ height: TestTerminalHeight,
89+ loadingSet: map[string]bool{},
90+ },
91+ {
92+ name: "with_loading_mysis",
93+ myses: []MysisInfo{
94+ {
95+ ID: "mysis-4",
96+ Name: "delta",
97+ State: "running",
98+ Provider: "ollama",
99+ AccountUsername: "crab_runner",
100+ LastMessage: "Processing",
101+ LastMessageAt: time.Date(2026, 1, 15, 12, 5, 0, 0, time.UTC),
102+ CreatedAt: time.Date(2026, 1, 15, 11, 50, 0, 0, time.UTC),
103+ },
104+ },
105+ swarmMsgs: []SwarmMessageInfo{},
106+ selectedIdx: 0,
107+ width: TestTerminalWidth,
108+ height: TestTerminalHeight,
109+ loadingSet: map[string]bool{"mysis-4": true},
110+ },
111+ {
112+ name: "narrow_terminal",
113+ myses: []MysisInfo{
114+ {
115+ ID: "mysis-5",
116+ Name: "epsilon",
117+ State: "idle",
118+ Provider: "ollama",
119+ AccountUsername: "crab_navigator",
120+ LastMessage: "Holding position",
121+ LastMessageAt: time.Date(2026, 1, 15, 12, 10, 0, 0, time.UTC),
122+ CreatedAt: time.Date(2026, 1, 15, 12, 5, 0, 0, time.UTC),
123+ },
124+ },
125+ swarmMsgs: []SwarmMessageInfo{},
126+ selectedIdx: 0,
127+ width: 80,
128+ height: 24,
129+ loadingSet: map[string]bool{},
130+ },
131+ {
132+ name: "wide_terminal",
133+ myses: []MysisInfo{
134+ {
135+ ID: "mysis-6",
136+ Name: "zeta",
137+ State: "running",
138+ Provider: "opencode_zen",
139+ AccountUsername: "crab_scout",
140+ LastMessage: "Surveying sector",
141+ LastMessageAt: time.Date(2026, 1, 15, 12, 20, 0, 0, time.UTC),
142+ CreatedAt: time.Date(2026, 1, 15, 12, 15, 0, 0, time.UTC),
143+ },
144+ },
145+ swarmMsgs: []SwarmMessageInfo{},
146+ selectedIdx: 0,
147+ width: 200,
148+ height: 60,
149+ loadingSet: map[string]bool{},
62150 },
63151 }
64152
65153 for _, tt := range tests {
66154 t.Run(tt.name, func(t *testing.T) {
67- loadingSet := make(map[string]bool)
68- output := RenderDashboard(tt.myses, tt.swarmMsgs, tt.selectedIdx, tt.width, tt.height, loadingSet, "⠋")
155+ output := RenderDashboard(tt.myses, tt.swarmMsgs, tt.selectedIdx, tt.width, tt.height, tt.loadingSet, "⠋")
69156
70157 t.Run("ANSI", func(t *testing.T) {
71158 golden.RequireEqual(t, []byte(output))
@@ -133,10 +220,11 @@ func TestFocusView(t *testing.T) {
133220 {
134221 name: "with_scrollbar",
135222 mysis: MysisInfo{
136- ID: "test-mysis",
137- Name: "beta",
138- State: "running",
139- Provider: "ollama",
223+ ID: "test-mysis",
224+ Name: "beta",
225+ State: "running",
226+ Provider: "ollama",
227+ CreatedAt: time.Date(2026, 1, 15, 9, 30, 0, 0, time.UTC),
140228 },
141229 logs: func() []LogEntry {
142230 // Create enough logs to trigger scrollbar
@@ -154,11 +242,32 @@ func TestFocusView(t *testing.T) {
154242 width: TestTerminalWidth,
155243 height: TestTerminalHeight,
156244 },
245+ {
246+ name: "narrow_terminal",
247+ mysis: MysisInfo{
248+ ID: "test-mysis",
249+ Name: "gamma",
250+ State: "idle",
251+ Provider: "opencode_zen",
252+ AccountUsername: "crab_surveyor",
253+ CreatedAt: time.Date(2026, 1, 15, 9, 45, 0, 0, time.UTC),
254+ },
255+ logs: []LogEntry{
256+ {
257+ Role: "assistant",
258+ Source: "llm",
259+ Content: "Short response for narrow view.",
260+ Timestamp: time.Date(2026, 1, 15, 9, 46, 0, 0, time.UTC),
261+ },
262+ },
263+ width: 80,
264+ height: 24,
265+ },
157266 }
158267
159268 for _, tt := range tests {
160269 t.Run(tt.name, func(t *testing.T) {
161- output := RenderFocusView(tt.mysis, tt.logs, tt.width, tt.height, false, "⠋", false)
270+ output := RenderFocusView(tt.mysis, tt.logs, tt.width, tt.height, false, "⠋", false, 1, 1)
162271
163272 t.Run("ANSI", func(t *testing.T) {
164273 golden.RequireEqual(t, []byte(output))
@@ -297,6 +406,7 @@ func TestFocusViewWithViewport(t *testing.T) {
297406 width int
298407 height int
299408 totalLines int
409+ autoScroll bool
300410 }{
301411 {
302412 name: "with_scrollbar",
@@ -306,14 +416,16 @@ func TestFocusViewWithViewport(t *testing.T) {
306416 State: "running",
307417 Provider: "ollama",
308418 AccountUsername: "crab_pilot",
419+ CreatedAt: time.Date(2026, 1, 15, 10, 0, 0, 0, time.UTC),
309420 },
310421 logs: func() []LogEntry {
311422 logs := make([]LogEntry, 50)
312423 for i := 0; i < 50; i++ {
313424 logs[i] = LogEntry{
314- Role: "user",
315- Source: "direct",
316- Content: "Test line " + string(rune('0'+i%10)),
425+ Role: "user",
426+ Source: "direct",
427+ Content: "Test line " + string(rune('0'+i%10)),
428+ Timestamp: time.Date(2026, 1, 15, 10, i%60, 0, 0, time.UTC),
317429 }
318430 }
319431 return logs
@@ -321,6 +433,34 @@ func TestFocusViewWithViewport(t *testing.T) {
321433 width: TestTerminalWidth,
322434 height: 20,
323435 totalLines: 50,
436+ autoScroll: true,
437+ },
438+ {
439+ name: "with_scroll_indicator",
440+ mysis: MysisInfo{
441+ ID: "test-id",
442+ Name: "test-mysis",
443+ State: "running",
444+ Provider: "ollama",
445+ AccountUsername: "crab_pilot",
446+ CreatedAt: time.Date(2026, 1, 15, 10, 0, 0, 0, time.UTC),
447+ },
448+ logs: func() []LogEntry {
449+ logs := make([]LogEntry, 30)
450+ for i := 0; i < 30; i++ {
451+ logs[i] = LogEntry{
452+ Role: "assistant",
453+ Source: "llm",
454+ Content: "Focus log line " + string(rune('A'+i)),
455+ Timestamp: time.Date(2026, 1, 15, 10, i%60, 0, 0, time.UTC),
456+ }
457+ }
458+ return logs
459+ }(),
460+ width: TestTerminalWidth,
461+ height: 20,
462+ totalLines: 30,
463+ autoScroll: false,
324464 },
325465 }
326466
@@ -336,7 +476,7 @@ func TestFocusViewWithViewport(t *testing.T) {
336476 vp.SetContent(strings.Join(contentLines, "\n"))
337477 vp.GotoTop()
338478
339- output := RenderFocusViewWithViewport(tt.mysis, vp, tt.width, false, "⠋", true, false, tt.totalLines)
479+ output := RenderFocusViewWithViewport(tt.mysis, vp, tt.width, false, "⠋", tt.autoScroll, false, tt.totalLines, 1, 1)
340480
341481 t.Run("ANSI", func(t *testing.T) {
342482 golden.RequireEqual(t, []byte(output))
@@ -456,9 +596,10 @@ func TestMysisLine(t *testing.T) {
456596 defer setupGoldenTest(t)()
457597
458598 tests := []struct {
459- name string
460- mysis MysisInfo
461- width int
599+ name string
600+ mysis MysisInfo
601+ width int
602+ loading bool
462603 }{
463604 {
464605 name: "with_account",
@@ -469,6 +610,7 @@ func TestMysisLine(t *testing.T) {
469610 Provider: "ollama",
470611 AccountUsername: "crab_miner",
471612 LastMessage: "Mining asteroid",
613+ LastMessageAt: time.Date(2026, 1, 15, 10, 5, 0, 0, time.UTC),
472614 CreatedAt: time.Date(2026, 1, 15, 10, 0, 0, 0, time.UTC),
473615 },
474616 width: 100,
@@ -486,11 +628,54 @@ func TestMysisLine(t *testing.T) {
486628 },
487629 width: 100,
488630 },
631+ {
632+ name: "long_name",
633+ mysis: MysisInfo{
634+ ID: "abc123",
635+ Name: "mysis-with-a-very-long-name",
636+ State: "running",
637+ Provider: "ollama",
638+ AccountUsername: "crab_miner",
639+ LastMessage: "Holding",
640+ LastMessageAt: time.Date(2026, 1, 15, 10, 10, 0, 0, time.UTC),
641+ CreatedAt: time.Date(2026, 1, 15, 10, 0, 0, 0, time.UTC),
642+ },
643+ width: 100,
644+ },
645+ {
646+ name: "errored_state",
647+ mysis: MysisInfo{
648+ ID: "abc123",
649+ Name: "test-mysis",
650+ State: "errored",
651+ Provider: "ollama",
652+ AccountUsername: "crab_miner",
653+ LastMessage: "",
Cut short: this commit's diff is over 1000 lines.
internal/tui/styles.go+29−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestBroadcastLabels/broadcast_from_other/ANSI.golden+1−1
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestBroadcastLabels/broadcast_from_other/Stripped.golden+1−1
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestBroadcastLabels/broadcast_from_self/ANSI.golden+1−1
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestBroadcastLabels/broadcast_from_self/Stripped.golden+1−1
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestBroadcastLabels/broadcast_legacy_no_sender/ANSI.golden+1−1
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestBroadcastLabels/broadcast_legacy_no_sender/Stripped.golden+1−1
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestBroadcastLabels/direct_message/ANSI.golden+1−1
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestBroadcastLabels/direct_message/Stripped.golden+1−1
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestDashboard/narrow_terminal/ANSI.golden+24−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestDashboard/narrow_terminal/Stripped.golden+24−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestDashboard/wide_terminal/ANSI.golden+60−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestDashboard/wide_terminal/Stripped.golden+60−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestDashboard/with_loading_mysis/ANSI.golden+40−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestDashboard/with_loading_mysis/Stripped.golden+40−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestDashboard/with_multiline_broadcast/ANSI.golden+40−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestDashboard/with_multiline_broadcast/Stripped.golden+40−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestDashboard/with_swarm_messages/ANSI.golden+4−4
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestDashboard/with_swarm_messages/Stripped.golden+4−4
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestFocusView/narrow_terminal/ANSI.golden+21−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestFocusView/narrow_terminal/Stripped.golden+21−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestFocusView/with_all_roles/ANSI.golden+9−9
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestFocusView/with_all_roles/Stripped.golden+9−9
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestFocusView/with_scrollbar/ANSI.golden+16−16
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestFocusView/with_scrollbar/Stripped.golden+16−16
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestFocusViewWithViewport/with_scroll_indicator/ANSI.golden+29−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestFocusViewWithViewport/with_scroll_indicator/Stripped.golden+29−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestFocusViewWithViewport/with_scrollbar/ANSI.golden+7−7
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestFocusViewWithViewport/with_scrollbar/Stripped.golden+7−7
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestLogEntry/tool_with_json/ANSI.golden+5−5
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestLogEntry/tool_with_json/Stripped.golden+5−5
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestLogEntry/tool_with_prefixed_json/ANSI.golden+5−5
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestLogEntry/tool_with_prefixed_json/Stripped.golden+5−5
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestLogEntry/with_reasoning/ANSI.golden+1−1
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestLogEntry/with_reasoning/Stripped.golden+1−1
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestLogEntry/with_reasoning_truncation/ANSI.golden+1−1
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestLogEntry/with_reasoning_truncation/Stripped.golden+1−1
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestMysisLine/errored_state/ANSI.golden+1−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestMysisLine/errored_state/Stripped.golden+1−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestMysisLine/loading_state/ANSI.golden+1−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestMysisLine/loading_state/Stripped.golden+1−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestMysisLine/long_name/ANSI.golden+1−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestMysisLine/long_name/Stripped.golden+1−0
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestMysisLine/with_account/ANSI.golden+1−1
Cut short: this commit's diff is over 1000 lines.
internal/tui/testdata/TestMysisLine/with_account/Stripped.golden+1−1
Cut short: this commit's diff is over 1000 lines.
internal/tui/tui_test.go+5−5
Cut short: this commit's diff is over 1000 lines.