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
Simple functional prototype of notebook entry tagging #4820
Comments
Discussion 02/03/2022
|
tags will need a JSON config file to define dictionary, and will further need background color and foreground color for text |
Here's where I've gotten with the prototype: Screen.Recording.2022-03-04.at.5.09.28.PM.movI'm loosely following the prototype @charlesh88 laid out, and plan to continue adding a few new features to search before working on tagging imagery: |
I've got some basic search working, along with basic tagging in notebook entries. I've been working on looking at tagging images, and also adding annotations to plots. For plots, I've been experimenting with rbush for determining which telemetry items are inside a user dragged marquee. |
@akhenry @charlesh88 Switched to using kdbush as it handles point better and is faster with static data. It's very fast to search, even with a ton of data (>100Hz). Below is a movie of the point selection: Screen.Recording.2022-03-11.at.2.17.39.PM.movNote that though there are many data points within the x-axis of the marquee, the algorithm only returns points the three points within the bounding box. My next step is to actually save the annotation on the datapoints to the database, and then display the annotation on the plot. Currently the gesture to enable annotation selection in plots is Alt+Shift, then drag. The pan action on plots is Alt + drag, so this seemed like an easy extension. |
@akhenry I think instead of storing the begin/end timestamps, we could instead just store the bounding box coordinates the operator drew. This would basically be storing the minY and maxY in addition to the minX and maxX we had already planned to store (the start/end timestamps). And it would also allow us to work with non-temporal based plots. Note we can also just use the minX and maxX to work as the begin/end timestamp if we want to just go the linear approach. |
@charlesh88 @akhenry Just to show some more progress - I've got plot annotation selection working: Screen.Recording.2022-03-15.at.12.13.34.PM.movThe next step is add the annotations tab to the inspector so the user can add some text & tags. |
And it works well with very dense data too Screen.Recording.2022-03-15.at.12.25.55.PM.mov |
Wowwwww, that's very impressive. Nice work! |
Notes5/4/22: @charlesh88 is in progress styling the results dropdown, tags, etc. I'm doing the work in a forked branch Todos
|
- Significant changes and styling in AutoCompleteField component; - Remove old `autocomplete` CSS classes; - Effects new tag editor as well as Clock timezone selector - do regression testing!;
- Related to fixes for Clock properties autocomplete timezone selector. - Fix problem where `cssClass` property was not being applied properly in forms. - Refactored code to use new `reqClass` CSS, separate from `rowClass`. - IMPORTANT! ALL PROPERTIES FORMS SHOULD BE VIEWED FOR POSSIBLE REGRESSIONS!
- Styles for tags and tag application in Notebook entries; - Significant changes;
@scottbell Have pushed some significant style and code changes for search, tags and the autocomplete input. |
This looks fantastic! Good stuff @charlesh88 ! |
- Hover transitions added for remove buttons in tags in tag-applier. - Style sanding and shimming. - Removed unused theme constant `$colorInputPlaceholder`. - Removed uppercasing on search result tag labels.
- Styling for search in the shell head area.
Just pushed some more refinements to tags and the search input: remove buttons are now hidden until hovering over Notebook entries. |
- CSS instead of inline opacity for non-matching tags. - CSS cleanups, indention fixes. - Search result tag layout sanding.
To test:
|
I think the PR should address these issues @rukmini-bose |
Verified Testathon 7/6/2022– it functionally works and looks amazing :D |
Build on #4711 and #4712 implement a simple functional prototype for adding tags to notebook entries, and showing existing tags against entries.
Phase 1
Phase 2
Phase 3
Phase 4
The text was updated successfully, but these errors were encountered: