stable

Clone or download

Read-only

feat: prevent user to search the current artifact

In edition mode, the user should not be able to search artifacts by providing the current artifact id. part of: story #24969 [modal] add and remove links (replace current artifact link) How to test: - In an edition context, open the link selector and type the current artifact id in the search field --> Nothing happens Change-Id: If4e80cee03b85e2331d992e9efeddc233bbff4f0

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/ArtifactLinkSelectorAutoCompleter.test.ts +6 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/ArtifactLinkSelectorAutoCompleter.ts +7 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkFieldController.test.ts +2 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkableArtifactIdentifierProxy.test.ts +12 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkableArtifactIdentifierProxy.ts +6 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkedArtifactTemplate.test.ts +4 −2 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