-
Notifications
You must be signed in to change notification settings - Fork 350
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
Add search and tag to metadata #985
Conversation
Thanks for making a pull request to Elyra! To try out this branch on binder, follow this link: |
Fixed bug mentioned above - should be fully ready to play around with if anyone has time. |
Will test today |
Edit 1: If language tags are implicitly defined (e.g. are automatically derived from the language property) they probably don't need to be displayed in the editor (like shown below), just in the selection dialog in the snippet management widget. |
I'm running into an issue where a newly created code snippet isn't displayed in the list on the left hand side unless the screen is manually refreshed. |
What happened to drag-and-drop? Edit 1: If this is delivered in another PR (aka out of scope for this one) please ignore. |
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.
See earlier review comments.
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 have not yet reviewed the new FilterTools
or Tags
files, and have not played with the features locally yet, but here's a handful of review comments on current changes
props: IMetadataDisplayProps, | ||
state: IMetadataDisplayState | ||
): IMetadataDisplayState { | ||
if (state.searchValue === '' && state.filterTags.length === 0) { |
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.
Echoing @kevin-bates comment, why are these if statements needed, it seems like we could remove this if block and the if wrapping around the next section and get the same results
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.
A few comments on the new files, otherwise no big issues with them
UI/UX review comments:
|
It looks good except there's some weird css stuff going on in safari due to these changes - @ajbozarth maybe you could check it out? I'm not really finding anything to fix it (see below) |
I've pushed a fix for the safari css you found. As for the "carrot" icon under Filter By Tags, I think we should move it next to the text and have it swap between a up and down carrot depending on if the tags display is open, making it more clear that its a dropdown. Also I would suggest we use the carrot icons already in lab rather than adding our own. As for the disabling of the filter when it's closed, I think a better implementation might be to let the user close it and still be filtered, but to highlight the Filter By Tags text to indicate whether filtering is being applied. |
Fixed safari bug. |
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.
LGTM
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.
LGTM
Add the ability to search/filter by tags to the metadata explorer. Co-authored-by: Alex Bozarth <ajbozart@us.ibm.com> Co-authored-by: Ai-Vy Dang <aivyndang@gmail.com> Co-authored-by: Jay Ahn <aju960219@gmail.com> Co-authored-by: Karla Spuldaro <karla.spuldaro@ibm.com> Co-authored-by: Kiran Pinnipati <kpinnipati@gmail.com>
Using the code from https://github.com/jupytercalpoly/jupyterlab-code-snippets as a basis to add ability to search / filter by tags in metadata explorer.
Fixes #277
This is the new feature:
Developer's Certificate of Origin 1.1