Render inline thread comments oldest-first (Fix #597) #604
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!604
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-597"
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?
ThreadComments rendered the wire array raw (newest-first by 02 §7 design), putting the newest reply farthest from the reply textbox. The now iterates chronological(getView()?.comments) — the #225 shared helper, no inline sort re-implementation. Wire byte-identical (no API/SDK change); ThreadComments is the only SPA consumer of pulls.threads.get().comments. Headless cover: web/test/unit/thread-comments-order-597.test.js (15 tests, incl. more:true window + missing-seq fallback + headless DOM newest-adjacent-above-reply). Full-minus-smoke green (1510 pass), vite + esbuild green, go vet clean. Doc amendment in docs/go/12_web_ui.md same commit (law 12). Fixes #597.
Independent review — APPROVED (no fix commits; no defects found).
Verified against #597 acceptance, in /tmp/walhub-597 on fix/issue-597 (
e811d79), diff origin/main..origin/fix/issue-597 = Pull.jsx + thread-comments-order-597.test.js + 12_web_ui.md entry:Note: the DOM-order assertion uses a synthetic renderCard mirror (node --test has no Solid runtime) plus exact-string call-site pins — strongest available headless signal, consistent with repo convention. Acceptable, not a blocker.