stable

Clone or download

Read-only

Fetch reports of the current tracker into the properties of the cross-report modal

This is needed to be able to quickly list the reports of the first export level. For the others levels we will be forced to fetch them through the REST API. The selector is not yet working but you can check that all the values are available in the in `data-properties` attribute of the mount point. Part of story #23469: export reports with linked artifact in xlsx format Change-Id: I7a1451b1d07e4405ec61f1ce8dcc0178b8670931

Modified Files

Name
A plugins/document_generation/include/CrossReport/CrossReportExportProperties.php +39 −0 Go to diff View file
A plugins/document_generation/include/CrossReport/CrossReportExportPropertiesFetcher.php +63 −0 Go to diff View file
A plugins/document_generation/include/CrossReport/CrossReportExportPropertiesReport.php +36 −0 Go to diff View file
M plugins/document_generation/include/document_generationPlugin.php +5 −5 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Components/ModalContent.vue +7 −5 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Data/data-formator.test.ts +7 −3 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Data/data-formator.ts +3 −5 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Exporter/XLSX/download-xlsx.ts +5 −8 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/export-document.test.ts +5 −2 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/export-document.ts +14 −8 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/type.ts +2 −3 Go to diff View file
A plugins/document_generation/tests/unit/CrossReport/CrossReportExportPropertiesFetcherTest.php +98 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_ReportFactory.class.php +1 −1 Go to diff View file