feat: preview mode show the pr number#1729
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdds PR-number support end-to-end: reads PR ID from environment ( Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 1✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
app/components/AppHeader.vue (1)
231-239: Consider opening the PR link in a new tab to preserve preview context.This makes switching between preview and GitHub smoother, and
relhardens external navigation.Suggested tweak
<NuxtLink v-if="prId" :to="`https://github.com/npmx-dev/npmx.dev/pull/${prId}`" :aria-label="`Open GitHub pull request ${prId}`" + target="_blank" + rel="noopener noreferrer" >
🔗 Linked issue
/
🧭 Context
It makes it easier to distinguish between multiple pull requests when previewing them, and also makes it easier to quickly switch back to GitHub after previewing.
📚 Description