Remove the comment counts from the Comments index heading #572
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#572
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?
Remove the comment counts from the Comments index heading
What's requested
The thread index panel above the PR conversation renders its heading as a count, e.g. "Comments (3 + 1 staged)". Drop the counts: the heading should read just "Comments". The pills themselves already carry the useful per-thread state (path:line, resolved/outdated/staged markers), and the review summary bar already reports "N unresolved threads" — the parenthetical count is redundant chrome on this panel.
Evidence
web/src/pages/Pull.jsx:814-816(ThreadIndex):<h2 class="card-header">Comments ({(props.threads ?? []).length}{(props.pending ?? []).length > 0 ? \+ ${(props.pending ?? []).length} staged` : ""})`.Architecture notes
ThreadIndex; no wire, store, or cache surface is touched (the heading count is computed from props the panel already receives).Acceptance criteria
threadsorpendingnon-empty — Pull.jsx:812); the visibility gate does not become count-dependent.Fixed by #576 (merged): ThreadIndex heading renders static Comments with no parenthetical count in every state; gate, pills, jump/flash byte-identical. Verified: 1393 unit tests green (smoke excluded, pre-existing), vite/esbuild green, independent review APPROVE.