-
Notifications
You must be signed in to change notification settings - Fork 450
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
fix(releases): improvements to archive release detail #8597
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
No changes to documentation |
⚡️ Editor Performance ReportUpdated Thu, 13 Feb 2025 14:51:46 GMT
Detailed information🏠 Reference resultThe performance result of
🧪 Experiment resultThe performance result of this branch
📚 Glossary
|
Component Testing Report Updated Feb 13, 2025 1:06 PM (UTC) ❌ Failed Tests (3) -- expand for details
|
4140ce0
to
4a8b38d
Compare
df969a0
to
1a6e1cc
Compare
1a6e1cc
to
8929e90
Compare
8929e90
to
439bc58
Compare
439bc58
to
821c886
Compare
821c886
to
7d986c6
Compare
7d986c6
to
a8d8a1e
Compare
a8d8a1e
to
0bcd816
Compare
|
||
type Feature = { | ||
id: string | ||
variantId: string | 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.
do we get null
back from the server here, or could this be made optional instead?
|
||
type FeatureAttributes = Record<string, string | number | boolean | null> | ||
|
||
type Feature = { |
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.
not critical, but we tend to prefer interface
unless there's a specific reason to use type
@@ -0,0 +1,156 @@ | |||
import {type SanityClient} from '@sanity/client' |
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.
Would be great to have an @internal
tsdoc tag on the types here
Description
PR makes changes for archived and published release details:
readOnly
on archived and published release detailWhat to review
useProjectSubscription
to get the retention period - this is a close copy ofuseFeatureEnabled
Testing
ReleaseDetail
to cover the new scenarios for archived and published releasesNotes for release
N/A