Skip to content

Add refresh button to PR drawer#47

Merged
Umaaz merged 2 commits into
mainfrom
lucid-wren
Apr 8, 2026
Merged

Add refresh button to PR drawer#47
Umaaz merged 2 commits into
mainfrom
lucid-wren

Conversation

@Umaaz
Copy link
Copy Markdown
Contributor

@Umaaz Umaaz commented Apr 8, 2026

Summary

  • Adds a refresh button (↻) to the PR drawer header that force-refreshes PR details, comments, and build status
  • Refactors fetch logic from a useEffect with refreshKey counter into a useCallback for cleaner reuse between initial load and manual refresh

Test plan

  • Open a PR drawer and verify details load as before
  • Click the refresh button and confirm the loading state appears and data reloads
  • Verify the button appears in the header between the PR number and the GitHub external link

🤖 Generated with Claude Code

Umaaz and others added 2 commits April 8, 2026 20:43
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Umaaz Umaaz merged commit 9b8499b into main Apr 8, 2026
3 checks passed
@Umaaz Umaaz deleted the lucid-wren branch April 8, 2026 20:42
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