Improve error message when providing an invalid deploy key
What does this MR do and why?
This MR improves the error message when providing an invalid deploy key by using a single succinct error message when a deploy key is invalid, instead of returning all validation errors.
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Visit http://localhost:3000/flightjs/Flight/-/settings/repository
- Under "Deploy keys", add a title and put any bogus text for the key
- Click "Add Key"
- View the new flash popup message
- Confirm the help link opens a new window to the SSH key page
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #23277 (closed)
Edited by Shinya Maeda