Skip to content

Prevent Aladin chart from blocking page load#1618

Open
Fingel wants to merge 1 commit into
devfrom
1617-optimize-aladin-loading
Open

Prevent Aladin chart from blocking page load#1618
Fingel wants to merge 1 commit into
devfrom
1617-optimize-aladin-loading

Conversation

@Fingel

@Fingel Fingel commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Moves the javascript into a self contained file, so that it can be loaded in the {% extra_javascaript %} block which is outside of <body>, thus preventing it from blocking the loading of the rest of the page.

Required some refactoring as the original JS used template variables, which needed to be converted to parameters for the standalone function.

Moves the javascript into a self contained file, so that it can be
loaded in the {% extra_javascaript %} block which is outside of <body>,
thus preventing it from blocking the loading of the rest of the page.

Required some refactoring as the original JS used template variables,
which needed to be converted to parameters for the standalone function.
@Fingel Fingel linked an issue Jul 16, 2026 that may be closed by this pull request
3 tasks
@jchate6 jchate6 moved this to Needs Review in TOM Toolkit Jul 16, 2026

@jchate6 jchate6 left a comment

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.

This is great. A few questions:

  • Can we make it so there is a spinning wheel or equivalent while loading the finder?
  • The finder still feels very slow. the main aladin star chart on the Target Details page is much faster. Is there anything we can do to speed up the individual target finder chart?

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

Labels

None yet

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

Optimize Aladin loading

3 participants