stable

Clone or download

Read-only

Replace Text Field by web component

closes request #22647 Convert Vue components to hybrids web components How to test: No functional change expected in the text fields and follow-up comments behaviour. You can test basic non-regression with cypress end-to-end tests for agiledashboard. Change-Id: Ic8eb229049f1dbb92a522e2366ee7f9fbf442028

Modified Files

Name
M package.json +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/package.json +2 −6 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/pnpm-lock.yaml +3 −215 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/common/FormatSelector.ts +1 −6 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/common/RichTextEditor.test.ts +30 −17 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/common/RichTextEditor.ts +25 −9 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/common/interpret-commonmark.test.ts +0 −74 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/common/interpret-commonmark.ts +0 −56 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/common/text-and-format.test.ts +213 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/common/text-and-format.ts +131 −0 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/common/textfield-mixin.js +0 −75 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/common/textfield-mixin.test.js +0 −102 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/fields/text-field/TextField.test.js +0 −166 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/fields/text-field/TextField.test.ts +117 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/fields/text-field/TextField.ts +87 −0 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/fields/text-field/TextField.vue +0 −109 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/followups/FollowupEditor.test.ts +0 −81 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/followups/FollowupEditor.ts +16 −61 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/helpers/local-vue.js +0 −26 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/ng-vue-config.js +0 −22 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.js +2 −6 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.test.js +5 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.js +2 −8 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.tpl.html +14 −9 Go to diff View file