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

Libraries Modernisation: Directory Dataset Picker #18638

Conversation

itisAliRH
Copy link
Member

@itisAliRH itisAliRH commented Aug 2, 2024

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)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. Open a library in Data Libraries
    2. Import file or folder from Dataset > User directory or from Dataset > from import directory Dataset > from path as admin
    3. Select files or folders or past paths to enter

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

@github-actions github-actions bot added this to the 24.2 milestone Aug 2, 2024
@itisAliRH itisAliRH force-pushed the libraries-modernization-1-directory-dataset-picker branch 2 times, most recently from 11cf6e3 to f169c1f Compare August 2, 2024 13:41
@itisAliRH itisAliRH marked this pull request as draft August 2, 2024 13:48
@itisAliRH itisAliRH force-pushed the libraries-modernization-1-directory-dataset-picker branch from f169c1f to 3e5bea1 Compare September 16, 2024 11:57
@itisAliRH itisAliRH marked this pull request as ready for review September 20, 2024 13:43
@martenson
Copy link
Member

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 (?) element.

@itisAliRH
Copy link
Member Author

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 (?) element.

Thank you for the feedback @martenson!

The primary goal of this pull request was to remove the jstree library which is blocking us from migrating to Vue3. We are planning a complete redesign of the Data Library soon, addressing many design and usability concerns. The suggestions you mentioned are constructive, and I will consider them during the redesign.

@itisAliRH
Copy link
Member Author

Test failures are not related! It's ready to merge :)

Copy link
Contributor

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

@martenson martenson added the kind/refactoring cleanup or refactoring of existing code, no functional changes label Oct 2, 2024
itisAliRH and others added 3 commits October 7, 2024 00:26
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>
Copy link
Contributor

@davelopez davelopez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @itisAliRH!

@davelopez davelopez merged commit aac9e5c into galaxyproject:dev Oct 7, 2024
55 of 56 checks passed
@itisAliRH itisAliRH deleted the libraries-modernization-1-directory-dataset-picker branch October 7, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/API area/testing/selenium area/testing area/UI-UX kind/refactoring cleanup or refactoring of existing code, no functional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants