Fix LockedWarning error message when epic
What does this MR do and why?
Display correct error message when epic is locked due to edition by someone else. Related to #224530 (closed)
- Add missing
locked_warning_sepc.js
- Add
issuableType
props tolocked_warning
component - Use
issuableType
in error message - Update message cf. !104091 (comment 1176125343)
Screenshots or screen recordings
Before:
After:
How to set up and validate locally
Steps to reproduce:
- Start editing an epic.
- Have someone else (or just you in a different tab?) edit the same epic, and save the changes.
- You'll see a banner warning that you might overwrite their changes.
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 #224530 (closed)
Edited by Laurent Deketelaere