-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Libraries Modernisation: Directory Dataset Picker #18638
Libraries Modernisation: Directory Dataset Picker #18638
Conversation
11cf6e3
to
f169c1f
Compare
…n` `Option` interface
…lldown` items and import missing icons
f169c1f
to
3e5bea1
Compare
… list and making the import button dynamic to reflect the number of selected items being import
…label` prop, revised selected item type, and update its usage
…tching logic, improved types, and adjusted ui in `DirectoryDatasetPicker`
…errors when there is no option available
It looks like a very nice modernization @itisAliRH. I'd like to also encourage you to take a step back and challenge the current designs. E.g. I'd put more focus on the tree browsing element and deprioritize dbkey, format, and the bool (maybe reorder them?). The bools could also use some explaining to the user, maybe in a form of |
Thank you for the feedback @martenson! The primary goal of this pull request was to remove the |
Test failures are not related! It's ready to merge :) |
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's a pretty cool modernization indeed!
Find some minor comments below for small improvements.
client/src/components/Libraries/LibraryFolder/TopToolbar/DirectoryDatasetPicker.vue
Outdated
Show resolved
Hide resolved
client/src/components/Libraries/LibraryFolder/TopToolbar/DirectoryDatasetPicker.vue
Outdated
Show resolved
Hide resolved
client/src/components/Libraries/LibraryFolder/TopToolbar/DirectoryDatasetPicker.vue
Show resolved
Hide resolved
client/src/components/Libraries/LibraryFolder/TopToolbar/DirectoryDatasetPicker.vue
Outdated
Show resolved
Hide resolved
client/src/components/Libraries/LibraryFolder/TopToolbar/DirectoryDatasetPicker.vue
Outdated
Show resolved
Hide resolved
client/src/components/Libraries/LibraryFolder/TopToolbar/FolderTopBar.vue
Outdated
Show resolved
Hide resolved
Co-authored-by: David López <46503462+davelopez@users.noreply.github.com>
…sString` and drop unnessary try/catch blocks in `DirectoryDatasetPicker` Co-authored-by: David López <46503462+davelopez@users.noreply.github.com>
…ause there is no model for the jstree response in the backend Co-authored-by: David López <46503462+davelopez@users.noreply.github.com>
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.
Thank you @itisAliRH!
This PR is a follow-up on #18518 and replaces the old dataset picker from user and import directories and path to the library folder. Also, remove the
jstree
and related files (related #18451)Libraries.Modernisation.Directory.Dataset.Picker.webm
How to test the changes?
(Select all options that apply)
Data Libraries
Dataset > User directory
or fromDataset > from import directory
Dataset > from path
as adminLicense