stable

Clone or download

Read-only

feat: Clear selected tracker when invalid

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. - The current tracker should be selected in the trackers list, unless user cannot create artifacts with just the title in it. In that case, it is disabled in the list of trackers and not selected in the controller. part of story #28823 [modal] create artifact Change-Id: I42fa65a2e746f8ba2811d52cb1c5315d5bca5898

Modified Files

Name
M lib/frontend/option/README.md +14 −0 Go to diff View file
M lib/frontend/option/src/Option.test-d.ts +31 −0 Go to diff View file
M lib/frontend/option/src/Option.test.ts +30 −0 Go to diff View file
M lib/frontend/option/src/Option.ts +38 −26 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/creation/ArtifactCreatorController.test.ts +18 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/creation/ArtifactCreatorController.ts +13 −0 Go to diff View file