stable

Clone or download

Read-only

Move "ckeditor form" lib to Trackers plugin

Part of story #18336 add support of markdown How to test: - No functional change in image upload in Text fields, follow-up comments or Step field - No Jest error in CI Notes: The lib was always very much tied to Trackers Artifact form structure. For example it queries the submit buttons with a specific CSS classname, it gets some specific data-attributes in the document, etc. Being in plugins/tracker makes it more explicit. I took the opportunity to try to give it a better name too. Also since ckeditor-image-upload is now built without async/await polyfills, it no longer depends on regeneratorRuntime, which is now cleaned up from Jest setups and dependencies. Change-Id: I9ab1218f6b78bf28652820b218db4a63c24ebe41

Modified Files

Name
M build-manifest.json +0 −4 Go to diff View file
M plugins/testmanagement/package.json +1 −1 Go to diff View file
M plugins/testmanagement/scripts/step-definition-field/StepDefinitionEditableStep.vue +4 −1 Go to diff View file
M plugins/tracker/build-manifest.json +4 −0 Go to diff View file
M plugins/tracker/package.json +1 −1 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/jest.config.js +0 −1 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/package-lock.json +0 −6 Go to diff View file
M plugins/tracker/scripts/angular-artifact-modal/package.json +1 −2 Go to diff View file
D plugins/tracker/scripts/angular-artifact-modal/tests/jest.setup.js +0 −21 Go to diff View file
M plugins/tracker/scripts/artifact/create-view.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/artifact/edition/edit-view.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/artifact/rich-text-editor-creator/RichTextEditorsCreator.test.ts +1 −6 Go to diff View file
M plugins/tracker/scripts/artifact/rich-text-editor-creator/RichTextEditorsCreator.ts +2 −2 Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/.gitignore Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/README.md Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/jest.config.js Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/package-lock.json Go to diff View file
A plugins/tracker/scripts/lib/artifact-ckeditor-image-upload/package.json +34 −0 Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/po/fr_FR.po Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/src/HelpBlock.js Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/src/HelpBlock.test.js Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/src/HelpBlockFactory.js Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/src/HelpBlockFactory.test.js Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/src/Initializer.js Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/src/Initializer.test.js Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/src/UploadEnabledDetector.js Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/src/UploadEnabledDetector.test.js Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/src/UploadImageFormFactory.js Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/src/ckeditor-options.js Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/src/ckeditor-options.test.js Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/src/consistent-uploaded-files-before-submit-checker.js Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/src/consistent-uploaded-files-before-submit-checker.test.js Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/src/ckeditor-image-upload-form.d.ts Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/src/form-adapter.js Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/src/form-adapter.test.js Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/src/forms-being-uploaded-state.js Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/src/index.js Go to diff View file
R src/scripts/lib/ckeditor-image-upload-form/vite.config.ts Go to diff View file
M plugins/tracker/scripts/modal-v2/modal-in-place.js +1 −1 Go to diff View file
D src/scripts/lib/ckeditor-image-upload-form/package.json +0 −36 Go to diff View file
D src/scripts/lib/ckeditor-image-upload-form/tests/jest.setup.js +0 −21 Go to diff View file
M src/scripts/tuleap/textarea_rte.js +0 −2 Go to diff View file