Comment mentions
Since 2017.1, it is possible to use @mentions in review comments. By default, @mentions will auto-complete to all users in the system, but it is possible to fine tune this behaviour.
You configure the behaviour of @mentions in comments with the mentions configuration block in the SWARM_ROOT/data/config.php file. Here is an example:
<?php
'mentions' => array(
'mode' => 'global',
'usersBlacklist' => array('super', 'swarm-admin'),
),
-
modeThis can be one of
global,projectsordisabled, and controls the scope of the auto-complete dropdown that is shown when the user starts typing an @mention in a comment. global will display all users in the system,projectswill only display project members in the auto-complete list, anddisabledmeans that no auto-complete drop down will be shown. -
usersBlacklistAny users listed here will never appear in the drop down list of auto-suggested users when @mentions are used.






