Clicking inside a thread card should highlight it like a pill jump does #575
Labels
No labels
actions
bug
cli
duplicate
enhancement
fork
forum
git storage
help wanted
insights
invalid
issues
moderation
oidc
ownership transfer
packages
pr/merge protection rules
projects
pull requests
question
releases
sponsorships
tags
webhooks
wiki
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crueber/walhub#575
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Clicking inside a thread card should highlight it like a pill jump does
What's requested
Clicking anywhere inside an inline thread card (ThreadCard) or staged card (StagedCard) should apply the same flash highlight that a Comments-index pill jump applies — the emerald ring — so the card the user is directly interacting with reads as the target, not just the card reached via the index. Today the highlight exists ONLY on the pill-jump path; a user who scrolls to or clicks into a card gets no equivalent feedback.
Evidence
web/src/pages/Pull.jsx:1033-1041(jumpToThread / jumpToStaged setflashTid/flashStaged), consumed atPull.jsx:754(ThreadCard) andPull.jsx:693(StagedCard).Fix shape
Architecture notes
Pull.jsx; no anchor/drift-hash surface touched (anchorContextShainputs and the pinned vectors stay byte-identical).flashTid/flashStagedsignals — do not introduce a second highlight mechanism.Acceptance criteria
Shares the flash lifecycle with #573 — reuse the same set/clear mechanics; a collapse click flashes-and-clears in one gesture.
Fixed by #579 (merged): card-root click sets the same flashTid/flashStaged state as a pill jump (no scroll, single-flash overwrite, StagedCard parity); control clicks + selection drags ignored; collapse-click ends collapsed + unhighlighted via the #573 clear path (stopPropagation + control-ignore, no ordering hole). Verified: 1429 unit tests green (smoke excluded, pre-existing), vite/esbuild green, independent review APPROVE.