Avoid notification warning

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

4 个赞

在我看来,这更像是一个 Contribute > FeatureContribute > UX 的请求,而不是 Support,不过我会让团队来决定。

一些想法:

  • 你是希望警告完全消失,还是仅针对所有群组提及,或是其他情况?我可以看到警告对工作人员用户被移除,或者通过群组设置提供一个选项,以便在提及特定群组时不显示警告……
  • 我不喜欢自动超时的想法,至少作为默认设置。我可以看到需要 10 秒或更长时间来查看列出的相似主题,并思考你的新主题是否合适,但警告会消失,而且目前没有重新触发的方法。
3 个赞

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

2 个赞

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.

1 个赞

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:

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).

5 个赞

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

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:

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

5 个赞

Hey guys,

Any updates on this?