stable

Clone or download

Read-only

feat: Display link types <select>

part of: story #24969 [modal] add and remove links without types How to test: --> There is a select in the new artifact links field footer --> It displays the allowed links types, reverse and forward Change-Id: Ib5b6ee9854b449684ba1669ea880081f9b998e31

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/po/fr_FR.po +4 −1 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/adapters/Caller/TrackerArtifactCrossReferenceProxy.test.ts +46 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/adapters/Caller/TrackerArtifactCrossReferenceProxy.ts +35 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/adapters/Caller/TrackerShortnameProxy.test.ts +27 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/adapters/Caller/TrackerShortnameProxy.ts +28 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/CollectionOfAllowedLinksTypesPresenters.test.ts +67 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/CollectionOfAllowedLinksTypesPresenters.ts +59 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkField.test.ts +3 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkField.ts +13 −6 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/TypeSelectorTemplate.test.ts +90 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/TypeSelectorTemplate.ts +71 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/link-field-v2.scss +2 −4 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/domain/ArtifactCrossReference.ts +22 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/domain/TrackerShortname.ts +22 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/AllowedLinkType.ts +24 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/LinkedArtifact.ts +1 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/gettext-catalog.ts +1 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.js +11 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.test.js +3 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.tpl.html +2 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/tests/stubs/ArtifactCrossReferenceStub.ts +26 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/tests/stubs/TrackerShortnameStub.ts +26 −0 Go to diff View file