Skip to content

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 to locked_warning component
  • Use issuableType in error message
  • Update message cf. !104091 (comment 1176125343)

Screenshots or screen recordings

Before:

image

After:

image

How to set up and validate locally

Steps to reproduce:

  1. Start editing an epic.
  2. Have someone else (or just you in a different tab?) edit the same epic, and save the changes.
  3. 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.

Related to #224530 (closed)

Edited by Laurent Deketelaere

Merge request reports