# Babble Chat

**URL:** https://meta.discourse.org/t/babble-chat/87297
**Category:** Plugin
**Tags:** broken
**Created:** [May 11, 2018, 10:08pm UTC](https://meta.discourse.org/t/babble-chat/87297 "2018-05-11T22:08:04Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [June 21, 2018, 3:26pm UTC](https://meta.discourse.org/t/babble-chat/87297/25 "2018-06-21T15:26:50Z")

</div>

May have found a ui bug, a paltry one albeit, regarding translations.

When I hover over the `x` or expander button I get `en.babble.expand_chat` and `en.babble.close_chat`. Also, I am assuming that the icons are not meant to disappear when hovering over them, cluding hovering over the hamburger menu for the chat; aesthetics. Just some ux stuff to ponder. Otherwise, a great plugin.

---

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [June 21, 2018, 9:14pm UTC](https://meta.discourse.org/t/babble-chat/87297/26 "2018-06-21T21:14:35Z")

</div>

Thanks for the updates! The only new problem is the listing of category chats. They seem to be overlapping each other.

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/9/89c7e4ecd19e5224cfa0b0cd774d8a4ac0a0337c.png)

It should read  
“Divination Scene”  
“General Discussion”

Thanks again!

---

<div class="post-metadata">

### Author: ![gdpelican](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gdpelican/32/81308_2.png) [@gdpelican](https://meta.discourse.org/u/gdpelican)
#### Post date: [June 21, 2018, 9:35pm UTC](https://meta.discourse.org/t/babble-chat/87297/27 "2018-06-21T21:35:06Z")

</div>

Sorry about that; should be fixed in the latest.

---

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [June 22, 2018, 9:46am UTC](https://meta.discourse.org/t/babble-chat/87297/28 "2018-06-22T09:46:39Z")

</div>

Found another ux bug but it’s on mobile. I don’t know if you offer support for mobile view. This happens in chrome for android.

 ![Screenshot_20180622-052731_Chrome](https://global.discourse-cdn.com/meta/original/3X/b/1/b19e38ea65bae7339a747b6c41874a39930e0433.jpg)

My wife just found this bug where the first message is cut off. The stock Samsung browser works fine for us and does the expected behavior.

---

<div class="post-metadata">

### Author: ![anon36484860](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@anon36484860](https://meta.discourse.org/u/anon36484860)
#### Post date: [June 22, 2018, 10:14am UTC](https://meta.discourse.org/t/babble-chat/87297/29 "2018-06-22T10:14:40Z")

</div>

In my forum the chat plugin is not that heavily used.  
I think it would encourage people to use it more if in the lower bottom of the browser window a tiny bar would say `n users online` whereas n= number of people with chat access are currently online (based on discourse online status)

Thoughts?

---

<div class="post-metadata">

### Author: ![JanJoost](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/janjoost/32/97173_2.png) [@JanJoost](https://meta.discourse.org/u/JanJoost)
#### Post date: [June 22, 2018, 2:32pm UTC](https://meta.discourse.org/t/babble-chat/87297/30 "2018-06-22T14:32:14Z")

</div>

Hi!

I took some time yesterday and created a Dutch translation. I can of course review my own entries, but not sure if that’s desirable 😉

The translation is there btw, in case you want to pick it up.

---

<div class="post-metadata">

### Author: ![gdpelican](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gdpelican/32/81308_2.png) [@gdpelican](https://meta.discourse.org/u/gdpelican)
#### Post date: [June 22, 2018, 4:03pm UTC](https://meta.discourse.org/t/babble-chat/87297/31 "2018-06-22T16:03:15Z")

</div>

Hmm it seems like discourse has changed the way they render their header on mobile slightly. I’ve put in a fix; let me know if that works for you. I’ve also fixed some oddness with the new post action dropdowns. Excelsior!

![](https://global.discourse-cdn.com/meta/original/3X/6/9/69d76300a7b308bf7f4e0194eb10693a162e5a6d.jpeg) JanJoost:

> I took some time yesterday and created a Dutch translation

Thanks for the contribution! I’ve pulled it into master and it should be available in the latest.

---

<div class="post-metadata">

### Author: ![JoelZaslofsky](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joelzaslofsky/32/158556_2.png) [@JoelZaslofsky](https://meta.discourse.org/u/JoelZaslofsky)
#### Post date: [June 22, 2018, 8:19pm UTC](https://meta.discourse.org/t/babble-chat/87297/32 "2018-06-22T20:19:48Z")

</div>

Thanks for the quick fixes lately, James.

I know it’s been about two months since you and @eatcodetravel were [talking about collaborating](https://meta.discourse.org/t/babble-a-chat-plugin-archive/31753/879) on Babble upgrades. Did anything come out of that or will come out of it in the next few months?

---

<div class="post-metadata">

### Author: ![gdpelican](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gdpelican/32/81308_2.png) [@gdpelican](https://meta.discourse.org/u/gdpelican)
#### Post date: [June 22, 2018, 8:54pm UTC](https://meta.discourse.org/t/babble-chat/87297/33 "2018-06-22T20:54:27Z")

</div>

I haven’t heard from him since the initial contact, unfortunately. Which upgrades in particular are you interested in?

---

<div class="post-metadata">

### Author: ![eatcodetravel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eatcodetravel/32/94385_2.png) [@eatcodetravel](https://meta.discourse.org/u/eatcodetravel)
#### Post date: [June 22, 2018, 10:02pm UTC](https://meta.discourse.org/t/babble-chat/87297/34 "2018-06-22T22:02:06Z")

</div>

About this, I had to ship it without these changes/features due time constraints sorry ☹.

But yeah @JoelZaslofsky, what features you need?

---

<div class="post-metadata">

### Author: ![gdpelican](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gdpelican/32/81308_2.png) [@gdpelican](https://meta.discourse.org/u/gdpelican)
#### Post date: [June 22, 2018, 10:28pm UTC](https://meta.discourse.org/t/babble-chat/87297/35 "2018-06-22T22:28:51Z")

</div>

As an update, I’ve been playing around with private messaging functionality in Babble over the past couple days. Here’s where I’m at at the moment:

 ![](https://global.discourse-cdn.com/meta/original/3X/5/b/5b1d835740ab03fb218a38e9d4cc832016f4c53c.gif)

It’s a more slack-inspired interface, with the ability to dynamically create messaging channels between individual users (and the plumbing is there for facebook’s ‘dynamically creating chats with multiple people’ functionality as well)

I’m also digging the ‘automatically open’ functionality, and am thinking about making it the default to open the sidebar chat to the channel list view by default on desktop (it’d feel a lot more like a slack thing that way, and would be a pretty prominent piece of your forum). Admin toggleable, of course.

---

<div class="post-metadata">

### Author: ![JoelZaslofsky](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joelzaslofsky/32/158556_2.png) [@JoelZaslofsky](https://meta.discourse.org/u/JoelZaslofsky)
#### Post date: [June 25, 2018, 6:59pm UTC](https://meta.discourse.org/t/babble-chat/87297/36 "2018-06-25T18:59:20Z")

</div>

> [@gdpelican](#):
>
> Which upgrades in particular are you interested in?

> [@eatcodetravel](#):
>
> Yeah Joel, what features you need?

Thanks for being willing to take requests, guys. 🙂

Sound notifications at the individual user level are still at the top of my list by far (discussed back in [this thread](https://meta.discourse.org/t/babble-a-chat-plugin-archive/31753/801)).

I could come up with a bunch of other things, but I don’t know how much they’d overlap with your own personal goals for the plugin and requests from other Babble users. So I’ll refrain from giving you the full wishlist unless you say you want it all.

---

<div class="post-metadata">

### Author: ![JanJoost](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/janjoost/32/97173_2.png) [@JanJoost](https://meta.discourse.org/u/JanJoost)
#### Post date: [June 26, 2018, 2:51pm UTC](https://meta.discourse.org/t/babble-chat/87297/37 "2018-06-26T14:51:37Z")

</div>

Hi! Sorry to trouble you over this, but did you manage to find a way to keep the post count the way it should be?

Thanks in advance!

---

<div class="post-metadata">

### Author: ![gdpelican](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gdpelican/32/81308_2.png) [@gdpelican](https://meta.discourse.org/u/gdpelican)
#### Post date: [June 26, 2018, 6:41pm UTC](https://meta.discourse.org/t/babble-chat/87297/38 "2018-06-26T18:41:46Z")

</div>

Thanks for the prompt; I have a fix for this but want to test it a bit more before merging it to master.

If you’d like to try it out yourself, change your clone URL in app.yml to point to the `hold-counts` branch, like so:

```plaintext
git clone -b hold-counts git@github.com:gdpelican/babble.git

```

---

<div class="post-metadata">

### Author: ![JanJoost](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/janjoost/32/97173_2.png) [@JanJoost](https://meta.discourse.org/u/JanJoost)
#### Post date: [June 26, 2018, 6:57pm UTC](https://meta.discourse.org/t/babble-chat/87297/39 "2018-06-26T18:57:10Z")

</div>

> [@gdpelican](#):
>
> If you’d like to try it out yourself, change your clone URL in app.yml to point to the `hold-counts` branch

Happy to test, that’s what the acceptance environment is for. Will report back here.

Any scenarios you’d like me to focus on?

---

<div class="post-metadata">

### Author: ![JanJoost](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/janjoost/32/97173_2.png) [@JanJoost](https://meta.discourse.org/u/JanJoost)
#### Post date: [June 26, 2018, 7:55pm UTC](https://meta.discourse.org/t/babble-chat/87297/40 "2018-06-26T19:55:20Z")

</div>

> [@JanJoost](#):
>
> Happy to test, that’s what the acceptance environment is for. Will report back here.

@gdpelican  
Did some preliminary testing, and indeed it looks better. Mind you, I am an excellent picker of nits, so be warned 😉

### How I tested

- New user with post count 0
- New chat

Scenario 1:

- Access chat via bull-horn (chat side-bar). Add messages, check post count on user statistics page.  
Post count still 0.
- Delete chat, create new chat.  
Post count still 0 (and not a negative number) - this is good

Scenario 2:

- Find chat via search function. Access chat via the ‘normal’ topic rendering. Add 5 messages, check post count on user statistics page.  
Post count is now 5 (which is to be expected - we’re accessing the chat via the alternative rendering, so it behaves as a normal topic)
- Delete chat, create new chat.  
Post count still 5 (at least not deducted).

This to me is perfectly acceptable behaviour - at least we do not end up with negative post counts any more, for the enthusiastic chat users.

The icing on the cake would be to deduct the post count from the posts entered via the normal topic-rendering, but I imagine that would be (nearly) impossible to achieve.

But to keep the analogy alive: The cake is already delicious this way, and I’ll happily eat it. (The cake is no lie!)

Thanks!

---

<div class="post-metadata">

### Author: ![gdpelican](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gdpelican/32/81308_2.png) [@gdpelican](https://meta.discourse.org/u/gdpelican)
#### Post date: [June 26, 2018, 8:02pm UTC](https://meta.discourse.org/t/babble-chat/87297/41 "2018-06-26T20:02:23Z")

</div>

The fix at the moment is a bit slapdash, essentially saying ‘skip over resetting user counts when you delete chats’, which should be analogous to the ‘skip over resetting user counts when they make topics or posts in chat’.

Discourse is complicated software though, so I’m not 100% certain at the moment that the counts / triggers modified on creation are 100% parallel to those modified on deletion. However, if you’re happy, I’m happy, and will merge this after a little bit more smoke testing on my end.

Re: normal topic rendering, I’d rather get to a point where you can’t render chats as normal topics at all, rather than making them work as both. There’s too much that can go wrong if we allow people to respond to chat topics with the normal Discourse flow, and vice versa.

---

<div class="post-metadata">

### Author: ![JanJoost](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/janjoost/32/97173_2.png) [@JanJoost](https://meta.discourse.org/u/JanJoost)
#### Post date: [June 26, 2018, 8:12pm UTC](https://meta.discourse.org/t/babble-chat/87297/42 "2018-06-26T20:12:29Z")

</div>

> [@gdpelican](#):
>
> Re: normal topic rendering, I’d rather get to a point where you can’t render chats as normal topics at all

That makes sense - would be good. I know from the user base I have here that they do like the idea of ‘liking’ a post though. But then again, it’s a chat - they will just have to eat what we feed them! \>: )

---

<div class="post-metadata">

### Author: ![gdpelican](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gdpelican/32/81308_2.png) [@gdpelican](https://meta.discourse.org/u/gdpelican)
#### Post date: [June 27, 2018, 2:40am UTC](https://meta.discourse.org/t/babble-chat/87297/43 "2018-06-27T02:40:31Z")

</div>

I (and others) have the ability to build that functionality (it’s basically a port of the [Retort plugin](https://meta.discourse.org/t/retort-a-reaction-style-plugin-for-discourse/35903) 🙂 ), but likely not the functionality to make chats and Discourse topics 100% compatible.

---

<div class="post-metadata">

### Author: ![JanJoost](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/janjoost/32/97173_2.png) [@JanJoost](https://meta.discourse.org/u/JanJoost)
#### Post date: [June 27, 2018, 10:09am UTC](https://meta.discourse.org/t/babble-chat/87297/44 "2018-06-27T10:09:58Z")

</div>

I hadn’t even seen Retort but it looks fun! Thanks for the pointer!

As for the functionality: We can survive without it (and the users are already happy!), so that’s all good.

I also found out that most people use the topic-view of the chat because it works a bit better for them on mobile apparently. I’ll ask around what exactly it is that doesn’t work well for them in the normal chat-view, and will let you know.

Thanks again so far!

[Previous page](https://meta.discourse.org/t/babble-chat/87297.md?page=1)

[Next page](https://meta.discourse.org/t/babble-chat/87297.md?page=3)
