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

[23.2] Fix tool panel workflow and favorites button bugs #17634

Merged

Conversation

ahmedhamidawan
Copy link
Member

@ahmedhamidawan ahmedhamidawan commented Mar 7, 2024

Upload button was visible in the workflow editor tool panel. Fixes other bugs as well such as Favorites button not rendering in the panel, as well as changing panel view not updating the pinia store if Galaxy is open in multiple windows.

Fixes #17602

Fixes #17150
(although can't seem to reproduce part 2 of that:

On org a tool can't be favorited at the moment.

Fixes #17519

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. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

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

This can happen if the user has Galaxy open on 2 windows, and they changed the panel view, it will show up on one, and would keep loading on the other since the panel isn't populated (panel string is stored in `localStorage` and panel views in the pinia store; both don't get updated simultaneously.
@ahmedhamidawan ahmedhamidawan changed the title [23.2] Fix tool panel workflow bugs [23.2] Fix tool panel workflow and favorites button bugs Mar 8, 2024
If you reloaded `ToolsList` with no filters, instead of showing the entire toolset, it would show no results. This was because `itemsLoaded` needed to be a reactive computed value instead of a ref.
Tools with `/` in their id couldn't be unfavorited because the URI wouldn't be encoded
@ahmedhamidawan ahmedhamidawan linked an issue Mar 8, 2024 that may be closed by this pull request
@ahmedhamidawan ahmedhamidawan marked this pull request as ready for review March 8, 2024 21:00
@mvdbeek
Copy link
Member

mvdbeek commented Mar 11, 2024

Works well, thank you!

@mvdbeek mvdbeek merged commit 8697be0 into galaxyproject:release_23.2 Mar 11, 2024
46 of 49 checks passed
@martenson martenson modified the milestones: 23.2, 24.0 Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants