stable
Clone or download
Read-only
request #10570: Heartbeat should not be part of main dashboard.js asset
No functional changes. Heartbeat javascript file should be loaded only when needed (when the widget is used). That way we reduce the size of dashboard.js asset file. Change-Id: I9391a0bfef76b182c3167d38475b0ef0b18d5862
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/Dashboard/JavascriptFilesIncluder.php | +6 | −0 | Go to diff View file |
M | src/www/scripts/dashboards/dashboard.js | +0 | −2 | Go to diff View file |
A | src/www/scripts/dashboards/widgets/project-heartbeat/index.js | +24 | −0 | Go to diff View file |
R | src/www/scripts/dashboards/widgets/project-heartbeat.js | Go to diff View file | ||
M | src/www/scripts/package-lock.json | +669 | −237 | Go to diff View file |
M | src/www/scripts/package.json | +6 | −6 | Go to diff View file |
M | src/www/scripts/webpack.config.js | +33 | −7 | Go to diff View file |