# Quick Messages Plugin

**URL:** https://meta.discourse.org/t/quick-messages-plugin/39188
**Category:** Plugin
**Tags:** broken
**Created:** [February 8, 2016, 12:13am UTC](https://meta.discourse.org/t/quick-messages-plugin/39188 "2016-02-08T00:13:55Z")
**Posts on this page:** 20
**Page:** 5

<div class="post-metadata">

### Author: ![marcospreviato](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcospreviato/32/54766_2.png) [@marcospreviato](https://meta.discourse.org/u/marcospreviato)
#### Post date: [May 4, 2016, 3:50pm UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/81 "2016-05-04T15:50:06Z")

</div>

some estimate of when the plugin is updated to the new header?

---

<div class="post-metadata">

### Author: ![Huey\_Le](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/huey_le/32/63362_2.png) [@Huey\_Le](https://meta.discourse.org/u/Huey_Le)
#### Post date: [May 5, 2016, 10:37am UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/82 "2016-05-05T10:37:50Z")

</div>

very cool plugin. I’d love to see if this can be merged with babble some how. I’d love to see these two plugins unified and resemble Facebook chat feature where it acts as group chat and private message as well.

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [May 6, 2016, 2:37pm UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/83 "2016-05-06T14:37:27Z")

</div>

@Rodelio_Lagahit @meglio @marcospreviato Hey folks. I just committed the conversion to the widgetized header. This required some significant changes, so please let me know any issues you find. Cheers.

[https://github.com/angusmcleod/discourse-quick-messages/commit/aa9e4e1e5e850bbf81397c5d4e59b6ae208d548d](https://github.com/angusmcleod/discourse-quick-messages/commit/aa9e4e1e5e850bbf81397c5d4e59b6ae208d548d)

> [@Huey\_Le](#):
>
> very cool plugin. I’d love to see if this can be merged with babble some how. I’d love to see these two plugins unified and resemble Facebook chat feature where it acts as group chat and private message as well.

There’s been a fair amount of discussion on this already (check above - I don’t have the link handy). Basically, Babble is a chat room. This plugin is messages (you can add multiple people to a message). This plugin is actually very similar to Facebook messages. Babble serves a different purpose. That said, if you have a specific proposal on how they should be merged, I’m open to ideas 🙂

---

<div class="post-metadata">

### Author: ![Rodelio\_Lagahit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rodelio_lagahit/32/121638_2.png) [@Rodelio\_Lagahit](https://meta.discourse.org/u/Rodelio_Lagahit)
#### Post date: [May 6, 2016, 2:50pm UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/84 "2016-05-06T14:50:26Z")

</div>

nice. ill have this up again in two of my discourse instance. will keep you posted for updates.

btw, this means that its already compatible with the new header right?

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [May 6, 2016, 3:02pm UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/85 "2016-05-06T15:02:53Z")

</div>

> [@Rodelio\_Lagahit](#):
>
> btw, this means that its already compatible with the new header right?

Yup! Fully widgetized now.

---

<div class="post-metadata">

### Author: ![Rodelio\_Lagahit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rodelio_lagahit/32/121638_2.png) [@Rodelio\_Lagahit](https://meta.discourse.org/u/Rodelio_Lagahit)
#### Post date: [May 6, 2016, 3:14pm UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/86 "2016-05-06T15:14:34Z")

</div>

ic.. too bad wont be able to appreciate it now coz discourse has a problem with mobile viewing. already updated though using my phone. ill check it with my laptop tom. im in the bar right now. 🙂

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [May 6, 2016, 4:57pm UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/87 "2016-05-06T16:57:07Z")

</div>

I just updated to try it out again, and it’s working nicely - great job, @angus! 🚀 This plugin is slick and does the job nicely!

Check out this screenshot - two things come to mind:

- would be nice to have a user preference to mute users from this list, like `@system`. (I just checked and muting system did not prevent these from showing on the message list)
- seems there is a bug with `@mentions` near the beginning of posts, which shows up as html code.

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

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [May 7, 2016, 1:33am UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/88 "2016-05-07T01:33:28Z")

</div>

> [@tobiaseigen](#):
>
> seems there is a bug with @mentions near the beginning of posts, which shows up as html code.

Yeah, the same thing happens with images as well. Will fix soon!

> [@tobiaseigen](#):
>
> would be nice to have a user preference to mute users from this list, like @system. (I just checked and muting system did not prevent these from showing on the message list)

Could you give me a scenario in which this would be useful? I’m just wondering about the user flow / concern here. Thanks.

---

<div class="post-metadata">

### Author: ![Rodelio\_Lagahit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rodelio_lagahit/32/121638_2.png) [@Rodelio\_Lagahit](https://meta.discourse.org/u/Rodelio_Lagahit)
#### Post date: [May 7, 2016, 1:47pm UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/90 "2016-05-07T13:47:44Z")

</div>

![](https://global.discourse-cdn.com/meta/original/3X/f/f/ff46ef331967887aa50f99ea4611651f686b2d04.png)

working now.. i added some css . 😃

good that it’s working now

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [May 7, 2016, 6:32pm UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/91 "2016-05-07T18:32:41Z")

</div>

> [@angus](#):
>
> Could you give me a scenario in which this would be useful? I’m just wondering about the user flow / concern here.

In my case, as the screenshot above shows, I get alot of automated messages that are not important.that then push down the ones that are important. They are already muted so I don’t get notifications but now they are showing up here until I go and delete them.

I am sure moderators and admins in other communities face the same kind of situation.

---

<div class="post-metadata">

### Author: ![adrexia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adrexia/32/121230_2.png) [@adrexia](https://meta.discourse.org/u/adrexia)
#### Post date: [May 8, 2016, 2:14am UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/92 "2016-05-08T02:14:58Z")

</div>

This plugin appears to be throwing an error for non-logged in users and stopping the header from rendering1. Can anyone else confirm?

Specifically, I’m getting errors from this (Uncaught TypeError: Cannot read property ‘get’ of null):  
`var unreadPMs = helper.widget.currentUser.get('unread_private_messages');`

Within: discourse/plugins/discourse-quick-messages/discourse/initializers/quick-messages-edits

Probably just returning early if there is no currentUser would fix it?

* * *

1. Upgraded yesterday, so its on the most recent versions.

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [May 9, 2016, 1:40pm UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/93 "2016-05-09T13:40:05Z")

</div>

Much appreciated @adrexia, this is fixed.

[https://github.com/angusmcleod/discourse-quick-messages/commit/b60d39442c7809a56d8e174d3ba77582bb7e6ba2](https://github.com/angusmcleod/discourse-quick-messages/commit/b60d39442c7809a56d8e174d3ba77582bb7e6ba2)

---

<div class="post-metadata">

### Author: ![Pad\_Pors](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pad_pors/32/52016_2.png) [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)
#### Post date: [May 9, 2016, 2:43pm UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/94 "2016-05-09T14:43:18Z")

</div>

nice plugin! 🙂

for the rtl direction discourse, the message window opens from left, and it causes the whole menu to shift toward right. isn’t it possible for the window to open up from right?

 ![](https://global.discourse-cdn.com/meta/original/3X/5/4/54f1aebd7f00600ccd60116f51084942280285d7.png)

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [May 11, 2016, 2:35pm UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/95 "2016-05-11T14:35:07Z")

</div>

> [@Pad\_Pors](#):
>
> for the rtl direction discourse, the message window opens from left, and it causes the whole menu to shift toward right. isn’t it possible for the window to open up from right?

tbh I didn’t even know Discourse had a rtl direction - but considering I’ve looked at your screenshots before, I should have noticed… I’ll have a look at this on the weekend 🙂

---

<div class="post-metadata">

### Author: ![Chopper](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chopper/32/57073_2.png) [@Chopper](https://meta.discourse.org/u/Chopper)
#### Post date: [May 14, 2016, 3:34pm UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/96 "2016-05-14T15:34:32Z")

</div>

With the lastest version of Discourse,

The chat message is behind the content

 ![](https://global.discourse-cdn.com/meta/original/3X/0/e/0e9ce227a2670d1bdda663032973e745448d0c70.png)

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [May 18, 2016, 2:47am UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/97 "2016-05-18T02:47:48Z")

</div>

Will get back to this plugin tomorrow! (promise 🙂 )

---

<div class="post-metadata">

### Author: ![Rodelio\_Lagahit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rodelio_lagahit/32/121638_2.png) [@Rodelio\_Lagahit](https://meta.discourse.org/u/Rodelio_Lagahit)
#### Post date: [May 18, 2016, 3:39am UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/98 "2016-05-18T03:39:43Z")

</div>

> [@angus](#):
>
> this plugin

make this group chat compatible or can be used as group chat hehehe 😃

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [May 18, 2016, 6:21pm UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/99 "2016-05-18T18:21:31Z")

</div>

I just:

- Made sure the html is cooked properly for widget rendering @tobiaseigen
- Fixed the emoji menu (click event wasn’t hooked up properly)

[https://github.com/angusmcleod/discourse-quick-messages/commit/fe0d438e3e9101bfa0cd21e9cb091a2496866689](https://github.com/angusmcleod/discourse-quick-messages/commit/fe0d438e3e9101bfa0cd21e9cb091a2496866689)

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [May 18, 2016, 6:28pm UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/100 "2016-05-18T18:28:39Z")

</div>

The z-index issue is also fixed now.

 ![](https://global.discourse-cdn.com/meta/original/3X/6/7/67b2ab2523824ffcea15a82518c9bfca2a34cd70.png)

[https://github.com/angusmcleod/discourse-quick-messages/commit/0e4ce396e45329caaefe665ad771c3a408dd794d](https://github.com/angusmcleod/discourse-quick-messages/commit/0e4ce396e45329caaefe665ad771c3a408dd794d)

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [May 18, 2016, 7:13pm UTC](https://meta.discourse.org/t/quick-messages-plugin/39188/101 "2016-05-18T19:13:54Z")

</div>

@Pad_Pors hm this doesn’t happen to me when I change the html `direction` to rtl. Is there some kind of setting I need to hit to get the header to switch orientation as in your screenshot…?

 ![](https://global.discourse-cdn.com/meta/original/3X/7/1/7143887d98cdc987e71a2df83c5156d4b0160a34.png)

[Previous page](https://meta.discourse.org/t/quick-messages-plugin/39188.md?page=4)

[Next page](https://meta.discourse.org/t/quick-messages-plugin/39188.md?page=6)
