Repository navigation
feat(desktop): copy GitHub URL from pull request pane header - #7500
Conversation
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe pull request pane header now fetches the pull request URL and displays a copy button when the URL is available. The button shows copy or check feedback and reports clipboard failures with an error toast. The existing navigation button remains. ChangesPull request link copying
Estimated code review effort: 2 (Simple) | ~10 minutes Change: Feature ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What & why
Add a copy button beside the expand control in the pull request pane header, so users can copy the PR's GitHub URL without opening GitHub. The button uses the cached PR URL, briefly shows a checkmark after copying, and reports clipboard failures.
How I tested it
https://github.com/superset-sh/superset/pull/7485.bun run lint,bun run typecheck(39 packages),bun run check:i18n, andbun run check:pluginspass.bun run teststopped in@superset/trpcon environment-variable validation during module loading (273 pass, 1 fail, 1 error). The full suite did not complete.Checklist
type(scope): subject)bun run lintandbun run typecheckpass (CI fails on lint warnings too)Summary by cubic
Adds a copy button beside the expand control in the pull request pane header, so users can copy the PR's GitHub URL without opening GitHub. The button only renders once the URL is loaded, shows a checkmark after copying, and reports clipboard failures with an error toast.
Written for commit a20530e. Summary will update on new commits.
Summary by CodeRabbit