Hmm, some hint which may be useful for Discourse Team (or some experienced person)… I clicked on the blue dot next to the topic, which means it’s new. The content isn’t displayed, a tool appears on the right to delete it and I clicked it. The topic is still on the forum. I got this error in the console:
Oooof, stable is actually a bit old at the moment (~1.4k commits behind master); the deprecation error was put in July 20, so I’d assume the
DB functionality was put in before that.
Any idea when we’ll get a stable version bump @sam?
In the meantime, I’ve cut a branch called
stable which you can pull; it shouldn’t affect this functionality.
git clone -b stable firstname.lastname@example.org:gdpelican/babble.git
@Sevosik You can get rid of those by running
# to hide topics from the interface, but keep in the DB in case you need to restore them (recommended) Topic.where(archetype: :chat).update_all(deleted_at: Time.now) # to remove chat topics and their content from the database completely Topic.where(archetype: :chat).destroy_all Group.where(visibility_level: 4).destroy_all
in your rails console.
Currently scheduled for September 10th
Expect a bump in stable in 1-2 weeks
Awesome, it worked. Thanks
I am not receiving notifications of new chats in Groups or Categories, PM notifications are working. I see nothing in the logs and just updated everything this morning. Also when I view a PM the notification count is not clearing out consistently. There is nothing in the logs currently.
Alright, I’ve pushed a fix to be a bit more secure about ‘reading’ things on the server when you see them (before we did it on scroll, now we do it on scroll and if the post is in view when the chat’s opened)
I wasn’t able to reproduce any problems with group or category notifications; can you be a bit more specific about which notifications you’re expecting and not receiving?
First of all, thank you for the plugin.
Most of our users use their phones to reach the board. When they open the chat the form to text a message opens instantly. On a phone it means half of the screen is cut off.
Before the textarea you could create a hidden input in order to put the focus on it.
Thanks for the report, that change makes sense to me. I’ve made the change, but won’t get a chance to push it until tomorrow.
Hi! I think I’ve got an interesting issue here!
The user preference pane now allows you to disable Babble completely. That works, check the checkbox and click save and it’s gone. However, if you want Babble back, then unchecking the box and clicking save doesn’t work. It’ll tell you it saved the settings, but once you reload the screen, the checkbox is checked again.
I’ve tried it with the following version:
- Discourse v.2.2.0-beta2 +5
- Babble version 8fc6664 - this is identical to master (I just upgraded to the now latest version)
I reckon that’ll have to do with @david’s custom setting changes, which I’m aware of but will need to grab some time to properly look at in the near future.
EDIT: This should now be fixed in latest.
Thank you! I’ll roll out and test, will let you know!
since one of the last updates the chat on my instance will be opened by default on desktop visits, regardless of the
babble open by default setting. on mobile their is no such behavior. is there an issue?
is it possible to also have an option for the user preference to open babble on default?
That setting won’t ever take effect on mobile, as it takes up the whole screen, and presumably you’re still visiting the forum for the forum.
Moving that setting to a user preference seems like a good call; I’ll put that in either today or this weekend.
EDIT: I just pushed a fix for your issue and moved the open by default setting to a per-user setting, so pull latest and let me know if that’s better for ya.
I’ve just tested it, and it works. Thanks again!
The test project at discourse-babble.com is using Discourse
https://github.com/discourse/discourse version e95d6a12c5f1f51f30fc54186efb3713ad6583bd
- When I configure my docker file to use this version hash it instead pulls
- Compare link: e95d6a12c5 vs 5a9b029014
- I cannot get the one-on-one chats to function properly:
Sample one-on-one chat list-element
<li class="babble-available-topic row"> <span class="babble-topic-avatar topic-avatar"> <img alt="" width="25" height="25" src="/letter_avatar_proxy/v2/letter/d/76d3ee/25.png" title="Dummy_User" class="avatar"> </span> <a class="widget-link" title=""> <span class="d-label"></span> </a> </li>
This is a brand new plugin install but with plenty of current user data. When I used the chrome inspector to populate data it clicks through and I can type messages. But then when I come back to the one-on-one chat the widget-link and d-label never populate. Likewise crucial functionality is also missing.
Any insight on what the issue might be?
Can you link me to your forum please? Are there any errors in the console or in
so…thanks for the fast fix!
I’ve found a bug I think. Rendering on mobile phones goes a bit wrong somewhere.
Screenshot with the plugin enabled:
Screenshot without the Babble plugin enabled:
For the record: I’ve tested this/had this tested with
- Android devices (fully patched)
- iPhone (iOS 11 fully patched)
- Safari on desktop with useragent changed.
The forum runs v.2.2.0.beta2 +107, and Babble is version 4.0.3 (release tag e3edce1).
All show the same result: the black box and the light grey box outline. I can’t say for sure which element this is since I’m really really bad with HTML unfortunately.
But willing to try anything if it helps of course