-
Notifications
You must be signed in to change notification settings - Fork 499
chore(core): improve release status message for the Published status #11293
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
🧪 E2E Preview environment🔑 Environment Variables for Local TestingThis is the preview URL for the E2E tests: https://e2e-studio-bhpeyawbw.sanity.dev To run the E2E tests locally, you can use the following environment variables, then run 💬 Remember to build the project first with |
📊 Playwright Test ReportThis report contains test results, including videos of failing tests. |
⚡️ Editor Performance ReportDeploying studio and running performance tests… |
55183eb to
96132bf
Compare
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
stipsan
left a comment
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.
Nice!
96132bf to
3d71436
Compare
3d71436 to
58b93ad
Compare
| }, [retentionDays, release, utcToCurrentZoneDate]) | ||
|
|
||
| return ( | ||
| <Card padding={4} radius={4} tone="primary" data-testid="retention-policy-card"> |
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.
Moved from here
This component needs retention days and does some date calculations that we can save by moving it to a new component.
For the case of "active" releases we don't need to render this component, neither use the hooks that are part of 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.
This is a very nice improvement, best way to improve perf is to split into smaller components like this ✨
Description
Updates the Published Status message to:
It fixes this for both, published and archived releases.

What to review
Testing
Notes for release