stable

Clone or download

Read-only

refactor: Use Option for parent artifact

No functional change expected. When you create a task of a user story in Planning view: - the title of the User story is shown in the modal feedback at the top - the "is Child of" link type is disabled in the artifact links field When you create a user story: - no feedback is shown - the "is Child of" link type is enabled and chosen by default part of request #31206 Use Option in the artifact modal Change-Id: I36e065b53ae3fc3d042215d5e47c4896e58a31d6

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/package.json +1 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/Caller/ParentArtifactIdentifierProxy.test.ts +6 −9 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/Caller/ParentArtifactIdentifierProxy.ts +5 −6 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/feedback/ModalFeedback.test.ts +9 −10 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/feedback/ModalFeedback.ts +18 −21 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/feedback/ParentFeedbackController.test.ts +0 −83 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/feedback/ParentFeedbackController.ts +0 −47 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/feedback/ParentFeedbackPresenter.test.ts +0 −34 Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/feedback/ParentFeedbackPresenter.ts +0 −31 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkFieldController.test.ts +11 −6 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/ParentLinkVerifier.test.ts +5 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/ParentLinkVerifier.ts +3 −2 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/domain/parent/ParentFeedbackController.test.ts +80 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/domain/parent/ParentFeedbackController.ts +49 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.js +4 −4 Go to diff View file