stable

Clone or download

Read-only

Be able to preview CommonMark syntax in artifact modal

Part of story #18337 markdown replace text How to test - Make sure the tested tracker has at least one Text Field field - In the artifact modal (e.g via kanban) choose the "Markdown" format and write some Markdown syntax - Click on the Preview button => The interpreted Markdown should be displayed - Click on "Edit" button => There is no server request and the text area should be displayed with the non interpreted Markdown Note: The CommonMark preview of the Follow ups will be done in a dedicated patch Change-Id: Idfcf2e05efa382637130333fb9b2901cc0cead83

Modified Files

Name
M plugins/tracker/scripts/angular-artifact-modal/package-lock.json +8 −0 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/package.json +1 −0 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/po/fr_FR.po +3 −0 Go to diff View file
A plugins/tracker/scripts/angular-artifact-modal/src/api/tuleap-api.test.ts +71 −0 Go to diff View file
A plugins/tracker/scripts/angular-artifact-modal/src/api/tuleap-api.ts +37 −0 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/common/CommonmarkPreviewButton.test.js +25 −3 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/common/CommonmarkPreviewButton.vue +6 −2 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/common/CommonmarkSyntaxHelper.vue +3 −2 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/common/FormatSelector.test.js +48 −22 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/common/FormatSelector.vue +7 −2 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/gettext-catalog.js +2 −0 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/helpers/local-vue.js +6 −1 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/ng-vue-config.js +4 −0 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/text-field/TextField.test.js +116 −16 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal-fields/text-field/TextField.vue +41 −2 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/src/tuleap-artifact-modal.tpl.html +1 −0 Go to diff View file