stable
Clone or download
Read-only
part of story #39003 Choose my own columns based on special fields How to test: - Enable the feature flag: $ tuleap config-set feature_flag_enable_tql_select 1 - Write a query using SELECT @project.name and save the report. - In the table, you should see a translated "Project" column with the project icon (if any) and name to which the artifact belongs. - No functional change for numeric, dates, and text columns. Why? Using dompurify for every cell is going to be costly performance-wise. We only need it for text cells. Change-Id: I71dd5c49d7597ddfff703c2de10ee43f9f8e4e12
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/scripts/cross-tracker/src/api/ArtifactsTableBuilder.test.ts | +137 | −53 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/api/ArtifactsTableBuilder.ts | +32 | −18 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/api/cross-tracker-rest-api-types.ts | +24 | −12 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/components/selectable-table/SelectableTable.vue | +39 | −18 | Go to diff View file |
A | plugins/crosstracker/scripts/cross-tracker/src/components/selectable-table/TextCell.vue | +33 | −0 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/domain/ArtifactsTable.ts | +8 | −1 | Go to diff View file |
A | plugins/crosstracker/scripts/cross-tracker/src/domain/ColumnName.ts | +22 | −0 | Go to diff View file |