stable

Clone or download

Read-only

refactor: Use Option for Current artifact id

No functional change expected when using the modal in creation mode (no current artifact id) or in edition mode. part of request #31206 Use Option in the artifact modal Change-Id: I21cd6be3a0b00972e2db3ba42e15700f6f976993

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/Caller/CurrentArtifactIdentifierProxy.test.ts +7 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/Caller/CurrentArtifactIdentifierProxy.ts +5 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/TuleapAPIClient.test.ts +18 −10 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/TuleapAPIClient.ts +4 −6 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/fields/link-field/LinkableArtifactRESTFilter.test.ts +38 −32 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/fields/link-field/LinkableArtifactRESTFilter.ts +7 −5 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkFieldController.test.ts +0 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkFieldController.ts +1 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkedArtifactTemplate.test.ts +0 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/NewLinkTemplate.test.ts +0 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/dropdown/ArtifactLinkSelectorAutoCompleter.test.ts +8 −7 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/dropdown/ArtifactLinkSelectorAutoCompleter.ts +3 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/dropdown/LinkableNumberProxy.test.ts +5 −5 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/dropdown/LinkableNumberProxy.ts +8 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/ArtifactCrossReference.test.ts +2 −11 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/ArtifactCrossReference.ts +9 −12 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/LinksRetriever.test.ts +14 −8 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/LinksRetriever.ts +24 −23 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/RetrieveAllLinkedArtifacts.ts +2 −5 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.js +7 −8 Go to diff View file