stable
Clone or download
Read-only
It also display the tooltip which explains why the user cannot create. How to test: - make sure to have the feature flag enabled: `tuleap config-set feature_flag_create_artifact 1` - display the artifact modal and display the create new artifact form in the artfact link field - select a project - open the list picker which contains the trackers => If user caanot create an artifact in the tracker, the option value is disabled with a tooltip which explains why he cannot create the artifact Part of story #28823 [modal] create artifact Change-Id: I68c843d262ed42d9b478182e0a51adae12e9a509
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/TrackerProxy.ts | +5 | −2 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/TuleapAPIClient.test.ts | +10 | −4 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/TuleapAPIClient.ts | +12 | −8 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/creation/ArtifactCreatorElement.test.ts | +38 | −2 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/creation/ArtifactCreatorElement.ts | +31 | −1 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/creation/_artifact-creator.scss | +15 | −0 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/domain/Tracker.ts | +2 | −0 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/creation/ArtifactCreatorController.test.ts | +12 | −2 | Go to diff View file |
M | plugins/tracker/scripts/lib/rest-api-types/src/trackers.ts | +4 | −0 | Go to diff View file |