stable

Clone or download

Read-only

feat: Have links and popovers for reverse links

part of story #24969 [modal] add and remove links (replace current artifact link) How to test: - Edit an artifact linked by several others --> There are button links [remove] --> When you hover them, a popover invites you to open the artifact to remove the link by yourself --> When you click them, a tab opens and displays the artifact view Change-Id: I03c7db4170be1b2f6a84c661588332d9626af9d6

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/po/fr_FR.po +6 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/po/pt_BR.po +6 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/AddLinkButtonTemplate.test.ts +3 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkField.ts +27 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkFieldController.test.ts +3 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkFieldController.ts +11 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkedArtifactTemplate.test.ts +14 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkedArtifactTemplate.ts +60 −3 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkedArtifactsPopoversController.test.ts +52 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkedArtifactsPopoversController.ts +45 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/NewLinkTemplate.test.ts +3 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/TypeSelectorTemplate.test.ts +3 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/link-field-v2.scss +11 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/gettext-catalog.ts +3 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.js +3 −1 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/tests/stubs/ControlLinkedArtifactsPopoversStub.ts +28 −0 Go to diff View file