-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
[RFR] New ra-tree for react-admin v2 #3771
Conversation
djhi
commented
Oct 3, 2019
•
edited
Loading
edited
- Refactor according to feedbacks
- Actions on nodes
- Add drag & drop with reordering
- Optimistic updates
- Optimistic updates for react-admin actions
- Adding new nodes
- Tests
- Documentation
...rest | ||
}) => ( | ||
<Toolbar className={classes.toolbar}> | ||
<span /> |
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 understand you're using justifyContent: 'space-between'
and this span
to push the actions to the right. But that means that 90% of the line is the toolbar... Wrong solution IMHO.
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.
That's how it is done in the ListToolbar from which I just removed the filters
@@ -0,0 +1,538 @@ | |||
import React, { |
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.
this file needs to be split into several smaller components, it's too hard to follow
Co-Authored-By: Francois Zaninotto <[email protected]>
Co-Authored-By: Francois Zaninotto <[email protected]>
Co-Authored-By: Francois Zaninotto <[email protected]>
Co-Authored-By: Francois Zaninotto <[email protected]>
Co-Authored-By: Francois Zaninotto <[email protected]>
Co-Authored-By: Francois Zaninotto <[email protected]>