stable
Clone or download
Read-only
Part of story #38263 Choose my own columns based on field name (numeric, text, dates) User can select on numeric fields, the value of the field is returned *Testing:* In plugins/crosstracker/scripts/cross-tracker/src/api/rest-querier.ts L80 change return_format to "selectable" and pnpm build In browser console If you select a numeric field in you XTS widget, you should see this field values for each artifacts Change-Id: I6980ada476f1539e305deae8987b58742fadb82b
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php | +2 | −0 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/Date/DateResultBuilder.php | +5 | −1 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/FieldResultBuilder.php | +4 | −2 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/Numeric/NumericResultBuilder.php | +63 | −0 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/Numeric/NumericResultRepresentation.php | +33 | −0 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/Text/TextResultBuilder.php | +5 | −1 | Go to diff View file |
M | plugins/crosstracker/include/crosstrackerPlugin.php | +2 | −0 | Go to diff View file |
M | plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/NumericSelectBuilderTest.php | +30 | −86 | Go to diff View file |
M | plugins/crosstracker/tests/integration/CrossTracker/Tests/Report/ArtifactReportFactoryInstantiator.php | +2 | −0 | Go to diff View file |
M | plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/FieldResultBuilderTest.php | +36 | −7 | Go to diff View file |
A | plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/NumericResultBuilderTest.php | +79 | −0 | Go to diff View file |