Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Properties

Target release

Q2 2020

Epic

https://mattermost.atlassian.net/browse/MM-20775

Edition

E10E20

Document status

Status
50%
colourYellowGreen
title99%

Community Server Channel

EE: Group Mentions

Document owner

Dennis Kittrell (Deactivated)

Designer

Michael Gamble (Deactivated)

Tech lead

Scott Bishel

Technical writers

Justine Geffen (Deactivated)

QA

Rohitesh Gupta (Deactivated)

OKR

Continue to add high priority business improvements for enterprise customers.

Request (CR)

https://mattermost.atlassian.net/browse/CR-4

Request (other)

Design Spec

Design Spec - Group Mentions & Invites

Technical Spec

Tech Spec - Group Mentions & Invites(LDAP)

Test Plan

Test Plan - Group Mentions MVP

Objective

Group objects (whether native or AD/LDAP) are valuable as referenced objects in communication. Groups of people, whether departments, roles, owners, etc. can be needed in a discussion or channel for collaboration purposes. This feature aims to provide that value by enabling group mentions /invites on a per group basis (opt-in).

Background

Groups exists via AD/LDAP sync and native, self-defined MM groups are being considered as a standalone feature. Referencing these groups for purposes of at-mentions and invites of users is demanded and expected by MM users and administrators.

There is currently a plugin that was built to accomplish several of the user scenarios: https://github.com/mattermost/mattermost-plugin-autolink

Success metrics

Goal

Metric

Build a useful feature that enables messaging and inviting alerting/notifying groups of users with a single command

  • 100% of customers who requested this feature confirm that this is what they want

  • 75% of MM customers with telemetry have at least some daily references mentions to group objects groups

User Scenarios

  • Members (not guests) of any channel can @mention groups of users (e.g. @infosec or @finance)

  • Members (not guests) can /invite any of those same groupsMembers want to mention users in a specific channel that are also in a specific group

  • Admins can choose which groups are available to be referenced

  • Members can manage notifications for groups mentions (TBD)

  • Admins can restrict disabling of notifications (TBD)be mentioned

  • System Admin - To be edit / modify the group mention name

  • Channel Member - I’d like to see any group mentions in the “@ - Recent Mentions“ search filter in the top bar

Assumptions

Phases & Milestones

Roadmap Planner
maplinks
timelinetrue
pagelinks
source%7B%22title%22%3A%22Roadmap%20Planner%22%2C%22timeline%22%3A%7B%22startDate%22%3A%222020-0102-15%2000%3A00%3A00%22%2C%22endDate%22%3A%222020-0605-01%2000%3A00%3A00%22%2C%22displayOption%22%3A%22MONTH%22%7D%2C%22lanes%22%3A%5B%7B%22title%22%3A%22Design%22%2C%22color%22%3A%7B%22lane%22%3A%22%23f6c342%22%2C%22bar%22%3A%22%23fadb8e%22%2C%22text%22%3A%22%23594300%22%2C%22count%22%3A1%7D%2C%22bars%22%3A%5B%7B%22rowIndex%22%3A0%2C%22startDate%22%3A%22202015%2000%3A00%3A00%22%2C%22displayOption%22%3A%22MONTH%22%7D%2C%22lanes%22%3A%5B%7B%22title%22%3A%22Design%22%2C%22color%22%3A%7B%22lane%22%3A%22%23f6c342%22%2C%22bar%22%3A%22%23fadb8e%22%2C%22text%22%3A%22%23594300%22%2C%22count%22%3A1%7D%2C%22bars%22%3A%5B%7B%22rowIndex%22%3A0%2C%22startDate%22%3A%222020-02-04%2017%3A35%3A02%22%2C%22id%22%3A%22ab2a761323%2009%3A30%3A17%22%2C%22id%22%3A%22ab2a7613-06e4-44e8-ab2a-b28bccb9f48e%22%2C%22title%22%3A%22UX%20Review%22%2C%22description%22%3A%22%22%2C%22duration%22%3A0b28bccb9f48e%22%2C%22title%22%3A%22UX%20Review%22%2C%22description%22%3A%22%22%2C%22duration%22%3A1.6633663366336634%2C%22pageLink%22%3A%7B%7D%7D%5D%7D%2C%7B%22title%22%3A%22Develop%22%2C%22color%22%3A%7B%22lane%22%3A%22%233b7fc4%22%2C%22bar%22%3A%22%236c9fd3%22%2C%22text%22%3A%22%23ffffff%22%2C%22count%22%3A1%7D%2C%22bars%22%3A%5B%7B%22title%22%3A%22iOS%20App%22%2C%22description%22%3A%22This%20is%20the%20third%20bar2277227722772277%2C%22pageLink%22%3A%7B%7D%7D%5D%7D%2C%7B%22title%22%3A%22Develop%22%2C%22color%22%3A%7B%22lane%22%3A%22%233b7fc4%22%2C%22bar%22%3A%22%236c9fd3%22%2C%22text%22%3A%22%23ffffff%22%2C%22count%22%3A1%7D%2C%22bars%22%3A%5B%7B%22title%22%3A%22iOS%20App%22%2C%22description%22%3A%22This%20is%20the%20third%20bar.%22%2C%22startDate%22%3A%222018-07-13%2021%3A23%3A10%22%2C%22duration%22%3A2.5%2C%22rowIndex%22%3A1%2C%22id%22%3A%22dd93afcd-2704-4253-adb8-809a336cc5ba%22%2C%22pageLink%22%3A%7B%7D%7D%2C%7B%22rowIndex%22%3A1%2C%22startDate%22%3A%222018-10-10%2004%3A59%3A24%22%2C%22id%22%3A%228dc8bc2d-b7cb-44a8-b526-7d1ede51f690%22%2C%22title%22%3A%22Android%22%2C%22description%22%3A%22%22%2C%22duration%22%3A2.4752475247524752%2C%22pageLink%22%3A%7B%7D%7D%2C%7B%22rowIndex%22%3A0%2C%22startDate%22%3A%222020-0203-15%2008%3A33%3A16%22%2C%22id%22%3A%22385b2ac714%2013%3A07%3A07%22%2C%22id%22%3A%22385b2ac7-b90d-49c4-ab8b-45c3c88ac67c%22%2C%22title%22%3A%22Development%22%2C%22description%22%3A%22%22%2C%22duration%22%3A1%2C%22pageLink%22%3A%7B%7D%7D%2C%7B%22rowIndex%22%3A1%2C%22startDate%22%3A%22202045c3c88ac67c%22%2C%22title%22%3A%22Development%22%2C%22description%22%3A%22%22%2C%22duration%22%3A1.5445544554455446%2C%22pageLink%22%3A%7B%7D%7D%2C%7B%22rowIndex%22%3A1%2C%22startDate%22%3A%222020-0204-29%2003%3A19%3A36%22%2C%22id%22%3A%22ad1e8c3810%2019%3A14%3A51%22%2C%22id%22%3A%22ad1e8c38-fbbd-4a72-b353-45c6d4e65ab6%22%2C%22title%22%3A%22QA%22%2C%22description%22%3A%22%22%2C%22duration%22%3A1%2C%22pageLink%22%3A%7B%7D%7D%2C%7B%22rowIndex%22%3A2%2C%22startDate%22%3A%222020-0304-04%2023%3A45%3A44%22%2C%22id%22%3A%227d53830422%2002%3A08%3A19%22%2C%22id%22%3A%227d538304-7206-49ff-9c99-bcc52d33c95c%22%2C%22title%22%3A%22Documentation%22%2C%22description%22%3A%22%22%2C%22duration%22%3A1.118811881188119%2C%22pageLink%22%3A%7B%7D%7D%5D%7D%5D%2C%22markers%22%3A%5B%7B%22title%22%3A%22Milestone%201%22%2C%22markerDate%22%3A%222018-07-31%2016%3A38%3A01%22%7D%2C%7B%22markerDate%22%3A%222018-10-08%2001%3A25%3A32%22%2C%22title%22%3A%22Go%2FNo%20go%22%7D%2C%7B%22markerDate%22%3A%222018-12-31%2001%3A54%3A03%22%2C%22title%22%3A%22Milestone%202%22%7D%2C%7B%22markerDate%22%3A%222020-03-16%2015%3A40%3A59%22%2C%22title%22%3A%225.22%20CF%22%7D%2C%7B%22markerDate%22%3A%222020-01-16%2008%3A19%3A00%22%2C%22title%22%3A%225.20%20CF%22%7D%2C%7B%22markerDate%22%3A%222020-05-16%2000%3A57%3A01%22%2C%22title%22%3A%225.24%20CF%22%7D%5D%7D
titleRoadmap%20Planner
hashaa0ccf96138d83c7ad7448f911135d5527df426b0464b739e66a5ecb084f92b5

Areas Touched

...

  • System Console UI (Channel Group Configuration page and permissions)

  • Chat-facing UI

  • LDAP Groups

  • Desktop/Mobile Apps

Requirements

510

Requirement

User Story

Importance

Direct Design Link

Jira Issue

1

new permission to group mention - off for guests

2

add group section to autocomplete and add slugs

3

if 2 groups of same name, with group mentions enabled we notify everyone in both groups

4

autosuggest

As a user, I want to be able to distinguish between a user and a group in autosuggest dialogue, so that I can more easily reference the users I intend to

Status
colourYellow
titleMEDIUM

2

Allow members to @mention groups by their group name (slug is auto-generated)

As a user, I want the ability to @mention entire groups and push a notification to that group, so that I can better collaborate with groups of people

Status
colourRed
titleHIGH

https://mattermost.atlassian.net/browse/MM-23017

63

Add group names slugs to autocomplete suggestions on invite and mention screens

As a user, I want automated suggestions for groups as a type, so that I can more easily find the group I am looking to reference

Status
colourYellow
titleMEDIUM

https://mattermost.atlassian.net/browse/MM-23016

74

Ability for admins to turn on/off @mentions for specified groups (off by default)

 As an admin, I want the ability to opt-in to toggle the above setting on and off for each group, so that I can selectively choose which groups can mentioned

Status
colourYellow
titleMEDIUM

https://mattermost.atlassian.net/browse/MM-23015

85

If within a team or channel is group constrained, only autosuggest groups who are available in that team or channel, auto-complete only shows groups that are available in that team or channel

As a user, I want to be sure that the groups I am mentioning are available in the team and channel I am posting in, so that I do not mention groups that cannot view my post

Status
colourYellow
titleMEDIUM

6

If the team and channel are not group constrained, all groups with the toggle enabled are mentionable

Status
colourGreenYellow
titleLOWMEDIUM

97

confirmation modal before sending to x number of 5 or more users (add to setting for @mentioning groups) - same threshold as @here and @all

As a user, I want to be alerted before I alert a large number of users, so that I can reassess the impact of my action

Status
colourGreen
titleLOW

https://mattermost.atlassian.net/browse/MM-23264

8

system message notifying user that some users were not members of the channel with option to invite

As a user, I want to be made aware if members of the group I am mentioning are not members of the channel (and won’t be alerted from my mention), so that I can choose to invite them.

Status
colourGreen
titleLOW

9

Ability to rename group slug

As an admin, I want the ability to rename the group slug, so that I can maximize group mentions usability for my users

Status
colourYellow
titleMEDIUM

https://mattermost.atlassian.net/browse/MM-23754 (DESIGN)

https://mattermost.atlassian.net/browse/MM-23816

10

Convert group config to draft / save style (like permissions scheme)

In order to rename slugs we need draft state

Status
colourYellow
titleMEDIUM

https://mattermost.atlassian.net/browse/MM-23816

11

Duplicate detection for groups when slug is created

As an admin, I want to be sure there are no conflicts of group slugs when I am enabling or renaming group slugs, so that I can be sure my users can easily mention the intended group

Status
colourYellow
titleMEDIUM

Figma

https://mattermost.atlassian.net/browse/MM-23816

12

Team Member - setting in “Account Settings > Notifications” to add/remove my group slugs to the search filter in the “@ - Recent Mentions“ - Default Enabled
removed from scope - without granular selection of group notifications, this could potentially render the Recent Mentions feature useless. We will revisit Post MVP - https://mattermost.atlassian.net/browse/MM-23519

As a group member, I want to see my groups' mentions in the recent mentions search query, so that I can easily find past notifications intended for me.

Status
colourYellow
titleMEDIUM

https://mattermost.atlassian.net/browse/MM-23912 (MOBILE)

https://mattermost.atlassian.net/browse/MM-23815

13

Highlighting

  • All valid mentions (triggering any notifications) are blue text (unless mentions are disabled for the channel as a permission)

  • All mentions that trigger a notification for YOU (the user viewing the post) would be blue text AND highlighted in yellow - as an identifier of what mentions in the post triggered the notification for the user.

As a user, I want to easily identify which group mentions triggered notifications for others, so that I can accurately assess who likely saw or will soon see a message.

As a user, I want to easily identify which group mentions were directed to me (and triggered notifications for me) so that I can quickly find content others want me to focus on.

Status
colourYellow
titleMEDIUM

https://mattermost.atlassian.net/browse/MM-24632

https://mattermost.atlassian.net/browse/MM-24633

Open Questions

Question

Answer

Date Answered

Does it make sense to allow this include role @mentions or invites? Such as @system admin or @moderator, etc?

This is out of scope for MVP

How do we prevent disruptive invitations to a channel when attempting to mention users?

This will not be answered in MVP. We need to determine if this is a real problem through user feedback.

If I’m inviting a group name, and I can’t see the individuals / who’s in it - is this useful / would I use it?

Risks

  • disruptive invitations to a channel when attempting to mention users

  • security issue if we reveal users in specific groups

  • group invites may be limited by the current invite architecture having a max limit of invites sent at once (not batched on the backend)

  • group invites will have challenges with the current invite modal UX possibly feeling overwhelming in two ways, first will having a huge quantity of chips in the input field feel ok? second, will having a large number of invites listed in the confirmation screen feel ok?

Out of Scope / Deferred

  • secret Secret groups - groups that can be mentioned only and if no one from the group is in the channel, nothing happens (potentially with preview before joining)

  • Ability for users to ignore group mentions at per channel level

  • remove add/invite people to channel modal

  • show group mentions in Recent mentions

  • Dup detection of group slugs

  • Specific Permission to allow mentioning Groups

  • Ability for users to mute or turn off notifications from group mentions

  • Ability for admins to restrict disabling of notifications for specific groupsAllow members to /invite groups by their group name

  • System Admin ability to explicitly make a group available for invites - should only approach if comes in a request

  • System Admin ability to configure number of notifications that would trigger a warning dialogue prior to posting a group mention

  • Ability to invite groups to the team using the “invite people” flow ** For this item please note the third and fourth item under “Risks”

  • Channel Admin ability to granularly control which members can use group mentions (as part of Channel Moderation)

  • Show group member count in the group mention autocomplete

  • Ability to invite a group using the /invite command (or something similar)

  • Accurate count of how many people will be notified in how many different timezones when sending group notification

  • Quick invite option for channel member who mentions a group with no members currently on the team

  • Ability for channel member to specify which groups they will be notified for (account settings level)

    • This will allow display of group mentions in “Recent Mentions” area

  • Updated design for group configuration - group profiles needs improvement

  • Updated icons for groups

  • Make group mentions linkable (click a link and see a profile card? Maybe see who’s in the group?

  • Group filter for bulk enabling mentions (As an admin, I want to enable group mentions in bulk, so that I don’t have to tediously enable each group one by one)