feat: show staged publishing status - #3115
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughChangesThe PR adds staged-publishing trust metadata and displays translated staged-publishing badges across package headers, version lists, and version pages. It also adds approver type support, localisation, a dependency update, and tests. Staged publish visibility
Sequence Diagram(s)sequenceDiagram
participant PackageMetadata
participant PackageViews
participant StagedPublishBadge
participant NpmDocumentation
PackageMetadata->>PackageViews: provide trustStatus.stagedPublish
PackageViews->>StagedPublishBadge: render staged-publishing badge
StagedPublishBadge->>NpmDocumentation: open staged publishing documentation
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ 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 |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
e18e dependency analysisNo dependency warnings found. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@app/components/Package/Versions.vue`:
- Line 644: Update every StagedPublishBadge occurrence identified in this diff,
including the instances near the current row and the additional listed
locations, to include the relative z-10 classes so the badge remains above the
full-row link hit target and its documentation links stay clickable.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 73d03b63-4e54-4481-bdd8-9834008f4b8d
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (11)
app/components/Package/Header.vueapp/components/Package/Versions.vueapp/components/StagedPublishBadge.vueapp/pages/package/[[org]]/[name]/versions.vueapp/utils/npm/api.tsi18n/locales/en.jsoni18n/schema.jsonpackage.jsonshared/types/npm-registry.tstest/nuxt/components/Package/Versions.spec.tstest/nuxt/composables/use-package-transform.spec.ts
🔗 Linked issue
fixes: #3114
🧭 Context
📚 Description
Adds a linked indicator for package versions published through npm’s staged publishing flow. Also updates version metadata handling and adds test coverage.
Recording.2026-08-03.055544.mp4