Skip to content

Conversation

@guerler
Copy link
Contributor

@guerler guerler commented Oct 22, 2025

Requires #21106. Removes legacy template-based visualization framework components, including visualization Mako templates and legacy visualization controller endpoints. With the addition of IGV, the removal of Trackster became possible, which in turn made visualizations fully API-driven and rendered entirely client-side, eliminating all server-side Mako dependencies. This resolves inconsistencies and enables the addition of new features to the visualization framework.

After this PR, the remaining makos in the Galaxy app that still need to be migrated are:

Then we can finalize this project by moving the bootstrapping as outlined in #21153, making the Galaxy App mako-free.

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 26.0 milestone Oct 22, 2025
@guerler guerler added area/UI-UX kind/refactoring cleanup or refactoring of existing code, no functional changes labels Oct 22, 2025
@guerler guerler force-pushed the remove_visualization_mako branch 2 times, most recently from c056cb8 to 8417c7c Compare October 22, 2025 15:41
@guerler guerler marked this pull request as ready for review October 23, 2025 06:57
@guerler guerler marked this pull request as draft October 23, 2025 08:57
@guerler guerler marked this pull request as ready for review October 23, 2025 14:20
@guerler guerler force-pushed the remove_visualization_mako branch from 358fb47 to 1e26e13 Compare October 23, 2025 19:16
@guerler guerler requested a review from itisAliRH October 23, 2025 19:19
@guerler guerler force-pushed the remove_visualization_mako branch from 0aad49e to 575f997 Compare October 27, 2025 11:24
@guerler guerler requested a review from jmchilton October 28, 2025 08:02
@guerler guerler force-pushed the remove_visualization_mako branch 2 times, most recently from ae2a63f to 90105d4 Compare October 29, 2025 11:37
@guerler guerler requested a review from davelopez October 30, 2025 15:03
@guerler guerler force-pushed the remove_visualization_mako branch from b9d1bae to 2129a53 Compare October 30, 2025 17:46
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.

Looks good from my limited knowledge of these components 👍
Some minor comments below.

guerler and others added 6 commits October 31, 2025 18:20
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
…ry.py

Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
…ry.py

Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
…ry.py

Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
@guerler guerler force-pushed the remove_visualization_mako branch from 894ed2a to f534435 Compare October 31, 2025 15:20
@guerler guerler force-pushed the remove_visualization_mako branch from f442b4b to fdf6013 Compare October 31, 2025 15:55
@guerler guerler mentioned this pull request Nov 1, 2025
4 tasks
@guerler
Copy link
Contributor Author

guerler commented Nov 1, 2025

Remaining test failures are unrelated.

guerler and others added 6 commits November 2, 2025 21:28
Updates the VisualizationWrapper component to define props using the `interface` and `defineProps` approach for improved type safety and readability.
Refactors the VisualizationDisplay component to improve code readability and maintainability.
Improves type safety and code clarity by defining interfaces for props and emits in the VisualizationFrame component.
This change ensures that the component's properties and emitted events are strongly typed, reducing the risk of runtime errors and improving maintainability.
Copy link
Member

@itisAliRH itisAliRH 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 @guerler! Works well for me.
I made some small changes.

@guerler guerler merged commit 3730e0b into galaxyproject:dev Nov 3, 2025
61 of 65 checks passed
@guerler guerler deleted the remove_visualization_mako branch November 3, 2025 15:59
@guerler
Copy link
Contributor Author

guerler commented Nov 3, 2025

Thank you so much for the review and help! 🙏

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

Labels

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.

4 participants