Skip to content

Ability to disable at all notifications through a feature flag

Donald Cook requested to merge 18442-new-features-for-mentions into master

What does this MR do and why?

Related to #18442 (closed).

This MR introduces a new feature flag disable_all_mention to allow GitLab administrators to disable the at all mention for their instances.

How to set up and validate locally

  1. First verify that the all mention is continuing to work.

Screen_Recording_2023-06-09_at_14.33.35

  1. To test disabling the all mention, enable the added feature flag disable_all_mention.

Note that

  • disabling does not immediately convert the existing all mentions back to plain texts because the markdown renderings are cached in the database.
  • removing the all mention from the autocomplete is planned as MVC2 (please refer to the issue.)
rails c
Feature.enable(:disable_all_mention)

Screen_Recording_2023-06-09_at_14.37.27

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by euko

Merge request reports