-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Plot Annotations Prototype #5853
Comments
@charlesh88 Per our discussion, I've moved the tagging/annotation editing into the inspector. I've been attempting to normalize this editing between the two plugins. I've got some user interaction questions below.
For plots:
Thanks for the help! |
@akhenry I had a few questions too about the Selection API in OpenMCT. Specifically, I'm attempting to listen to selection changes in OpenMCT in the AnnotationInspector. This works great in Notebooks (and I can even send along a function to timestamp the entries), but in plots I'm getting a secondary PointerEvent after I set the selection. It's due to this selectable method adding some click events to ObjectViews. What's the right way here to override this event in plots? For the interim, I've just slapped a:
in the method, but I'd like a more elegant approach. Thank you! |
What is the effect of this? Is it causing the plot to get selected instead of the annotation? Is this a case where |
The effect is the plot is getting selected instead of the annotations. Adding |
Fixed it by adding a dummy |
@charlesh88 @akhenry Going with these assumptions, please let me know if you disagree!
No.
No.
N/A
No.
You have to select a group before editing is allowed.
We keep the marquee to show selection. |
@charlesh88 Another question - what user gesture should be used to select previous annotations on a plot? Currently I'm using the Option (Alt) + Shift and a mouse click on to select a previously created annotation. This same shows the original bounding box that the user used to create the annotation: |
@akhenry One issue with having one tag per annotation for plots is that if a user wants to tag multiple items/annotations for a selection of points, this will mean multiple overlapping bounding boxes. I think it'd be more natural to select the existing annotation and add/edit it instead. The downside of this method is the possibility of conflicts, though I'm not sure we should design this around an edge case. |
Note I'm just forging ahead with multiple annotations. |
An example of some of the interactions: Screen.Recording.2022-12-07.at.3.01.53.PM.mov |
@akhenry For v1, can we stick with tags annotations only? Introducing text means modifying search to be able to find them too (I think). |
@charlesh88 @rukmini-bose @akhenry Regarding searching for tags, if the user adds three "Driving" tags to a plot series, how do they distinguish between them? |
A screen recording of search results driving selection in the plots: Screen.Recording.2022-12-13.at.2.08.32.PM.mov |
Testing instructions:
Do all the above with CouchDB and Local Storage. |
Further optimizations:
|
Note some issues with recent merges: |
Verified partially fixed Testathon 2023-02-06: all items in testing instructions verified, except step 2. While in real-time mode and unpaused, alt-shift initially zooms the view and then allows point selection, but not only now that the plot is paused. This is very inconsistent gesturally for the user; what should be be done instead is this:
|
Is your feature request related to a problem? Please describe.
It would be great if operators could annotate and tag plots.
Describe the solution you'd like
The operator should be able to marquee the plot to select some points, and then annotate and/or tag them.
Additional context
This should build upon the tagging we've implemented for Notebooks.
The text was updated successfully, but these errors were encountered: