Global Ajax error handler
What does this MR do?
Introduces a new global Ajax error handler to show a flash warning about the error detail of XHR requests which failed with status code 404 and 500
Are there points in the code the reviewer needs to double check?
Double check the wording.
Why was this MR needed?
A global solution for the problem in the #17880 (closed)
What are the relevant issue numbers?
Fixes #17880 (closed)
Screenshots (if relevant)
For requests failed with 404 - 500
For requests failed with 401
Merge request reports
Activity
mentioned in issue #17880 (closed)
Reassigned to @fatihacet
@fatihacet UX wise I think the text that looks like a link might not work. Maybe an
i
icon that is hoverable. The link looks clickable.Edited by Jacob SchatzAdded 83 commits:
- 84da0d9b...5804b6a0 - 82 commits from branch
master
- 0e8390bd - Added global ajax error handler to show a flash notification for failed requests.
- 84da0d9b...5804b6a0 - 82 commits from branch
@jschatz1 I removed the
more information
link and thei
icon as we discussed in Slack. Also I added a handler for 401 requests. See the screenshot in the MR description.Reassigned to @jschatz1
Reassigned to @fatihacet
Milestone changed to %8.10
Reassigned to @jschatz1
@fatihacet What happens to all the other errors that already exist?
Edited by Jacob SchatzReassigned to @fatihacet
Reassigned to @dzaporozhets