Commit cde5355
feat(ui): show last tool call time on session card
Card primary age now prefers last_tool_call_at over last_attached_at
so the "X ago" next to each session matches the list sort order (a
session you attached an hour ago but just ran a tool call in appears
as "2m" not "1h").
When both timestamps are known:
⏵ 2m 1h
where ⏵ 2m is the tool-call recency (dim foreground for the glyph,
solid foreground for the number) and the trailing 1h shows
last-attached dimmed — so users can see both "is it live" and "when
did I last touch it" at a glance.
Tooltips on each <time> element spell out which timestamp it is.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 232164a commit cde5355
1 file changed
Lines changed: 25 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| |||
70 | 76 | | |
71 | 77 | | |
72 | 78 | | |
73 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
74 | 97 | | |
75 | 98 | | |
76 | 99 | | |
| |||
0 commit comments