#292: highlight paste name uniformly on row hover in list tables #293

Merged
fen merged 1 commits from fix-292 into dev 2026-09-18 02:58:13 +00:00
Collaborator

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.
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.
fen added 1 commit 2026-09-18 02:46:19 +00:00
#292: highlight paste name uniformly on row hover in list tables
CI / docker (pull_request) Skipped
CI / test (pull_request) Successful in 26s
e87bdb221e
fen merged commit 4fa60ea7b9 into dev 2026-09-18 02:58:13 +00:00
Sign in to join this conversation.