-
Notifications
You must be signed in to change notification settings - Fork 21
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
Implement bulk import #1457
Implement bulk import #1457
Conversation
@BryonLewis the tests are fixed 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.
Looks really good, thanks for doing this.
Just a few minor CSS/scrolling minor things and handling the case of a user pointing to an folder tree that has no valid datasets to import.
client/platform/desktop/frontend/components/BulkImportDialog.vue
Outdated
Show resolved
Hide resolved
client/platform/desktop/frontend/components/BulkImportDialog.vue
Outdated
Show resolved
Hide resolved
Run imports sequentially, to prevent ffprobe from failing. ffprobe seems to fail if run with sufficiently many concurrent processes.
8b4bb89
to
40ac579
Compare
</v-card-title> | ||
</v-card> | ||
</v-dialog> | ||
<v-dialog |
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.
@BryonLewis I split the current dialog into two separate dialogs, one for import / bulk data import, and the other for import status and the multicam dialog. I tested it locally and believe it works as expected, but I'm not too familiar with multicam stuff.
:headers="headers" | ||
show-select | ||
disable-sort | ||
@input="updateSelected" |
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.
Believe you still need to set some sort of max width on the data table:
DIVE-Bulk-Issue.mp4
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 specific max-width
style wasn't necessary with the fix I implemented, but it still prevents overflow on all screen sizes (wraps text instead).
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.
Looks good, thanks for fixing the wonkiness with the initial ffprobe checking for FPS. I think just the horizontal scrolling needs to be updated and this should be good.
Closes #1455
Allows for bulk importing of datasets with a new "Bulk Import" button. This is done by recursively searching for datasets, wrapping the existing import sequence. If a directory fails the import sequence, the function will recurse into that directory.