Skip to content

Fix Tours and add tooltips to history items #19734

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

Merged
merged 8 commits into from
Mar 6, 2025

Conversation

guerler
Copy link
Contributor

@guerler guerler commented Mar 3, 2025

This PR fixes issues with tours that currently do not work properly. Specifically, the upload modal was not displaying during tours. This has been resolved by adjusting the activity bar click target. Additionally, error handling has been improved, and target element visibility is now validated.

This PR also updates the tour requirements modal. Instead of displaying an error message, the modal now provides options to either cancel or create a new history. Requirement conditions have been adjusted to prevent flickering at tour start. Finally, the tours have been modified to ensure the final step remains visible.

This PR also adds tool tips to history items.

tooltips

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.

@guerler guerler added this to the 25.0 milestone Mar 3, 2025
@guerler guerler marked this pull request as ready for review March 3, 2025 02:42
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.

This test failure seems relevant:

https://github.com/galaxyproject/galaxy/actions/runs/13622274391/job/38074034478?pr=19734

Otherwise it looks good 👍

@guerler guerler force-pushed the add_tooltips_to_history_items branch from c3c1ce4 to caf7fd5 Compare March 5, 2025 13:08
@guerler guerler changed the title Add tooltips to history items Fix Tours and add tooltips to history items Mar 5, 2025
@guerler
Copy link
Contributor Author

guerler commented Mar 5, 2025

@davelopez thank you for looking into this. I fixed it with: https://github.com/galaxyproject/galaxy/pull/19734/files#diff-3bb7ccd26b62625be7fcac419453678fca11dc586ef06ff3108c9b0eadd7d37cR2265.
While working on this I noticed some issues regarding tours e.g. that they do not properly display the Upload modal. I added commits to resolve these and improve tours.

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.

Cool, thanks!
Is it worth to backport the fixes?

@guerler guerler merged commit 4346722 into galaxyproject:dev Mar 6, 2025
53 of 56 checks passed
@itisAliRH itisAliRH deleted the add_tooltips_to_history_items branch March 6, 2025 17:24
@guerler
Copy link
Contributor Author

guerler commented Mar 6, 2025

Thank you for the review, and yes, maybe we should back port it since Tours do not work properly on main rn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants