-
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
feat: 13956 inform user when a linked component in subform table is invalid #13987
feat: 13956 inform user when a linked component in subform table is invalid #13987
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #13987 +/- ##
=======================================
Coverage 95.23% 95.23%
=======================================
Files 1759 1759
Lines 23038 23041 +3
Branches 2687 2688 +1
=======================================
+ Hits 21940 21943 +3
Misses 848 848
Partials 250 250 ☔ 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.
Superb solution! 🙂
I will also add info message when there is no components with label to show. |
A test should be added to ensure that only components with labels are displayed in the selector. That will likely improve the code coverage as well. I can do another review of the code after that. 🙂 |
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.
See the separate 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 work! 🙂 I have a few comments, including some minor nitpicks and a couple of refactor suggestions.
...ditor/src/components/Properties/EditSubformTableColumns/ColumnElement/ColumnElement.test.tsx
Outdated
Show resolved
Hide resolved
...roperties/EditSubformTableColumns/ColumnElement/EditColumnElement/EditColumnElement.test.tsx
Outdated
Show resolved
Hide resolved
...roperties/EditSubformTableColumns/ColumnElement/EditColumnElement/EditColumnElement.test.tsx
Outdated
Show resolved
Hide resolved
...nts/Properties/EditSubformTableColumns/ColumnElement/EditColumnElement/EditColumnElement.tsx
Outdated
Show resolved
Hide resolved
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.
Awesome work, @JamalAlabdullah 💯
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 think we also need to check for datamodel binding on the component here @JamalAlabdullah
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 and works ✅
3bf01f8
to
7be40ec
Compare
…nvalid (#13987) Co-authored-by: Jamal Alabdullah <jamalalabdullah@Jamals-MacBook-Pro.local>
Description
EditColumnElement
to render just components with labels.Related Issue(s)
Verification
Documentation