-
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
chore: Replace divider component #13960
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #13960 +/- ##
==========================================
- Coverage 95.19% 95.19% -0.01%
==========================================
Files 1697 1698 +1
Lines 22457 22450 -7
Branches 2631 2630 -1
==========================================
- Hits 21378 21371 -7
Misses 834 834
Partials 245 245 ☔ View full report in Codecov by Sentry. |
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 work ⭐
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.
I see that the deleteButton class is still referenced in the CustomProperties component. Can we also delete the class from there? 😄
</> | ||
)} | ||
{hasCustomProps && <CustomProperties path={schemaPointer} />} |
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.
Will it be a divider between the rootPointer and the customProps now? Looks like this change only sets a divider in the top of the FieldSet
below this component? 🤔
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.
Probably no biggie, but it looks like the Divider above the FieldSet is lost now? If it is not added css to the FieldSet component that sets a border on the top of it 🫣
<StudioLabelAsParagraph size='sm' className={classes.noItem}> | ||
{t('schema_editor.no_item_selected')} | ||
</StudioLabelAsParagraph> |
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.
Maybe this could be moved to a separate file so we dont need to duplicate the noItem
css in two files? 😊
Then we can use it both here and in TypeInspector
Description
<Divider />
component.Related Issue(s)
Divider
withborder-bottom: solid {X} px {color}
#13877Verification