stable

Clone or download

Read-only

refactor: Use controller to get text format user preference

How to test: No functional change in text fields & new comments: User preference for text format should still be applied to the new comment and to a new Text field when creating a new artifact. part of request #31111: Remove global states in the artifact modal Change-Id: I994283fa495dd4dd25914ef3d0185167e18b227a

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/comments/FollowupEditor.test.ts +2 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/text-field/TextField.test.ts +2 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/common/RichTextEditor.test.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/common/RichTextEditor.ts +1 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/common/text-and-format.test.ts +2 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/common/FormattedTextController.test.ts +12 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/common/FormattedTextController.ts +6 −1 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/model/UserPreferencesStore.ts +0 −29 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.js +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-service.js +0 −2 Go to diff View file