stable

Clone or download

Read-only

Replace relative imports of chart builder with a package import

part of request #26381 Prevent relative imports outside of a package No functional change expected in the following charts: - in AgileDashboard overview tab: burndown, burnup, velocity - in Project Milestones widget burndown / burnup (dashboards) Change-Id: Ia50da9c092f101577a019823f9fc6cbcec0d768f

Modified Files

Name
M build-manifest.json +3 −3 Go to diff View file
A lib/frontend/chart-builder/.gitignore +1 −0 Go to diff View file
A lib/frontend/chart-builder/README.md +3 −0 Go to diff View file
A lib/frontend/chart-builder/jest.config.js +26 −0 Go to diff View file
A lib/frontend/chart-builder/package.json +39 −0 Go to diff View file
A lib/frontend/chart-builder/pnpm-lock.yaml +150 −0 Go to diff View file
R src/scripts/charts-builders/po/fr_FR.po Go to diff View file
A lib/frontend/chart-builder/po/pt_BR.po +20 −0 Go to diff View file
A lib/frontend/chart-builder/src/bar-chart-scales-factory.d.ts +38 −0 Go to diff View file
R src/scripts/charts-builders/bar-chart-scales-factory.js Go to diff View file
R src/scripts/charts-builders/gettext-provider.js Go to diff View file
R src/scripts/charts-builders/chart-badge-legend-generator.js Go to diff View file
A lib/frontend/chart-builder/src/chart-column-factory.d.ts +50 −0 Go to diff View file
R src/scripts/charts-builders/chart-column-factory.js Go to diff View file
A lib/frontend/chart-builder/src/chart-content-legend-generator.d.ts +30 −0 Go to diff View file
R src/scripts/charts-builders/chart-content-legend-generator.js Go to diff View file
R src/scripts/charts-builders/chart-dates-service.d.ts Go to diff View file
R src/scripts/charts-builders/chart-dates-service.js Go to diff View file
R src/scripts/charts-builders/chart-dates-service.test.js Go to diff View file
R src/scripts/charts-builders/chart-layout-builder.d.ts Go to diff View file
R src/scripts/charts-builders/chart-layout-builder.js Go to diff View file
R src/scripts/charts-builders/chart-layout-service.js Go to diff View file
R src/scripts/charts-builders/chart-legend-service.js Go to diff View file
R src/scripts/charts-builders/chart-lines-service.d.ts Go to diff View file
R src/scripts/charts-builders/chart-lines-service.js Go to diff View file
A lib/frontend/chart-builder/src/chart-text-legend-generator.d.ts +28 −0 Go to diff View file
R src/scripts/charts-builders/chart-text-legend-generator.js Go to diff View file
A lib/frontend/chart-builder/src/chart-tooltip-factory.d.ts +107 −0 Go to diff View file
R src/scripts/charts-builders/chart-tooltip-factory.js Go to diff View file
A lib/frontend/chart-builder/src/chart-truncation-service.d.ts +22 −0 Go to diff View file
R src/scripts/charts-builders/chart-truncation-service.js Go to diff View file
R src/scripts/charts-builders/line-chart-scales-factory.d.ts Go to diff View file
R src/scripts/charts-builders/line-chart-scales-factory.js Go to diff View file
A lib/frontend/chart-builder/src/main.ts +37 −0 Go to diff View file
A lib/frontend/chart-builder/src/pofile-shim.d.ts +24 −0 Go to diff View file
R src/scripts/charts-builders/time-scale-labels-formatter.d.ts Go to diff View file
R src/scripts/charts-builders/time-scale-labels-formatter.js Go to diff View file
R src/scripts/charts-builders/type.d.ts Go to diff View file
A lib/frontend/chart-builder/tsconfig.json +8 −0 Go to diff View file
A lib/frontend/chart-builder/vite.config.ts +49 −0 Go to diff View file
M lib/frontend/drag-and-drop/package.json +1 −1 Go to diff View file
M plugins/agiledashboard/package.json +1 −2 Go to diff View file
M plugins/agiledashboard/pnpm-lock.yaml +2 −4 Go to diff View file
M plugins/agiledashboard/scripts/burnup-chart/src/burnup-chart-drawer.js +13 −11 Go to diff View file
M plugins/agiledashboard/scripts/burnup-chart/src/chart-data-service.js +1 −1 Go to diff View file
M plugins/agiledashboard/webpack.common.js +2 −4 Go to diff View file
M plugins/projectmilestones/package.json +1 −1 Go to diff View file
M plugins/projectmilestones/pnpm-lock.yaml +2 −44 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/chart_builder/burndown_chart_builder/burndown-chart-drawer.test.ts +13 −3 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/chart_builder/burndown_chart_builder/burndown-chart-drawer.ts +11 −11 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/chart_builder/burnup_chart_builder/burnup-chart-drawer.test.ts +14 −3 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/chart_builder/burnup_chart_builder/burnup-chart-drawer.ts +10 −13 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/chart_builder/chart-data-service.ts +2 −2 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/chart_builder/chart-scale-helper.ts +1 −1 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/Burndown/Burndown.vue +2 −2 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/Burnup/Burnup.vue +2 −2 Go to diff View file
M plugins/projectmilestones/webpack.common.js +1 −10 Go to diff View file
M plugins/tracker/package.json +1 −2 Go to diff View file
M plugins/tracker/pnpm-lock.yaml +2 −51 Go to diff View file
M plugins/tracker/scripts/burndown-chart/src/burndown-chart-drawer.js +13 −11 Go to diff View file
M plugins/tracker/scripts/burndown-chart/src/chart-data-service.js +1 −1 Go to diff View file
M plugins/tracker/scripts/burndown-chart/src/gettext-provider.js +2 −2 Go to diff View file
M plugins/tracker/webpack.common.js +2 −4 Go to diff View file
M plugins/velocity/package.json +1 −4 Go to diff View file
M plugins/velocity/pnpm-lock.yaml +2 −79 Go to diff View file
M plugins/velocity/scripts/velocity-chart/src/velocity-chart-drawer.js +6 −4 Go to diff View file
M plugins/velocity/webpack.common.js +2 −1 Go to diff View file
M src/package.json +0 −9 Go to diff View file
M src/pnpm-lock.yaml +0 −42 Go to diff View file