Rename security dashboard graphql error alert
What does this MR do and why?
Related #396270 (closed)
This renames the error message shown in the alert one gets when an error occurs with the graphql api call to be less confusing and more generic. Original discussion and reasoning can be found in the issue #396270 (closed).
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Prerequisites
- You need an EE license
- You need to have runners enabled (See $2408961 for setting up a runner)
- Import https://gitlab.com/gitlab-examples/security/security-reports
- Run a pipeline on master
Validate
- go to http://gdk.test:3000/-/security/dashboard/settings and make sure the security reports project is added
- go to http://gdk.test:3000/-/security/dashboard
- in dev tools > network, go to any graphql api call, right-click and select block url
- refresh page and validate that the new error message is shown
Edited by Lorenz van Herwaarden