feat: UI redesign, capture grammar, demo command #14

Merged
lerko merged 23 commits from develop into main 2026-05-16 20:07:28 +00:00
Showing only changes of commit fadc6d9a2a - Show all commits
+6 -1
View File
@@ -142,8 +142,13 @@ func printEntity(e *db.Entity) {
glyph := display.DisplayGlyph(e.Glyph, e.CardType) glyph := display.DisplayGlyph(e.Glyph, e.CardType)
shortID := display.FormatID(e.ID) shortID := display.FormatID(e.ID)
label := e.Body
if e.Title != nil {
label = *e.Title
}
var line strings.Builder var line strings.Builder
fmt.Fprintf(&line, "%s %-40s", glyph, e.Body) fmt.Fprintf(&line, "%s %-40s", glyph, label)
if e.TimeAnchor != nil { if e.TimeAnchor != nil {
fmt.Fprintf(&line, " @%-5s", *e.TimeAnchor) fmt.Fprintf(&line, " @%-5s", *e.TimeAnchor)