Skip to content

Refactor display application handling#15076

Merged
guerler merged 55 commits intogalaxyproject:devfrom
guerler:revise_display_application
Nov 11, 2025
Merged

Refactor display application handling#15076
guerler merged 55 commits intogalaxyproject:devfrom
guerler:revise_display_application

Conversation

@guerler
Copy link
Copy Markdown
Contributor

@guerler guerler commented Nov 29, 2022

Requires: #21133. PR was closed three years ago based on the assumption that another branch would handle removing this mako. Reopening now to continue the cleanup, since this is among the final makos still used by Galaxy. Removes display_application/display.mako and moves the create_link functionality to the DisplayApplications manager and a typed FastAPI endpoint, which is used by a client-side Vue component.

screencast

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. Install local IGV
    2. Upload fasta, bam, vcf or other compatible files
    3. Visualize dataset with the IGV local display application

License

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

@guerler guerler added area/UI-UX kind/refactoring cleanup or refactoring of existing code, no functional changes labels Nov 29, 2022
@guerler guerler added this to the 23.0 milestone Nov 29, 2022
@dannon dannon modified the milestones: 23.0, 23.1 Jan 10, 2023
@mvdbeek mvdbeek modified the milestones: 23.1, 23.2 Jun 21, 2023
@mvdbeek mvdbeek modified the milestones: 23.2, 24.0 Dec 19, 2023
@guerler guerler force-pushed the revise_display_application branch 2 times, most recently from ea86c1d to 2b8882d Compare November 3, 2025 04:52
@guerler guerler force-pushed the revise_display_application branch 2 times, most recently from 6c26b30 to 6b2bb49 Compare November 5, 2025 17:21
@guerler guerler marked this pull request as ready for review November 5, 2025 17:39
@github-actions github-actions Bot added this to the 26.0 milestone Nov 5, 2025
@guerler guerler force-pushed the revise_display_application branch from 8a724fe to 3d6c582 Compare November 5, 2025 18:22
@guerler guerler requested a review from jmchilton November 5, 2025 18:24
@guerler guerler force-pushed the revise_display_application branch from 0dc030c to ba7ab20 Compare November 6, 2025 05:16
@guerler guerler requested a review from itisAliRH November 6, 2025 16:38
@guerler guerler force-pushed the revise_display_application branch from 0c0c9ba to 3dd04fb Compare November 6, 2025 23:42
@guerler guerler force-pushed the revise_display_application branch 4 times, most recently from 8b9272e to a3f1ae9 Compare November 7, 2025 23:41
@guerler guerler force-pushed the revise_display_application branch from a75354a to d052f73 Compare November 7, 2025 23:51
@guerler guerler force-pushed the revise_display_application branch from dbda9b7 to 4d4e22c Compare November 8, 2025 00:07
@guerler guerler requested a review from davelopez November 10, 2025 17:07
Comment thread lib/galaxy/webapps/galaxy/api/display_applications.py Outdated
Comment thread lib/galaxy/managers/display_applications.py
Comment thread lib/galaxy/managers/display_applications.py Outdated
Comment thread client/src/components/Visualizations/DisplayApplications.vue Outdated
<div>
<DatasetProvider :id="datasetId" v-slot="{ result: dataset }">
<b-alert
<DatasetProvider :id="props.datasetId" v-slot="{ result: dataset }">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If you can get rid of the DatasetProvider here (I think is one of the few usages left) and use the store, then we will be one step closer to eliminate this old pattern. Also it will likely simplify the testing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'll do that in a follow-up.

Comment thread client/src/components/Visualizations/DisplayApplication.vue Outdated
Comment thread client/src/components/Visualizations/DisplayApplication.test.js Outdated
guerler and others added 9 commits November 11, 2025 15:40
Co-authored-by: David López <46503462+davelopez@users.noreply.github.com>
Co-authored-by: David López <46503462+davelopez@users.noreply.github.com>
Co-authored-by: David López <46503462+davelopez@users.noreply.github.com>
@guerler
Copy link
Copy Markdown
Contributor Author

guerler commented Nov 11, 2025

Failing test is unrelated.

Copy link
Copy Markdown
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 to me! Thank you @guerler!

@guerler guerler merged commit 3f0f537 into galaxyproject:dev Nov 11, 2025
66 of 67 checks passed
@guerler guerler deleted the revise_display_application branch November 11, 2025 18:24
@guerler
Copy link
Copy Markdown
Contributor Author

guerler commented Nov 11, 2025

Thank you so much @davelopez. This was an important cleanup step for the remaining mako removal.

@guerler guerler added the release-testing-26.0 PRs marked for testing for the 26.0 release and issues stemming from release testing label Jan 29, 2026
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 release-testing-26.0 PRs marked for testing for the 26.0 release and issues stemming from release testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants