-
Notifications
You must be signed in to change notification settings - Fork 23
Enable bulk track selection for operations #1506
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
Conversation
This prevents multi track deletion from attempting to auto select a track that no longer exists because it was included in a bulk delete operation.
| </v-label> | ||
| <TypePicker | ||
| :value="multiTrackType" | ||
| :all-types="allGroupTypesRef" | ||
| :read-only-mode="readOnlyMode" | ||
| selected | ||
| update-on-input | ||
| data-list-source="allGroupTypesOptions" | ||
| @input="updateMultiTrackType" | ||
| /> |
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 think we should add the lock-types prop to this component from clientSettings. This is a functionaltiy that if in the Type List settings you can prevent users from entering in their own custom types. It changes the behavior of the TypePicker slightly so it is dropdown instead of a combo box and limits what types can be used.
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.
d5d4e3a imports clientSettings and uses it for this component.
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.
It functions exactly as intended.
Just a few minor things where it may interface with other features in DIVE (like lock-types) and some suggestions to replace event emitting with internal calls to useHandler()
183caec to
84f2b78
Compare
Co-authored-by: Bryon Lewis <61746913+BryonLewis@users.noreply.github.com>
BryonLewis
left a comment
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.
Minor change related to the TypePicker and locking types.
Co-authored-by: Bryon Lewis <61746913+BryonLewis@users.noreply.github.com>
BryonLewis
left a comment
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.
👍
Fix #1504
Changes
Demo
Multi-select tracks: This video demonstrates ctrl+clicking on annotations, the event viewer, and the track list. It also contains examples of clicking outside of tracks to deselect them all, and ctrl+click on a selected track will deselect that track.
ctrl_click_demo.mp4
Changing types and deleting tracks:
multi_edit_delete.mp4
To-do