feat(web): summary preview under each list card
Render a muted one-line lede beneath the title/meta of each summary card via previewText(r.Summary, 160). New .card-preview token clamps to one line. Regenerated views_templ.go committed (CI has no templ binary).
This commit is contained in:
@@ -75,6 +75,9 @@ templ summaryList(rows []store.SummaryRow) {
|
||||
if cardMeta(r) != "" {
|
||||
<div class="card-meta">{ cardMeta(r) }</div>
|
||||
}
|
||||
if p := previewText(r.Summary, 160); p != "" {
|
||||
<div class="card-preview">{ p }</div>
|
||||
}
|
||||
<div class="card-foot">
|
||||
if r.AIProvider != "" {
|
||||
<span class="chip">{ r.AIProvider }</span>
|
||||
|
||||
Reference in New Issue
Block a user