Resolve "Update UI text in locked and confidential warnings"

What does this MR do and why?

Updates UI copy for warnings tied to the comment form to remove references to type and "project". This resolves 2 bugs: one where Incidents weren't passing a type, leading to blank spaces; one where Epic locked message noted "project members" despite being in a group. In this case we can clearly communicate the intent without specifying namespace or item type, which also makes this easier to translate effectively.

References

Screenshots or screen recordings

Case Before After
Confidential image.png image.png
Locked image.png image.png
Both image.png image.png

How to set up and validate locally

  1. Open any issue, incident, epic, task, or merge request
  2. (Except MR) Turn on confidentiality, scroll to view the comment box
  3. Lock discussion, confirm text updates correctly
  4. Turn off confidentiality but remain locked, confirm text updates correctly

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #537235 (closed)

Edited by Nick Leonard

Merge request reports

Loading