feat: add deprecated marking to package timeline page - #3133
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
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
|
|
Also related to #2630 |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
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 (6)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe timeline API now returns package version deprecation messages. The package timeline displays deprecated badges and sub-events. English, Simplified Chinese, and Traditional Chinese translations and the i18n schema now include the deprecated label. ChangesPackage timeline deprecation
Sequence Diagram(s)sequenceDiagram
participant PackageVersionMetadata
participant TimelineAPI
participant PackageTimelinePage
participant I18nTranslations
PackageVersionMetadata->>TimelineAPI: Provide deprecation message
TimelineAPI->>PackageTimelinePage: Return TimelineVersion with deprecated field
PackageTimelinePage->>I18nTranslations: Request deprecated label
I18nTranslations-->>PackageTimelinePage: Return translated label
PackageTimelinePage-->>PackageTimelinePage: Render badge and deprecated sub-event
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (3 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 |
|
@gameroman Thank you for providing the example; I hadn't considered this scenario before. |


🔗 Linked issue
/
🧭 Context
related to #3121 (comment)
📚 Description