stable

Clone or download

Read-only

fix: kanban card fields sould respect artifact display

Currently the card fields are using amCalendar for dates which does not respect the format used to display those dates in the artifact view. For consistency we should have the same dates displayed. To test create two date fields one with time displayed, one without. In tracker card fields semantic, add those two date fields, as well as last update date and submitted on fields. Create an artifact and fill those date fields. On kanban, you should see the same display for dates in the card than in the artifact view, accondingly to your locale. You can still filter for cards by searching for a specific date. Closes request #39735: kanban card fields sould respect artifact display Change-Id: Icf8db0192db3c4c0d31efaaec5e939b03a78f003

Modified Files

Name
M plugins/agiledashboard/scripts/planning-v2/src/app/app.js +1 −1 Go to diff View file
M plugins/cardwall/scripts/lib/card-fields/package.json +1 −0 Go to diff View file
M plugins/cardwall/scripts/lib/card-fields/pnpm-lock.yaml +3 −0 Go to diff View file
A plugins/cardwall/scripts/lib/card-fields/src/card-date-field/get-date-to-display.ts +33 −0 Go to diff View file
A plugins/cardwall/scripts/lib/card-fields/src/card-date-field/type.ts +24 −0 Go to diff View file
M plugins/cardwall/scripts/lib/card-fields/src/card-fields-service.js +2 −0 Go to diff View file
M plugins/cardwall/scripts/lib/card-fields/src/card-fields.tpl.html +1 −1 Go to diff View file
M plugins/cardwall/scripts/lib/card-fields/src/highlight-filter.test.js +2 −2 Go to diff View file
M plugins/cardwall/scripts/lib/card-fields/src/index.js +3 −1 Go to diff View file
M plugins/kanban/scripts/kanban/src/app/in-properties-filter/in-properties-filter.js +2 −3 Go to diff View file
M plugins/kanban/scripts/kanban/src/app/in-properties-filter/in-properties-filter.test.js +8 −6 Go to diff View file
M plugins/kanban/scripts/kanban/src/app/kanban-item/kanban-item.js +1 −1 Go to diff View file
A plugins/tracker/include/REST/Artifact/ArtifactFieldValueDateFullRepresentation.php +37 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_Date.class.php +12 −1 Go to diff View file