You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bbe2eb3
Browse filesBrowse the repository at this point in the historyBrowse files
fix(web): show linked and retained PR status in sidebar rows
The sidebar rows still resolved a thread's PR from live git status alone,
which required the thread's branch to match the current checkout. Three
gaps followed: threads with a linked PR never showed a badge in the sidebar,
switching the local checkout dropped every non-worktree thread's badge, and
merged/closed states were lost as soon as the row remounted. The chat header
and command palette already used resolveDisplayedThreadPr, so the header
could say "merged" while the row showed nothing.
Ports upstream's row wiring (pingdotgg#4755, pingdotgg#8160): rows read the linked PR through
useLinkedThreadPullRequest, resolve the displayed PR and its provider from
link → parent-held snapshot → git status, and publish snapshot updates into
threadChangeRequestSnapshotsAtom, which the parent hands back to each row.
Guard script pins both call sites.
Web typecheck clean; sidebar/status-indicator suites 419 passing.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
0 commit comments