# התראות שמגיבות למשתמש

**URL:** https://meta.discourse.org/t/alerts-that-react-to-the-user/211235
**Category:** Feature
**Created:** [6 בדצמבר,‏ 2021,‏ 2:40pm UTC](https://meta.discourse.org/t/alerts-that-react-to-the-user/211235 "2021-12-06T14:40:49Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![pgr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pgr/32/156783_2.png) [@pgr](https://meta.discourse.org/u/pgr)
#### Post date: [6 בדצמבר,‏ 2021,‏ 2:40pm UTC](https://meta.discourse.org/t/alerts-that-react-to-the-user/211235/1 "2021-12-06T14:40:49Z")

</div>

I’m trying to customize these yellow alerts:

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/d/ad480fdfea65091255bcfe6234795a684a0e1413.png)

Searching these forums, I couldn’t find much… maybe I don’t know how to search, is there a name for these? Yellow alerts? Instructional modals? Big Brother? Obscure-my-preview Esc X bot? 🙂

If the answer is that they’re not customizable, I’m going right in to feature request mode, I see enormous community-training possibilities here, even more than Topic Templates.

The really interesting thing to have would be a model that allows customizing both

- **detection** based on a number of conditions
  - is this a reply or a new topic being started
  - how old is the previous reply
  - is this a new/recent user?
  - free text regexp match (“you mentioned X, please check this helpful link first”)

- **action** like selecting a nice appropriate text for the yellow alert

If it can’t be a plugin, at least a Ruby-code-level customization possibility would be nice.

I see that Discourse itself is already using this effectively in several places, I’d love to be able to use those super-powers for Community-specific things.

---

<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: [6 בדצמבר,‏ 2021,‏ 2:58pm UTC](https://meta.discourse.org/t/alerts-that-react-to-the-user/211235/2 "2021-12-06T14:58:06Z")

</div>

> [@pgr](#):
>
> I’m trying to customize these yellow alerts:

We call them JIT (just in time) notifications. I’m not aware of any docs for them, but this plugin should have an example of how to create a custom JIT notice: [GitHub - discourse/discourse-perspective-api: Google Perspective API Plugin for Discourse · GitHub](https://github.com/discourse/discourse-perspective-api)

---

<div class="post-metadata">

### Author: ![pgr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pgr/32/156783_2.png) [@pgr](https://meta.discourse.org/u/pgr)
#### Post date: [6 בדצמבר,‏ 2021,‏ 3:57pm UTC](https://meta.discourse.org/t/alerts-that-react-to-the-user/211235/3 "2021-12-06T15:57:11Z")

</div>

Ah thanks, you’re right, armed with that “JIT” term I was able to search much more profitably.

I even remembered I had read this old @codinghorror post:

> **[The “Just In Time” Theory of User Behavior](https://blog.codinghorror.com/the-just-in-time-theory/)**
>
> I’ve long believed that the design of your software has a profound impact on how users behave within your software. But there are two sides to this story:
> 
> \* Encouraging the “right” things by making those things intentionally easy to do.
> \*...

I think it makes every bit of sense to **extend that philosophy beyond generic Discourse triggers, into Community-specific behavior**.

What I would give to be able to just nudge people to tell us the freaking software version they’re running while asking for support… I can’t get back the 3.7 years of life already spent typing “what’s your version”, but at least some of my future could look brighter.

Is it just me, or this deserves a user-friendly plug-in, or even a core-UI for the simplest cases (edit the default texts)? Maybe it’s just me.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [6 בדצמבר,‏ 2021,‏ 4:04pm UTC](https://meta.discourse.org/t/alerts-that-react-to-the-user/211235/4 "2021-12-06T16:04:23Z")

</div>

You can customise the text of the existing ones from the `[YourSite]admin/customize/site_texts` page. 👍

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [6 בדצמבר,‏ 2021,‏ 5:37pm UTC](https://meta.discourse.org/t/alerts-that-react-to-the-user/211235/5 "2021-12-06T17:37:00Z")

</div>

Maybe [Using topic templates for categories](https://meta.discourse.org/t/what-are-topic-templates/38295#category-specific-topic-template-1) are an option for you

---

<div class="post-metadata">

### Author: ![pgr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pgr/32/156783_2.png) [@pgr](https://meta.discourse.org/u/pgr)
#### Post date: [6 בדצמבר,‏ 2021,‏ 5:43pm UTC](https://meta.discourse.org/t/alerts-that-react-to-the-user/211235/6 "2021-12-06T17:43:36Z")

</div>

> [@pgr](#):
>
> I see enormous community-training possibilities here, even more than Topic Templates.

Thanks, I’m on to that already ☝ and yes, I see them as a piece of the same puzzle

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [6 בדצמבר,‏ 2021,‏ 6:38pm UTC](https://meta.discourse.org/t/alerts-that-react-to-the-user/211235/7 "2021-12-06T18:38:55Z")

</div>

For the device/version issue, some people have found the [reply templates](https://meta.discourse.org/t/discourse-reply-template-component/162373) useful, and others have used the [reply-by-url](https://meta.discourse.org/t/how-to-create-a-new-topic-link-with-pre-filled-information/28074) feature to prefill some [custom blurb in the composer](https://meta.discourse.org/t/use-url-to-compose-a-new-message-with-body-adding-new-lines/197342/3).

Not sure if they’re useful, but thought I’d throw them into the mix. 🙂
