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
Refactor product selection dialogs #3499
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3499 +/- ##
=======================================
Coverage 89.89% 89.89%
=======================================
Files 241 241
Lines 13109 13109
Branches 1323 1323
=======================================
Hits 11784 11784
Misses 921 921
Partials 404 404 Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #3499 +/- ##
==========================================
- Coverage 89.84% 89.83% -0.01%
==========================================
Files 250 250
Lines 13213 13217 +4
Branches 1337 1338 +1
==========================================
+ Hits 11871 11874 +3
Misses 930 930
- Partials 412 413 +1
Continue to review full report at Codecov.
|
78ee698
to
01ca72c
Compare
As well, good to have this at below as well
Orders/Components/OrderProductAddDialog
regards
…On Fri, 21 Dec 2018 at 21:13, Marcin Gębala ***@***.***> wrote:
I've tested it and it looks and works great! One change that I'd suggest
is to render a short message if no products were found.
[image: image]
<https://user-images.githubusercontent.com/5421321/50350411-665d9b80-053f-11e9-8334-33869288adea.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3499 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AroYFcqiZ1U5V6u8vFSeSHHb9JWsROQEks5u7QGZgaJpZM4ZcDm9>
.
|
4d8a1cd
to
2aca4cc
Compare
)} | ||
</TableBody> | ||
</Table> | ||
</InfiniteScroll> |
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.
True, for instances there are two large onChange
handlers for checkboxes, shouldn't these be extracted to some functions for better readability?
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.
You could extract functions etc to the top to make .jsx
a lot clearer.
db61954
to
0d468a4
Compare
d6d5aeb
to
5a5df06
Compare
Resolves #3487
Pull Request Checklist