-
Notifications
You must be signed in to change notification settings - Fork 247
feat(compass-crud): add right click menus for the CRUD toolbar COMPASS-9388 #6996
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
Conversation
4c41c51 to
6d11d98
Compare
| () => querySkip || queryLimit, | ||
| [querySkip, queryLimit] | ||
| ); | ||
| const [allDocumentsExpanded, setAllDocumentsExpanded] = useState(false); |
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 isn't necessarily an accurate reflection of whether or not all documents are expanded but for this usecase I think it will work well.
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.
Hm yeah, that does seem to fit more usecases better, i.e. one may want to go from partially manually expandeed => collapse all or expand all.
On one hand it'd be good to keep context menu items minimal but we have menus with a lot more so it's not a problem yet so I'm open to always showing both as well.
0626649 to
b527b6e
Compare
d992165 to
32e65fd
Compare
9a53b65 to
ac8572d
Compare
32e65fd to
817a426
Compare
817a426 to
030b3dc
Compare
| () => querySkip || queryLimit, | ||
| [querySkip, queryLimit] | ||
| ); | ||
| const [allDocumentsExpanded, setAllDocumentsExpanded] = useState(false); |
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.
9a33e97 to
ab075e3
Compare


Toolbar