fix(tui): expose discord message details

This commit is contained in:
Vincent Koc 2026-05-03 02:57:43 -07:00
parent c6d969f998
commit e67f3e059b
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View File

@ -242,6 +242,7 @@ func TestDiscordTUIRowsIncludePaneMetadata(t *testing.T) {
}})
require.Len(t, rows, 1)
require.Equal(t, "hello from desktop", rows[0].Title)
require.Equal(t, "hello from desktop", rows[0].Detail)
require.Equal(t, "Direct messages", rows[0].Scope)
require.Equal(t, "Vincent K", rows[0].Container)
require.Contains(t, rows[0].Tags, "dm")

View File

@ -131,6 +131,7 @@ func discordTUIRows(rows []store.MessageRow) []tui.Row {
Author: discordAuthorLabel(row),
Title: title,
Text: row.Content,
Detail: row.Content,
URL: discordMessageURL(row),
CreatedAt: formatTime(row.CreatedAt),
Tags: tags,