askap-vast / vast-pipeline

This repository holds the code of the Radio Transient detection pipeline for the VAST project.
https://vast-survey.org/vast-pipeline/
MIT License
7 stars 3 forks source link

consolidate JS assets in templates #602

Closed marxide closed 2 years ago

marxide commented 2 years ago

Each time a data point is selected in the eta-V plot, a callback is invoked by Bokeh to render the plot update template. The template contained several JavaScript assets that were already loaded in the original page template. This PR consolidates the required JS assets into the original eta-V plot template so that they do not need to be requested on each callback.

marxide commented 2 years ago

Testing on Nimbus shows a significant reduction in the load time for the lightcurve and source detail after clicking a source in the eta-V plot.