Render the fork count on the Fork button inside a count badge matching the header row's badge idiom #446
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#446
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
On the repository header row, render the fork count on the Fork button inside a count badge / circle, matching the count-badge idiom already used in the same header area, instead of the current bare-text suffix.
Current behavior (evidence)
web/src/pages/Repo.jsx(Fork pill, Issue #424 block, ~line 618-626): the Fork link renders as a plainpillwith the count appended as text: The count is plain inline text — visually indistinguishable from the label.ml-autoactions cluster of.repo-headeralongsideStarToggle(~line 333, renders the star glyph +{stars}inside a.btn) andWatchToggle(~line 179, renders the eye glyph +{watchers}inside a.btn), plusCloneMenu.Reference idiom to match
.tab-badgeinweb/src/ui.css(~line 83) is the established count-badge/circle style: (used on the repo tab row, issue #319 — count rendered in a white-on-emerald rounded-full pill, hidden at 0).Architecture notes
s().forks), already fetched — no new request, no ETag/caching concern (display-only, client-side).<A>link, not a button; the badge nests inside the anchor and does not need to change the link semantics.Acceptance criteria
.tab-badgecount-pill styling — white on emerald-500, readable in both themes, nodark:variant needed (same rationale as the tab badge comment)./{owner}/{repo}/fork;titleand accessibility labels unchanged in meaning.Superseded by #447: the header is being unified into one pill idiom (Star/Watch style, count left of label) rather than adding a tab-badge count circle to Fork — #447 absorbs this ticket.
Superseded by #447 (absorbed); closing.