Skip to content

fix: PR branch names on filtered lists - #48

Merged
rrbe merged 3 commits into
mainfrom
fix/pr-branch-search-results
Jul 30, 2026
Merged

fix: PR branch names on filtered lists#48
rrbe merged 3 commits into
mainfrom
fix/pr-branch-search-results

Conversation

@rrbe

@rrbe rrbe commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • request branch data for the PR numbers actually rendered on the page
  • use one exact GraphQL batch when a token is configured
  • preserve anonymous REST support with per-PR fallback for filtered results

Root cause

The branch loader always requested the latest 30 open or closed pull requests by page. GitHub search results can mix states and contain older pull requests, so those responses did not include the rendered PR numbers. The navigation poll then repeatedly re-added and cleared branch skeletons, causing the visible flicker.

Verification

  • pnpm test (32 files, 227 tests)
  • pnpm typecheck
  • pnpm build
  • git diff --check

@rrbe rrbe changed the title Fix PR branch names on filtered lists fix: PR branch names on filtered lists Jul 30, 2026
@rrbe
rrbe merged commit 8f5b2b6 into main Jul 30, 2026
1 check passed
@rrbe
rrbe deleted the fix/pr-branch-search-results branch July 30, 2026 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant