-
Notifications
You must be signed in to change notification settings - Fork 451
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(core): in release documents rows only show errors count #8628
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
No changes to documentation |
Coverage Report
File Coverage
|
⚡️ Editor Performance ReportUpdated Fri, 14 Feb 2025 08:57:25 GMT
Detailed information🏠 Reference resultThe performance result of
🧪 Experiment resultThe performance result of this branch
📚 Glossary
|
Component Testing Report Updated Feb 14, 2025 10:04 AM (UTC) ❌ Failed Tests (3) -- expand for details
|
@@ -175,7 +175,9 @@ export const getDocumentTableColumnDefs: ( | |||
</Flex> | |||
), | |||
cell: ({cellProps, datum}) => { | |||
const validationErrorCount = datum.validation.validation.length | |||
const validationErrorCount = datum.validation.validation.filter( |
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.
Q: Do you think we should also add this into ReleaseScheduleButton
to only disable schedule and publish for releases that have validation errors and allow warning through?
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.
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.
One q, but it's extra scope I suppose
56e42ff
to
1f463c9
Compare
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—seems sensible to me.
Description
Only show errors for the error count in the release documents row.
What to review
Testing
Open a release in which a document has both error and warnings or info, the document should only account for the number of errors.
Notes for release
n/a