[feat-022] Citation chip labels: quote excerpt, not "Page N"
Was rendering "Page 1 · p1" for every citation when the quote didn't start with a Section reference - useless when 4 of 4 citations are on page 1 (can't tell them apart). Now: - Section reference at start of quote → "Section 2.06" - Otherwise → first ~40 chars of the quote in curly quotes, e.g. "terminate...effective within one h..." - "Page N" is now only the final fallback when the quote is empty Page number moved to a small "p1" trailing suffix (was the redundant " · p1" stacked next to "Page 1"). Full quote stays on hover tooltip. Max chip width capped at 260px so a long quote doesn't blow the row. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
| Repository | nwhitehouse/mike |
|---|---|
| Author | Nick Whitehouse <nick.whitehouse@mccarthyfinch.com> |
| Authored | |
| Parents | a71f3cc1 |
| Stats | 1 file changed , +28 , -11 |
| Part of | Tabular cell citation + keyword chips |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-c8ad2161.md
from inside the repo you want the change in.