stable

Clone or download

Read-only

Retrieve information about the tracker reports directly from the REST API

This avoid passing information into the DOM that might never be used and using the REST API will be needed anyway for the other levels. Part of story #23469: export reports with linked artifact in xlsx format Change-Id: I92224b1a32ef9dc0299413c10c3fbf9cab6678e0

Modified Files

Name
M plugins/document_generation/include/CrossReport/CrossReportExportProperties.php +1 −2 Go to diff View file
M plugins/document_generation/include/CrossReport/CrossReportExportPropertiesFetcher.php +2 −26 Go to diff View file
M plugins/document_generation/include/document_generationPlugin.php +1 −3 Go to diff View file
M plugins/document_generation/package.json +2 −1 Go to diff View file
M plugins/document_generation/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Components/FirstLevelSelector.vue +10 −13 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Components/ModalContent.test.ts +1 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Components/ModalContent.vue +9 −9 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Components/TrackerReportSelector.test.ts +43 −21 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Components/TrackerReportSelector.vue +41 −25 Go to diff View file
A plugins/document_generation/scripts/tracker-cross-report-action/src/Helpers/use-promise.test.ts +86 −0 Go to diff View file
A plugins/document_generation/scripts/tracker-cross-report-action/src/Helpers/use-promise.ts +60 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/rest-querier.test.ts +27 −1 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/rest-querier.ts +5 −0 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/type.ts +6 −7 Go to diff View file
M plugins/document_generation/tests/unit/CrossReport/CrossReportExportPropertiesFetcherTest.php +3 −30 Go to diff View file
R plugins/tracker/scripts/lib/rest-api-types/src/types.ts Go to diff View file
A plugins/tracker/scripts/lib/rest-api-types/src/index.ts +25 −0 Go to diff View file
A plugins/tracker/scripts/lib/rest-api-types/src/reports.ts +24 −0 Go to diff View file
A plugins/tracker/scripts/lib/rest-api-types/src/trackers.ts +96 −0 Go to diff View file
M plugins/tracker/scripts/lib/rest-api-types/tsconfig.json +0 −1 Go to diff View file
M plugins/tracker/scripts/lib/rest-api-types/vite.config.ts +1 −1 Go to diff View file