# Avoid notification warning

**URL:** https://meta.discourse.org/t/avoid-notification-warning/48303
**Category:** Feature
**Created:** [August 7, 2016, 1:11am UTC](https://meta.discourse.org/t/avoid-notification-warning/48303 "2016-08-07T01:11:37Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![mrjn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mrjn/32/121540_2.png) [@mrjn](https://meta.discourse.org/u/mrjn)
#### Post date: [August 7, 2016, 1:11am UTC](https://meta.discourse.org/t/avoid-notification-warning/48303/1 "2016-08-07T01:11:37Z")

</div>

Hey guys,

We use Discourse for all internal communication at Dgraph. When composing posts, a lot of times I have to tag the team members using an internal group. But, Discourse then shows a warning blocking the preview pane that _you’re going to notify X members, are you sure?_ Is there a way to avoid having that warning entirely?

Similarly, for topic similarity warning, is there a way to automatically time it out? Say after 10 seconds or so, it can just disappear, instead of having to manually close it to see the preview?

Thanks!

Cheers,  
Manish

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [August 7, 2016, 5:15am UTC](https://meta.discourse.org/t/avoid-notification-warning/48303/2 "2016-08-07T05:15:41Z")

</div>

To me this sounds more like a #Contribute > Feature or #Contribute > UX request than #Support, but I’ll leave that to the team to decide.

Some thoughts:

- Do you want the warning to disappear entirely, for all group mentions, or something else? I could see the warning removed for staff users, or an option via group settings to not warn when mentioning a specific group…
- I don’t like the idea of an auto-timeout, at least as a default setting. I can see it taking 10 seconds or more to review the similar topics listed and think about if your new topic fits, but it will disappear and no way to re-trigger it exists at the moment.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [August 7, 2016, 5:34am UTC](https://meta.discourse.org/t/avoid-notification-warning/48303/3 "2016-08-07T05:34:38Z")

</div>

What do you favor here @sam? What is easiest to implement?

---

<div class="post-metadata">

### Author: ![mrjn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mrjn/32/121540_2.png) [@mrjn](https://meta.discourse.org/u/mrjn)
#### Post date: [August 7, 2016, 5:42am UTC](https://meta.discourse.org/t/avoid-notification-warning/48303/4 "2016-08-07T05:42:06Z")

</div>

For the group warning, if I’m a member of the group, ideally we dispose off the warning completely. Possibly one could set a threshold, so if you are going to notify over N folks, that’s when the warning gets triggered.

I think for auto timeout, the timeout duration could be configurable. Most of the times, it isn’t as useful. But when it is, it’s very quickly obvious. Typically the first result is the right topic. But it’s def a distraction when composing the post, all the time.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [August 8, 2016, 5:51pm UTC](https://meta.discourse.org/t/avoid-notification-warning/48303/5 "2016-08-08T17:51:00Z")

</div>

We show certain introductory JIT notifications only to new users a certain number of times. In a similar fashion, after showing a certain type of notification a few times, maybe we could start showing it truncated by default, like so:

 ![](https://global.discourse-cdn.com/meta/original/3X/2/b/2b5ccf38f0d609155d8b5b2386fd24cfb2f95a30.png)

You’d click to expand. If we wanna get _real_ fancy we could even have some sort of tabs system for this, so that in those rare cases when there are multiple notifications at play, they don’t overlap, but instead they’re stacked in a row (until they exceed the width at which point the rest will be hidden, which will almost never happen because you’d need at least more than 2 notification “tabs” to run out width).

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [August 8, 2016, 10:30pm UTC](https://meta.discourse.org/t/avoid-notification-warning/48303/6 "2016-08-08T22:30:14Z")

</div>

I was thinking more that we suppress it entirely via a group boolean checkbox for now. Whatever is easiest.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [August 9, 2016, 12:47am UTC](https://meta.discourse.org/t/avoid-notification-warning/48303/7 "2016-08-09T00:47:40Z")

</div>

One thing we should do here for sure is give different CSS classes to various warnings.

At the moment it has `.composer-popup-container .custom-body` we should be able to target this better with say `.composer-popup-container .custom-body.group-mention`

Slack have these options:

 ![](https://global.discourse-cdn.com/meta/original/3X/8/5/85ac23c26f10467b95ab01d64a910fd3b4c29d4f.png)

I think what @mrjn is proposing here is even higher fidelity.

Perhaps our first move here is to add better CSS classes. EG: for this case `.group-mention.group-member`

---

<div class="post-metadata">

### Author: ![mrjn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mrjn/32/121540_2.png) [@mrjn](https://meta.discourse.org/u/mrjn)
#### Post date: [September 16, 2016, 2:32am UTC](https://meta.discourse.org/t/avoid-notification-warning/48303/8 "2016-09-16T02:32:33Z")

</div>

Hey guys,

Any updates on this?
