Thanks. I did find a bug and fix it. But I’m not sure if it was your bug…
@angus . It’s again not working with latest discourse version 1.8.0.beta1. Neither I could see anything in error logs nor in chrome developer tools. please check
Also, can you tell me how to disable this plugin for now. I couldn’t find any setting to disable this plugin
To exclude the plugin from execution altogether, just remove it from your
app.yml file, same was as you included it when installing the plugin. then rebuild Discourse again.
I think that’s only the workaround, a plugin should have the switch to disable through admin dashboard,I am wondering why a switch is missed in such a popular plugin.
I’ve updated this plugin so that it works with the latest Discourse and added a setting that lets you disable the plugin.
Thanks @angus for the quick fix and incorporating the feedback to provide a setting that lets you disable the plugin.
I found two minor bugs in the new update -
- If you open a chat window, closes it and then re-open the same chat window, I am not able to open
- Chat window position is not fixed at the right side, when we open a chat window then closes it and then opening a another chat window.Attaching screenshot for the same.
I think these bugs are related to each other only
opened this file and add this code
hooks: after_code: - exec: cd: $home/plugins cmd: - mkdir -p plugins - git clone https://github.com/angusmcleod/discourse-quick-messages.git
after saved file, I rebuild docker via
cd /var/discourse ./launcher rebuild app
But I can’t see this plugin in plugin area, and in my messenger. Why?
When I minimize a chat it seems to disappear completely
First - GREAT plugin. Love it. My users love it. Great. Thank you!
I’m running into a little issue. I get that the Hide/Close buttons close the direct message box. BUT if I click on the X to close the message box, the New message box will no longer display.
After closing a message box, later when I try to click on the envelope icon, then New Message button, the direct message box will not return.
The new message box will return most of the time if I had clicked on the down arrow to hide the message box previously. I can also click on a previous conversation and the message box returns.
If I refresh the browser window, it fixes the issue…
Hey guy’s, I’m just getting back on board with Discourse work after going away over Christmas / New Years. Some initial responses:
@Aman_Jagga That looks like a bug, I’ll address it asap; probably tomorrow.
@eminov You need to enable the plugin now. It’s off by default. See
quick message enabled in Settings > Plugins
@DiscourseMetrics.com That is default Discourse behavior. If there is no draft content in the compose, minimizing the compose will make it disappear entirely. However considering you’re the 3rd person to comment on this, it seems people do not expect this from a ‘chat’ compose as opposed to the normal Discourse compose. I’ll have a think about changing that behavior.
@HemophiliaFed Looks like you are describing a combination of the issue @DiscourseMetrics.com was describing and a straight up bug. For the part about minimizing the compose, I’ll consider this as mentioned above. For the ‘bug’, i.e. the compose no longer appearing, I’ll take a look at this asap.
I was expecting minimizing to attach the chat-window to the bottom of the screen but make it smaller than normal (hiding the chat content and just showing the name of the person I’m chatting with). I guess I’m used to other chat-systems that do it this way
Just pushed a bugfix which is probably the culprit for the reported bugs and an update to the minimize behavior so that the composer will minimize (rather than close) even if there is no draft text.
You can see the updated Quick Messages in action on my new dev instance: https://dev.civll.com/
@eminov If the plugin is enabled, you’ll see three settings in Admin > Settings > Plugins.
You can tell whether the plugin is enabled by whether it appears as Enabled in Admin > Plugins.
The plugin.rb file needs a
# url: http://someurl/typicallygithub.git
for it to show there.
@angus Thanks for the updates! Looks like they’re working great.
thanks for this plugin, its sexy as hell