Skip to content
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

Merged
merged 10 commits into from
Nov 15, 2024
Merged

Implement bulk import #1457

merged 10 commits into from
Nov 15, 2024

Conversation

jjnesbitt
Copy link
Member

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.

@jjnesbitt jjnesbitt requested a review from BryonLewis November 12, 2024 22:03
@jjnesbitt
Copy link
Member Author

@BryonLewis the tests are fixed now.

Copy link
Collaborator

@BryonLewis BryonLewis left a 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.

@jjnesbitt jjnesbitt requested a review from BryonLewis November 14, 2024 21:31
</v-card-title>
</v-card>
</v-dialog>
<v-dialog
Copy link
Member Author

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"
Copy link
Collaborator

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

Copy link
Member Author

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).

Copy link
Collaborator

@BryonLewis BryonLewis left a 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.

@jjnesbitt jjnesbitt requested a review from BryonLewis November 15, 2024 17:58
@jjnesbitt jjnesbitt merged commit 6b66a28 into main Nov 15, 2024
4 checks passed
@jjnesbitt jjnesbitt deleted the bulk-import branch November 15, 2024 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DIVE Desktop Bulk Importing
2 participants