-
Notifications
You must be signed in to change notification settings - Fork 70
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: 13391 create a studioerror component and use it instead of alerts with severity #13412
feat: 13391 create a studioerror component and use it instead of alerts with severity #13412
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #13412 +/- ##
=======================================
Coverage 93.74% 93.75%
=======================================
Files 1446 1448 +2
Lines 20030 20037 +7
Branches 2429 2430 +1
=======================================
+ Hits 18778 18785 +7
Misses 1004 1004
Partials 248 248 ☔ View full report in Codecov by Sentry. |
…error-component-and-use-it-instead-of-alerts-with-severity
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.
Well done @JamalAlabdullah! Small and dedicated PR which was easy to review. I think this code change is a great way to isolate the usage of alert, love that!
I got some feedback we should consider before merging this PR. 😊
frontend/libs/studio-components/src/components/StudioError/StudioError.tsx
Outdated
Show resolved
Hide resolved
frontend/libs/studio-components/src/components/StudioError/StudioError.tsx
Outdated
Show resolved
Hide resolved
frontend/app-development/features/appPublish/pages/DeployPage.tsx
Outdated
Show resolved
Hide resolved
frontend/app-development/features/appPublish/containers/DeploymentContainer.tsx
Outdated
Show resolved
Hide resolved
...nents/ShareChangesPopover/CommitAndPushContent/FileChangesInfoModal/FileChangesInfoModal.tsx
Show resolved
Hide resolved
frontend/libs/studio-components/src/components/StudioPageError/StudioPageError.tsx
Show resolved
Hide resolved
frontend/libs/studio-components/src/components/StudioPageError/StudioPageError.module.css
Show resolved
Hide resolved
…error-component-and-use-it-instead-of-alerts-with-severity
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.
Rock solid! 🪨
…-it-instead-of-alerts-with-severity
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.
Tested OK 💯
Description
StudioError
StudioPageError
component to make it returnStudioError
severity danger
withStudioError
.Related Issue(s)
Verification
Documentation