Skip to content
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

[LIMS-1552] Remove old jQuery version #861

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gfrn
Copy link
Collaborator

@gfrn gfrn commented Nov 15, 2024

JIRA ticket: [LIMS-1552](https://link.to.jira

Summary:

A minified version of jQuery which was only used in one function was found, and since that function has little to no effect on the surrounding environment (logfiles), it may be possible to remove it completely.

I've tested Fast DP reports and autoPROC log files, and both of them don't see any penalty in terms of usability. AutoPROC files link resources as b64 blobs, so there are no authorised requests being made.

Changes:

  • Remove JS code from log iframe

To test:

  • Go to /dc/visit/cm37235-5, view logs for any autoprocessing program (autoPROC, fast_dp...), ensure that links are not broken with the removal of the JS script in the iframe

Note that the list of autoprocessing programs is not exhaustive, and other logfile types may be affected by this. I need help mapping out which logfiles could be affected.

@gfrn gfrn added javascript Pull requests that update Javascript code improvement labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant