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

Remove unneeded dashboard JS imports #18104

Merged

Conversation

cconard96
Copy link
Contributor

Checklist before requesting a review

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my code.

Description

Since 10.0.6, all of the "extra" required libraries for dashboards were always being included even when dashboard wasn't in the array of requested libraries. In a non-archive release (so nothing minified) this saves approximately 800kb on non-dashboard pages. Most of the savings is from not importing echarts.

@cconard96 cconard96 requested review from orthagh and cedric-anne and removed request for orthagh October 20, 2024 15:11
@cedric-anne cedric-anne added this to the 10.0.17 milestone Oct 22, 2024
@cedric-anne cedric-anne merged commit 8403bcd into glpi-project:10.0/bugfixes Oct 22, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants