Paste names in the list tables highlighted (accent color) on row hover only for UNTITLED pastes. Untitled pastes render their name as an <a class="slug paste-name"> link which picks up the hover accent rule; titled pastes rendered their name as plain text, so hovering never highlighted it. That looked like 'some pastes highlight, others don't'.
Fix
history.js + mine.js: titled pastes now render their name as <a class="paste-name"> (previously bare text), so every row's name is the same element type.
app.css: td a.paste-name rests at var(--fg), identical to plain text (no default blue link look); tr.row:hover td .paste-name applies the accent color on hover, titled or not.
/public and /saved, titled + untitled paste in each list.
Resting color identical for both rows: rgb(242,237,248) (var(--fg)); titled rows no longer get UA blue link color.
Real mouse-move over each row: both change to rgb(196,168,240) = --accent.
go build ./... && go test ./... pass.
Fix attempt 1.
Ref #292
## Problem
Paste names in the list tables highlighted (accent color) on row hover only for UNTITLED pastes. Untitled pastes render their name as an `<a class="slug paste-name">` link which picks up the hover accent rule; titled pastes rendered their name as plain text, so hovering never highlighted it. That looked like 'some pastes highlight, others don't'.
## Fix
- history.js + mine.js: titled pastes now render their name as `<a class="paste-name">` (previously bare text), so every row's name is the same element type.
- app.css: `td a.paste-name` rests at var(--fg), identical to plain text (no default blue link look); `tr.row:hover td .paste-name` applies the accent color on hover, titled or not.
## Verification (local render probe, headless chromium CDP)
- /public and /saved, titled + untitled paste in each list.
- Resting color identical for both rows: rgb(242,237,248) (var(--fg)); titled rows no longer get UA blue link color.
- Real mouse-move over each row: both change to rgb(196,168,240) = --accent.
- go build ./... && go test ./... pass.
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.
Fix attempt 1.
Ref #292
Problem
Paste names in the list tables highlighted (accent color) on row hover only for UNTITLED pastes. Untitled pastes render their name as an
<a class="slug paste-name">link which picks up the hover accent rule; titled pastes rendered their name as plain text, so hovering never highlighted it. That looked like 'some pastes highlight, others don't'.Fix
<a class="paste-name">(previously bare text), so every row's name is the same element type.td a.paste-namerests at var(--fg), identical to plain text (no default blue link look);tr.row:hover td .paste-nameapplies the accent color on hover, titled or not.Verification (local render probe, headless chromium CDP)