Fix #580: thread card collapse/expand label derives from open() #582
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!582
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-580"
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?
One-line fix in ThreadCard (web/src/pages/Pull.jsx:813): toggle label reads open() — the same signal the body Show renders on — instead of getOpen(), so flash-expanded cards (via #575 body click or #573-era pill jump) label "collapse" with body open. Unflashed behavior unchanged (open()===getOpen()); resolved threads still start collapsed. StagedCard checked: no collapse/expand toggle, nothing to fix. Tests: new web/test/unit/thread-toggle-label-580.test.js (10 tests incl. two-click label/body agreement model); #580-scoped update to one stale 573 pin; docs/go/12_web_ui.md FIXED (#580) amendment same commit. Verify: related 76 pass; full-minus-smoke 1440 pass/0 fail; vite build + esbuild SDK green; go vet clean; 390px reasoned (text-only change).
APPROVED — independently verified against issue #580 acceptance, all points hold.
What I checked (worktree /tmp/walhub-580, diff origin/main..origin/fix/issue-580):
Reviewer fix pushed (
9617533, same branch): the #580 amendment said '(10 tests...)' but thread-toggle-label-580.test.js contains 11 test() blocks — corrected to 11. One-line doc-only change; re-verified green after the edit (working tree clean at push).Verdict: approve/merge at your discretion — no browser proof beyond the reasoned text-only/desktop+390px note, same standing caveat as the stacked flash PRs.