Fix #482: ref picker pin + pills #488
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!488
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-482"
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?
Client-only fix for #482 (no wire change, no new deps): 1. Pinned default row from the summary head (pinnedDefault/dedupeRefs in web/src/lib/ref-pill.js), rendered first in .ref-list with default group label + .pill badge + divider, via the existing pick() path. 2. Kind select becomes two btn/primary toggle pills (Branches|Tags, role=group, aria-pressed) above the full-width filter input; switchKind repeats the old onChange contract with query persisted. Esc/outside-click, opaque .ref-drop, and the #278 viewport bound untouched. Law-12 decision in docs/go/12_web_ui.md. Tests: node --test 1047 total / 1045 pass / 2 pre-existing live-server smoke failures (identical on main); vite+esbuild green. Browser proof open (shared-daemon guard).