stable

Clone or download

Read-only

refactor: Interpret commonmark through REST adapter

No functional change expected. You can still click on the "Preview" button when writing a new follow-up comment or when editing a text field in the artifact modal. The resulting HTML is still shown. part of request #22648 Convert AngularJS directives and controllers to hybrids web components Change-Id: Ica0b5e43c91488a06f485f56e2e70b948dfe8f64

Modified Files

Name
M lib/frontend/fetch-result/src/headers.ts +0 −1 Go to diff View file
M lib/frontend/fetch-result/src/main.ts +1 −2 Go to diff View file
M lib/frontend/fetch-result/src/text-methods.test.ts +0 −8 Go to diff View file
M lib/frontend/fetch-result/src/text-methods.ts +2 −7 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/TuleapAPIClient.test.ts +50 −28 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/TuleapAPIClient.ts +16 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/comments/FollowupEditor.test.ts +6 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/comments/FollowupEditor.ts +0 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/comments/ModalCommentsSection.test.ts +0 −5 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/comments/ModalCommentsSection.ts +0 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/text-field/TextField.test.ts +6 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/text-field/TextField.ts +0 −1 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/api/tuleap-api.test.ts +0 −69 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/api/tuleap-api.ts +0 −37 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/common/RichTextEditor.test.ts +22 −9 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/common/text-and-format.test.ts +37 −32 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/common/text-and-format.ts +13 −13 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/comments/CommentsController.test.ts +0 −9 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/comments/CommentsController.ts +0 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/common/FormattedTextController.test.ts +36 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/common/FormattedTextController.ts +7 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/domain/common/InterpretCommonMark.ts +25 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.js +9 −6 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.tpl.html +0 −1 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/tests/stubs/InterpretCommonMarkStub.ts +32 −0 Go to diff View file