-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Remove legacy Visualization Mako and Controllers #21133
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
Conversation
c056cb8 to
8417c7c
Compare
358fb47 to
1e26e13
Compare
0aad49e to
575f997
Compare
ae2a63f to
90105d4
Compare
b9d1bae to
2129a53
Compare
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.
Looks good from my limited knowledge of these components 👍
Some minor comments below.
client/src/components/Markdown/Sections/VisualizationWrapper.vue
Outdated
Show resolved
Hide resolved
test/unit/app/visualizations/plugins/test_VisualizationsRegistry.py
Outdated
Show resolved
Hide resolved
test/unit/app/visualizations/plugins/test_VisualizationsRegistry.py
Outdated
Show resolved
Hide resolved
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>
894ed2a to
f534435
Compare
test/unit/app/visualizations/plugins/test_VisualizationsRegistry.py
Outdated
Show resolved
Hide resolved
test/unit/app/visualizations/plugins/test_VisualizationsRegistry.py
Outdated
Show resolved
Hide resolved
test/unit/app/visualizations/plugins/test_VisualizationsRegistry.py
Outdated
Show resolved
Hide resolved
test/unit/app/visualizations/plugins/test_VisualizationsRegistry.py
Outdated
Show resolved
Hide resolved
f442b4b to
fdf6013
Compare
|
Remaining test failures are unrelated. |
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.
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 @guerler! Works well for me.
I made some small changes.
|
Thank you so much for the review and help! 🙏 |
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:
build_from_current_history.makocopy_view.mako(WIP: Remove copy dataset mako #17507)display.mako(WIP: Refactor display application handling #15076)tool_runner.mako(WIP: Remove Tool Runner mako #21235)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)
License