stable

Clone or download

Read-only

refactor: reuse cross ref object for LinkedArtifact

part of story #24969 [modal] add and remove links (replace current artifact link) No functional change expected: existing links still show their colored cross-ref in the link field table. This fixes the "Mark for removal" button that was broken. Change-Id: I5225e6c5832d37d0aaa32c15786ebf86603e438f

Modified Files

Name
D plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/APILinkedArtifact.ts +0 −32 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/LinkedArtifactIdentifierProxy.test.ts +3 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/LinkedArtifactIdentifierProxy.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/LinkedArtifactProxy.test.ts +7 −11 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/LinkedArtifactProxy.ts +13 −16 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/TuleapAPIClient.test.ts +8 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/TuleapAPIClient.ts +3 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkField.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkedArtifactPresenter.test.ts +4 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkedArtifactTemplate.test.ts +4 −6 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkedArtifactTemplate.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/LinkedArtifact.ts +3 −7 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/LinkedArtifactStub.ts +3 −4 Go to diff View file