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 |
![]() |
![]() |
| Locked |
![]() |
![]() |
| Both |
![]() |
![]() |
How to set up and validate locally
- Open any issue, incident, epic, task, or merge request
- (Except MR) Turn on confidentiality, scroll to view the comment box
- Lock discussion, confirm text updates correctly
- 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





