stable

Clone or download

Read-only

chore: drop v2 suffix and clean up

part of story #24969 [modal] add and remove links (replace current artifact link) No functional change expected in the artifact link field in the artifact modal. Notes: this also drops no-longer used functions from rest-service and drops some unused value "formatting". Change-Id: I0a32fabf94ae5dd091a1a40ff5eca40bf05a513f

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/Memory/LinksMarkedForRemovalStore.ts +4 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/Memory/LinksStore.ts +3 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/Memory/NewLinksStore.ts +4 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/Memory/PossibleParentsCache.test.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/Memory/PossibleParentsCache.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/Memory/SelectedLinkTypeStore.test.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/Memory/SelectedLinkTypeStore.ts +3 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/LinkFieldValueFormatter.test.ts +3 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/LinkFieldValueFormatter.ts +4 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/LinkableArtifactProxy.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/LinkedArtifactIdentifierProxy.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/LinkedArtifactProxy.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/NewChangesetLinkProxy.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/TuleapAPIClient.test.ts +5 −22 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/TuleapAPIClient.ts +12 −18 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/feedback/FaultFeedbackPresenter.test.ts +3 −3 Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/AddLinkButtonTemplate.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/AddLinkButtonTemplate.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/ArtifactLinkSelectorAutoCompleter.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/ArtifactLinkSelectorAutoCompleter.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/CollectionOfAllowedLinksTypesPresenters.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/CollectionOfAllowedLinksTypesPresenters.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkAdditionPresenter.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkAdditionPresenter.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkField.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkField.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkFieldController.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkFieldController.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkFieldPossibleParentsGroupsByProjectBuilder.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkFieldPossibleParentsGroupsByProjectBuilder.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkFieldPresenter.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkFieldPresenter.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkSelectorItemProxy.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkSelectorItemProxy.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkTypeProxy.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkTypeProxy.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkableArtifactTemplate.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkableArtifactTemplate.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkableNumberProxy.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkableNumberProxy.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkedArtifactCollectionPresenter.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkedArtifactCollectionPresenter.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkedArtifactPresenter.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkedArtifactPresenter.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkedArtifactTemplate.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkedArtifactTemplate.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkedArtifactsPopoversController.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/LinkedArtifactsPopoversController.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/MatchingArtifactsGroup.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/MatchingArtifactsGroup.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/NewLinkCollectionPresenter.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/NewLinkTemplate.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/NewLinkTemplate.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/PossibleParentsGroup.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/PossibleParentsGroup.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/TypeSelectorTemplate.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/TypeSelectorTemplate.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/link-field-v2.scss Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/AddLinkMarkedForRemoval.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/AddLinkedArtifactCollection.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/AddNewLink.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/AlreadyLinkedVerifier.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/AlreadyLinkedVerifier.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/DeleteLinkMarkedForRemoval.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/DeleteNewLink.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/LinkRetrievalFault.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/LinkType.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/LinkType.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/LinkableArtifact.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/LinkableArtifactFilter.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/LinkableArtifactFilter.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/LinkableNumber.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/LinkedArtifact.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/LinksRetriever.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/LinksRetriever.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/MatchingArtifactRetrievalFault.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/NewArtifactLinkIdentifier.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/NewArtifactLinkIdentifier.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/NewLink.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/NewLink.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/NoLinksInCreationModeFault.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/ParentLinkVerifier.test.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/ParentLinkVerifier.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/PossibleParentsRetrievalFault.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/RetrieveAllLinkedArtifacts.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/RetrieveLinkTypes.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/RetrieveLinkedArtifactsByType.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/RetrieveLinkedArtifactsSync.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/RetrieveMatchingArtifact.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/RetrieveNewLinks.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/RetrievePossibleParents.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/RetrieveSelectedLinkType.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/SetSelectedLinkType.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/VerifyHasParentLink.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/VerifyIsAlreadyLinked.ts Go to diff View file
R plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field-v2/VerifyLinkIsMarkedForRemoval.ts Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/link-field/link-field-initializer.js +20 −11 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/model/field-values-formatter.js +1 −5 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/model/field-values-formatter.test.js +10 −8 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/rest/rest-service.test.ts +1 −132 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/rest/rest-service.ts +6 −41 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal-controller.js +6 −6 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.js +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.scss +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.tpl.html +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/AddLinkMarkedForRemovalStub.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/AddLinkedArtifactCollectionStub.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/AddNewLinkStub.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/ControlLinkedArtifactsPopoversStub.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/DeleteLinkMarkedForRemovalStub.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/DeleteNewLinkStub.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/LinkTypeStub.ts +2 −5 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/LinkableArtifactStub.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/LinkableNumberStub.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/LinkedArtifactIdentifierStub.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/LinkedArtifactStub.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/NewLinkStub.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/RetrieveAllLinkedArtifactsStub.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/RetrieveLinkTypesStub.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/RetrieveLinkedArtifactsByTypeStub.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/RetrieveLinkedArtifactsSyncStub.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/RetrieveMatchingArtifactStub.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/RetrieveNewLinksStub.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/RetrievePossibleParentsStub.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/RetrieveSelectedLinkTypeStub.ts +2 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/SetSelectedLinkTypeStub.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/VerifyHasParentLinkStub.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/VerifyIsAlreadyLinkedStub.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/tests/stubs/VerifyLinkIsMarkedForRemovalStub.ts +1 −1 Go to diff View file