stable

Clone or download

Read-only

feat: Show accurate disabling message when creating artifact

How to test: - In your web container, enable the feature flag: `tuleap config-set feature_flag_create_artifact 1` - Edit an artifact with an artifact link field with the modal (kanban, TTM or planning view) - Click on the "Create a new artifact" button in the link selector dropdown. - While loading the projects and trackers, the modal "Submit" button is still disabled. - Choose a Project and a Tracker in the select boxes. - Write a title and click on the "Create" button in the inline form. The modal "Submit" button should be disabled while the creation requests are ongoing. The message explains that it's disabled because the artifact creation is ongoing. part of story #28823 [modal] create artifact Change-Id: I055d9cb07628eee679286eb96de0732afe4615d3

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/po/fr_FR.po +5 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/po/pt_BR.po +3 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/creation/ArtifactCreatorElement.test.ts +0 −19 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/creation/ArtifactCreatorElement.ts +31 −28 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/creation/ArtifactCreatorController.test.ts +56 −23 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/creation/ArtifactCreatorController.ts +35 −25 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/gettext-catalog.ts +2 −0 Go to diff View file