-
Notifications
You must be signed in to change notification settings - Fork 79
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
Implemented select/deselect option for tags dropup in graph editor #138
Changes from 2 commits
cc8f287
8ac336c
ea0273d
18ae8af
5f7f8d5
8696877
7e41be9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -173,6 +173,12 @@ <h6> | |||||
<ul | ||||||
class="dropdown-menu" | ||||||
ng-show="isVisible('tags')"> | ||||||
<li ng-click="onItemSelect('tags', 'select_all', $event)"> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. by treating this as a regular item that can be selected, we can find ourselves in some funky states! Check this example out, for instance: Instead, I think we might just want to add a new method in the scope called something like Let me know if you have any thoughts or questions about an approach like this one :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I definitely see your point, I can change it to a separate function. That is what I had considered at first, I thought the current was just less intrusive. |
||||||
<span>Select All</span> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe we can make this bold/black text instead of light blue? How about something like
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sure that's no problem, I left it as default link color with the thought that that might distinguish it a bit from the rest of the list. But I think just doing bold is good as well. |
||||||
<span ng-show="!isSelected('tags', 'select_all')"> | ||||||
<svg class="checked" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg> | ||||||
</span> | ||||||
</li> | ||||||
<li | ||||||
class='text-dark' | ||||||
ng-repeat="item in selectorService.options.tags" | ||||||
|
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.
can you just add yourself as a contributor in the existing section below? Looks like we have two contributor sections for the 0.19.0 release now :)
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.
Ahh, yep just corrected it thanks.