stable

Clone or download

Read-only

Retrieve trackers at project selection

Init the retrieving and the displaying of the tracker selector part How to test: - In the artifact modal, go to the `Create new artifact` section - Select a project => The trackers from the seclect project are displayed with their color Notes: - The both does not have exactly the design because the `Project` selector is a clasic `select` HTML element while the `Tracker` selector is a `list picker` - When the form is opened for the first time, the `Project` is selected but the `Trackers` list is empty - When the form is closed, the selected project and tracker are not saved Part of story #28823 [modal] create artifact Change-Id: I1900e66b5de5b60bad612859ff9d81c21b2290f3

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/po/fr_FR.po +9 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/po/pt_BR.po +9 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/TrackerProxy.ts +29 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/TuleapAPIClient.test.ts +49 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/TuleapAPIClient.ts +15 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/creation/ArtifactCreatorElement.test.ts +7 −1 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/creation/ArtifactCreatorElement.ts +71 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/creation/FaultDisplayer.test.ts +5 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/creation/FaultDisplayer.ts +10 −1 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/creation/ProjectIdentifierTrackerCreationProxy.test.ts +58 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/creation/ProjectIdentifierTrackerCreationProxy.ts +32 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/creation/_artifact-creator.scss +9 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/domain/Tracker.ts +23 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/creation/ArtifactCreatorController.test.ts +39 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/creation/ArtifactCreatorController.ts +24 −1 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/creation/ProjectTrackersRetrievalFault.ts +25 −0 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/creation/RetrieveProjectTrackers.ts +27 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/gettext-catalog.ts +5 −0 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
A plugins/tracker/scripts/lib/artifact-modal/tests/stubs/RetrieveProjectTrackersStub.ts +39 −0 Go to diff View file