stable

Clone or download

Read-only

Add an additional button in the report export menu for the XLSX export

The button is only visible when a feature flag is enabled with `tuleap config-set feature_flag_doc_gen_cross_tracker_report_xslx_export 1`. For now clicking on the button does nothing (well it throws an error message in your web browser console). A small changes has been made in the way tracker report are rendered so we can properly import Vite assets (with their stylesheets). Now the tracker header is outputted only once we collected the assets we need on the page. Part of story #23469: export reports with linked artifact in xlsx format Change-Id: I54f228eaa138fdd9bc44eff33654c8ecaf2fc14b

Modified Files

Name
A plugins/document_generation/include/FeatureFlagCrossTrackerReportAction.php +36 −0 Go to diff View file
M plugins/document_generation/include/document_generationPlugin.php +22 −2 Go to diff View file
A plugins/document_generation/scripts/tracker-cross-report-action/src/index.ts +35 −0 Go to diff View file
M plugins/document_generation/site-content/fr_FR/LC_MESSAGES/tuleap-document_generation.po +3 −0 Go to diff View file
A plugins/document_generation/templates/tracker-cross-report-action.mustache +7 −0 Go to diff View file
A plugins/document_generation/tests/unit/FeatureFlagCrossTrackerReportActionTest.php +42 −0 Go to diff View file
M plugins/document_generation/tsconfig.json +2 −1 Go to diff View file
M plugins/document_generation/vite.config.ts +4 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Renderer/Table/GetExportOptionsMenuItemsEvent.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report_Renderer_Table.class.php +1 −1 Go to diff View file