-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(core): add versions to references and status icons #7690
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
No changes to documentation |
Component Testing Report Updated Oct 29, 2024 8:01 AM (UTC) ✅ All Tests Passed -- expand for details
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The simplification of this makes me so happy 🥹
⚡️ Editor Performance ReportUpdated Tue, 29 Oct 2024 08:14:38 GMT
Detailed information🏠 Reference resultThe performance result of
🧪 Experiment resultThe performance result of this branch
📚 Glossary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small question regardign commented code but no blockers :) this looks good!
@@ -28,6 +40,7 @@ const NOT_FOUND = { | |||
reason: 'NOT_FOUND', | |||
} as const | |||
|
|||
// type VersionsPreviewTuple = [bundleId: string, snapshot: PreviewValue | null] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to not be used anywhere, perhaps we can just remove it? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
absolutely, thanks for catching that!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will remove in next push
Description
This PR adds changes to the preview and document status components.
It nows shows the versions of the document.
The preview value correctly reflects the stack of releases when previewing a release.
So if a document is part of the releases
asap1, asap2, scheduled1, undecided1
and user is seeing the releasescheduled2
the preview value will reflect the value of the document in releasescheduled1
which is scheduled to be released before scheduled 2What to review
Testing
Notes for release