DAST Site profile - Form MVC - Add edit capability - Frontend
- Related issue: #227244 (closed)
What does this MR do?
This adds the ability to edit DAST site profiles.
Screenshots
Context | Recording |
---|---|
Clicking on cancel if a field was changed shows a confirmation modal. The modal does not appear if the fields are restored to their original state. | discard_changes |
Confirming the cancel modal brings the user back to the profiles library. | discard_changes_confirm |
If an error occurs when saving the profile, an alert is shown below the title. | save_error |
If the profile was saved successfully, the user is redirected to the profiles library. | save_success |
Generic error when the profile could not be saved
Cancel modal
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry
- [-] Documentation (if required)
-
Code review guidelines - [-] Merge request performance guidelines
-
Style guides - [-] Database guides
-
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. - [-] Tested in all supported browsers
- [-] Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Edited by Paul Gascou-Vaillancourt