Untitled pastes in the PASTE column of the history list rendered their ID fallback with the .slug chip styling (mono font, background pill, padding). Added a paste-name modifier that strips chip styling so the fallback is plain var(--fg) text identical to a titled paste; URL and ID column chips unchanged. Applied to both /history and /mine.
Rendered proof (headless chromium, computed styles on a live build with one titled + one untitled paste):
untitled row: slug paste-name, background rgba(0,0,0,0), color rgb(242,237,248) (var(--fg)), font -apple-system — identical to titled row
ID column still id-link chip; screenshot at /tmp/pal146_history_fixed.png
go vet + go test pass
Fixes #146
- Untitled pastes in the PASTE column of the history list rendered their ID fallback with the `.slug` chip styling (mono font, background pill, padding). Added a `paste-name` modifier that strips chip styling so the fallback is plain `var(--fg)` text identical to a titled paste; URL and ID column chips unchanged. Applied to both `/history` and `/mine`.
Rendered proof (headless chromium, computed styles on a live build with one titled + one untitled paste):
- untitled row: `slug paste-name`, background `rgba(0,0,0,0)`, color `rgb(242,237,248)` (var(--fg)), font `-apple-system` — identical to titled row
- ID column still `id-link` chip; screenshot at /tmp/pal146_history_fixed.png
- go vet + go test pass
The PASTE column fallback for untitled pastes used the .slug class, which
renders as a monospace chip with a background pill. Give it a dedicated
paste-name modifier that strips the chip styling (background, padding,
radius, mono font) so the fallback looks identical to a titled paste
(var(--fg) plain text). The dedicated ID column and URL column chips keep
their existing styling. Applied to both /history and /mine tables.
fen
merged commit 4d50e644b9 into dev2026-09-10 04:07:04 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes #146
.slugchip styling (mono font, background pill, padding). Added apaste-namemodifier that strips chip styling so the fallback is plainvar(--fg)text identical to a titled paste; URL and ID column chips unchanged. Applied to both/historyand/mine.Rendered proof (headless chromium, computed styles on a live build with one titled + one untitled paste):
slug paste-name, backgroundrgba(0,0,0,0), colorrgb(242,237,248)(var(--fg)), font-apple-system— identical to titled rowid-linkchip; screenshot at /tmp/pal146_history_fixed.png