Fix #285: icon-only star/watch buttons #302
No reviewers
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 milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crueber/walhub!302
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-285"
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?
Closes #285.
Repo header star/watch toggles render icon + count only (star icon + N, eye icon + N) — the words are gone. State communication unchanged: existing primary active styling, tooltips (title), aria-pressed, plus new aria-label carrying the verb (Star/Unstar this repo, Watch/Unwatch this repo) since the visible verb is gone. Optimistic flip + error reconcile untouched; counts stay live.
Tests: new web/test/unit/repo-social-toggles.test.js (3 tests, source-pinned JSX) — full node --test web/test/unit/*.test.js green (581/581). esbuild JSX transform clean. No new deps. No doc change: no doc pins the button words (law 12 checked).
Browser check open: shared CDP daemon reachable but loopback navigation blocked per task constraints, so no live-browser pass — change is text-only inside unchanged buttons/classes (dark + light inherit existing btn/primary styles), flagged for reviewer.