Remove the visible zero-padded thread id from the thread card header #581
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#581
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?
What's requested
Remove the visible zero-padded thread id (e.g.
00000002) from the thread card header, while keeping the anchor mechanism intact.Evidence
web/src/pages/Pull.jsx:798— the card header renders the raw tid:internal/review/service.go:384,internal/review/threads.go:43:fmt.Sprintf("%08x", next)), so every card leads with a visually noisy00000002-style string that carries no meaning for the reader.Architecture notes
id={thread-${t().tid}}on the card root div (Pull.jsx:792), consumed by the jump-to-comments index (onJump→ scroll tothread-<tid>, per the #546/#557 index). Removing the header span does not touch that id, theflashTidflash mechanics, or thearia-label={Thread ${t().tid}}(line 794) — leave all three untouched so deep links and the comments index keep working.anchorLabel, not the tid), so this is a single-element removal inThreadCard.title/tooltip instead — implementer's call; default is plain removal.Acceptance criteria
id="thread-<tid>"on the card root is unchanged — jump-to-comments pills still scroll to and flash the correct card.thread-<tid>anchors still resolve.aria-labelstill identifies the thread for screen readers.web/test/unit/*sweep forthread-<tid>/ header assertions).Fixed by #583 (merged): visible zero-padded tid span removed from the ThreadCard header (plain removal); root thread- id, aria-label, flash mechanics, pills, and deep links byte-identical. Verified: 1446 unit tests green (smoke excluded, pre-existing), vite/esbuild green, independent review APPROVE with sweep re-verified.