Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Fix for issue 4682 : Restructuring the side pane structure having additional functionality and merging the remove group menus #7714
Fix for issue 4682 : Restructuring the side pane structure having additional functionality and merging the remove group menus #7714
Changes from 23 commits
4ffcffb
8bd0748
53c75c7
22549b3
f851464
955523f
96f69d4
e196041
783198a
35b9a06
705f29f
f97c656
d8ab8bb
1cc0946
c9cdff3
c69b9cb
29f51b3
9ff3879
fb2ffc8
051c5d6
28b1761
b9f7012
6d9a554
edd440c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Why keeping it, when commented? For version history we got git.
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.
Instead of hardcoding the css in the java file, please make this a pseudoclass in css, which should be very easy to implement. See
BindingsHelper::includePseudoClassWhen
!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.
Hi @calixtus , i've checked this
BindingsHelper::includePseudoClassWhen
needs a parameter ofnode
and the css changes should be applied to the nodes whenever a condition is applied. however, in my change, what I'm changing is the color ofAdd Group
button whenever the user added 10 groups (doesn't include the count of subgroups) and not the nodes. Any advise is greatly appreciated.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.
The node should be the addNewGroup.
A new Binding to be checked for can be created in some initialize method or the constructor of the class. You only need one Observable which is triggered when change to the list happens.
Please take a look at other occurences of includePseudoClassWhen to get an impression, how to implement this. Again, in theory this should be very straightforward. If you really don't get this to work, I can help a little bit in the next days, im just a bit busy today.