-
Notifications
You must be signed in to change notification settings - Fork 73
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
style: remove bottom margin of model store error message #2653
style: remove bottom margin of model store error message #2653
Conversation
Your org requires the Graphite merge queue for merging into mainAdd the label “flow:merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “flow:hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @agatha197 and the rest of your teammates on Graphite |
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🔴 | Statements | 3.7% | 215/5807 |
🔴 | Branches | 4.05% | 159/3926 |
🔴 | Functions | 2.24% | 43/1920 |
🔴 | Lines | 3.59% | 204/5688 |
Test suite run success
71 tests passing in 7 suites.
Report generated by 🧪jest coverage report action from 67f8d9e
fd481a0
to
0d4085d
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.
LGTM
Merge activity
|
### TL;DR Improved error message display in ModelStoreListPage component. ### What changed? Added a `style` prop to the `Typography.Paragraph` component within the `Alert` message. This sets the `marginBottom` to 0, removing any extra space below the error message. ### How to test? 1. Navigate to the ModelStoreListPage. 2. Trigger an error condition that displays an error message. 3. Verify that the error message is displayed without extra bottom margin. 4. Compare with the previous version to ensure the spacing has been reduced. ### Why make this change? This change improves the visual consistency and compactness of error messages in the ModelStoreListPage. By removing the extra bottom margin, it ensures that error messages are displayed more efficiently, especially in cases where multiple errors might be shown. --- <!-- Please precisely, concisely, and concretely describe what this PR changes, the rationale behind codes, and how it affects the users and other developers. --> **Checklist:** (if applicable) - [ ] Mention to the original issue - [ ] Documentation - [ ] Minium required manager version - [x] Specific setting for review (eg., KB link, endpoint or how to setup) - [x] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after
0d4085d
to
67f8d9e
Compare
TL;DR
Improved error message display in ModelStoreListPage component.
What changed?
Added a
style
prop to theTypography.Paragraph
component within theAlert
message. This sets themarginBottom
to 0, removing any extra space below the error message.How to test?
Why make this change?
This change improves the visual consistency and compactness of error messages in the ModelStoreListPage. By removing the extra bottom margin, it ensures that error messages are displayed more efficiently, especially in cases where multiple errors might be shown.
Checklist: (if applicable)