stable

Clone or download

Read-only

refactor: use Option to verify tracker hierarchy

No functional change expected. When the current tracker is in a hierarchy (for example Task & User Story), the "is Child of" link type will be selected by default. part of request #31206 Use Option in the artifact modal Change-Id: Ia777f25590adeec8723154e9a613d905bf780f86

Modified Files

Name
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/TrackerInAHierarchyVerifier.ts Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/fields/link-field/ParentTrackerIdentifierProxy.ts +40 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkFieldController.test.ts +9 −10 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkFieldController.ts +4 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkedArtifactTemplate.test.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/NewLinkTemplate.test.ts +2 −2 Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/ParentTracker.ts Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.js +2 −2 Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/VerifyIsTrackerInAHierarchy.ts Go to diff View file
D plugins/tracker/scripts/lib/artifact-modal/tests/stubs/VerifyIsTrackerInAHierarchyStub.ts +0 −29 Go to diff View file