Fix #568: systemic .link sweep — one shared rule (option a) #571
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!571
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-568"
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?
Follow-up to #566 (deliberately unbundled). The
.linkclass had zero CSS rules in shippedweb/src/ui.css; Tailwind v4 preflight reset all 25 remaining uses (10 files: Pull review dismiss/remove, thread resolve/expand toggles, staged remove, Checks links/expand, Team member remove, Settings token revoke + webhook ping/deliveries/delete, back-links in PullFiles/PullCommits/CheckDetail/Team/Invitations, Commit checks toggle, NotificationTray actions) to plain muted text. #566 fixed only the two composer Cancels (.btn); #567 review fixed StagedCard (same .btn).Treatment: option (a) — ONE shared
.linkcomponent rule inui.css@layer components (emerald accent both themes, hover underline + hover color shift, cursor-pointer) per the #405 opaque-popover precedent: one rule fixes all sites including future ones. Deliberately a class, never a barearule — scoped link styles keep their contexts and<A class="link">composes instead of fighting (no baseaaccent exists). Button-shaped actions stay.btn(#566/#567 idioms hold). Zero JSX changes.Law 12:
docs/go/12_web_ui.mdFIXED (#568) amendment +docs/style-guideline.md§2 canonical.linkentry (with the .btn boundary), same commit.Verify: new
web/test/unit/link-sweep-568.test.js(16 tests) + #568-scoped updates to two stale pins; targeted 52 pass; full-minus-smoke 1387/1387 pass (smoke needs live server, pre-existing);vite buildgreen with.linkin compiled CSS (web/dist/.keeprestored);esbuildSDK bundle green;go vet ./internal/...clean (no Go change). Text-level change, no layout impact — 390px reasoned.REVIEW — APPROVE (independent review of fix/issue-568 @
828d9feagainst #568).Acceptance holds: ONE systemic treatment (option (a)) applied repo-wide — a single shared .link rule in ui.css @layer components fixes all 25 sites with zero JSX changes.
Verified independently in /tmp/walhub-568:
No fix commits needed — no defects found. web/dist untouched, no Go files touched.