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 text 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 text field in you XTS widget, you should see this field values for each artifacts Note! To avoid to repeat ourself, dedicated object has been created to get the interpreted value of a text field Change-Id: I842721dcc5c673061eabc32ab69a56140e81f95f
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php | +16 | −2 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/FieldResultBuilder.php | +3 | −1 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/Text/TextResultBuilder.php | +71 | −0 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/Text/TextResultRepresentation.php | +32 | −0 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/SelectBuilder/Field/Text/TextSelectFromBuilder.php | +1 | −1 | Go to diff View file |
M | plugins/crosstracker/include/crosstrackerPlugin.php | +29 | −11 | Go to diff View file |
M | plugins/crosstracker/tests/integration/CrossTracker/Report/Query/Advanced/Select/TextSelectFromBuilderTest.php | +38 | −57 | Go to diff View file |
M | plugins/crosstracker/tests/integration/CrossTracker/Tests/Report/ArtifactReportFactoryInstantiator.php | +13 | −0 | Go to diff View file |
M | plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/ResultBuilder/Field/FieldResultBuilderTest.php | +50 | −9 | Go to diff View file |
A | plugins/tracker/include/Tracker/Artifact/ChangesetValue/Text/TextValueInterpreter.php | +48 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_Text.class.php | +3 | −6 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Artifact/ChangesetValue/Text/TextValueInterpreterTest.php | +81 | −0 | Go to diff View file |