stable
Clone or download
For now only the project milestone names are exported in a XSLX document. It is not really helpful by itself, the primary goal of the contribution is set up the architecture of the export generation. The report is purposely built without any dependency to an external library. The transformation into a XSLX document is done as the last step of the chain in a isolated context. This approach ease the long term maintainance (it becomes easier to follow the library API changes at upgrades) and avoid relying on hard to crasp and very domain specific API. Also, it can potentially ease the process if other export formats need to be added in the future. The code needed to generate the report is loaded asynchronously in reason of its large size. Part of story #15096: export a report of tests for a milestone Change-Id: Ia7f02214a0e4cf96a3300299a5020a9fb82e7a32
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/testplan/include/TestPlanPresenter.php | +8 | −0 | Go to diff View file |
M | plugins/testplan/include/TestPlanPresenterBuilder.php | +1 | −0 | Go to diff View file |
M | plugins/testplan/package-lock.json | +105 | −0 | Go to diff View file |
M | plugins/testplan/package.json | +3 | −1 | Go to diff View file |
M | plugins/testplan/scripts/test-plan/index.ts | +2 | −0 | Go to diff View file |
M | plugins/testplan/scripts/test-plan/po/fr_FR.po | +12 | −0 | Go to diff View file |
A | plugins/testplan/scripts/test-plan/src/components/BacklogItems/ExportButton.test.ts | +152 | −0 | Go to diff View file |
A | plugins/testplan/scripts/test-plan/src/components/BacklogItems/ExportButton.vue | +98 | −0 | Go to diff View file |
M | plugins/testplan/scripts/test-plan/src/components/BacklogItems/ListOfBacklogItemsHeader.vue | +5 | −2 | Go to diff View file |
A | plugins/testplan/scripts/test-plan/src/helpers/Export/download-export-document.test.ts | +52 | −0 | Go to diff View file |
A | plugins/testplan/scripts/test-plan/src/helpers/Export/download-export-document.ts | +42 | −0 | Go to diff View file |
A | plugins/testplan/scripts/test-plan/src/helpers/Export/general-information-builder.test.ts | +37 | −0 | Go to diff View file |
A | plugins/testplan/scripts/test-plan/src/helpers/Export/general-information-builder.ts | +37 | −0 | Go to diff View file |
A | plugins/testplan/scripts/test-plan/src/helpers/Export/report-cells.test.ts | +28 | −0 | Go to diff View file |
A | plugins/testplan/scripts/test-plan/src/helpers/Export/report-cells.ts | +24 | −0 | Go to diff View file |
A | plugins/testplan/scripts/test-plan/src/helpers/Export/report-creator.test.ts | +39 | −0 | Go to diff View file |
A | plugins/testplan/scripts/test-plan/src/helpers/Export/report-creator.ts | +39 | −0 | Go to diff View file |
A | plugins/testplan/scripts/test-plan/src/helpers/Export/transform-report-to-xlsx-sheet.test.ts | +63 | −0 | Go to diff View file |
A | plugins/testplan/scripts/test-plan/src/helpers/Export/transform-report-to-xlsx-sheet.ts | +72 | −0 | Go to diff View file |
A | plugins/testplan/scripts/test-plan/src/helpers/vue-gettext-provider-for-test.ts | +25 | −0 | Go to diff View file |
A | plugins/testplan/scripts/test-plan/src/helpers/vue-gettext-provider.ts | +23 | −0 | Go to diff View file |
M | plugins/testplan/scripts/test-plan/src/store/type.ts | +1 | −0 | Go to diff View file |
M | plugins/testplan/templates/test-plan.mustache | +1 | −0 | Go to diff View file |
M | plugins/testplan/tests/unit/TestPlanPresenterBuilderTest.php | +1 | −0 | Go to diff View file |
M | plugins/testplan/themes/includes/_backlog-item.scss | +4 | −0 | Go to diff View file |
M | tsconfig.json | +1 | −0 | Go to diff View file |