Display an error within Apply suggestion box when failed to load diff metadata
What does this MR do and why?
Fixes #324740 (closed)
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Example below:
- Visit an MR that has a comment with code suggestions
- Block the request to the
diffs_metadata.json
on that page - Reload the page
- Click on
Apply suggestion
- An error message notice should appear within the
Commit message
box
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.
Edited by Stanislav Lashmanov