stable

Clone or download

Read-only

Replace FormatSelector by web component

part of request #22647 Convert Vue components to hybrids web components How to test: No functional change expected when selecting a format for a text field or a follow-up comment. When you select a format, the text field will adapt (for example it'll create a CKEditor in HTML, the buttons will appear in Markdown). Notes: I also added the unit test I had marked as optional suggestion in the Radio Buttons review. Change-Id: If24af8872a2f40b962f70becd606f6b0d2afb5ff

Modified Files

Name
D plugins/tracker/scripts/lib/artifact-modal/src/common/FormatSelector.test.js +0 −143 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/common/FormatSelector.test.ts +105 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/common/FormatSelector.ts +122 −0 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/common/FormatSelector.vue +0 −119 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/radio-buttons-field/RadioButtonsField.test.ts +17 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/radio-buttons-field/RadioButtonsField.ts +1 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/text-field/TextField.test.js +5 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/text-field/TextField.vue +12 −11 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/followups/FollowupEditor.test.js +3 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/followups/FollowupEditor.vue +9 −12 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.js +3 −1 Go to diff View file