Quick Messages Plugin

Any clues where should I hunt for errors if seeing this?

thanks

Relevant .yml snip:

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-spoiler-alert.git
          - git clone https://github.com/discourse/discourse-solved.git
          - git clone https://github.com/discourse/discourse-voting
          - git clone https://github.com/discourse/discourse-checklist
          # slack integ
          - git clone https://github.com/discourse/discourse-chat-integration.git
          - git clone https://github.com/discourse/discourse-policy
          - git clone https://github.com/discourse/discourse-calendar

          - git clone https://github.com/angusmcleod/discourse-question-answer
          # chat plugin
          # - git clone https://github.com/gdpelican/babble.git
          # quick messages
          - git clone https://github.com/angusmcleod/discourse-quick-messages
          # parallel editing
          - git clone https://github.com/gdpelican/collude
          # reactions
          - git clone https://github.com/gdpelican/retort

Hey @pihentagy, do you mean the fact quick messages is not linked to a repo and doesn’t have a settings link? This is just because I hadn’t hooked up this metadata for the plugin.

You can find the quick messages settings by going into your settings and searching for “quick messages”.

In any event, I’ve added that metadata in :slight_smile:

2 个赞

Did you figure out a solution for this?

Unfortunately not. :expressionless:

@jord8on Hey, are you talking about this?

Happy to add it into the work schedule if we can:

  1. Get a feature request: https://discourse.angusmcleod.com.au/w/feature-request

  2. Get 5 votes or a sponsor for it.

See further here: https://discourse.angusmcleod.com.au/k/how-to/how-to-request-a-plugin-feature/894

cc @terraboss

1 个赞

Plugin outside

Yes on mobile devices the chat windows renders outside the screen. On my forum it is the same.
Is there a solution for this?

@hewo7 @Bank_Live Thanks for the prompts about this. I’ll fix it tomorrow :+1:

2 个赞

@angus A great plugin, works perfectly!

I guess this isn’t a priority at the moment, but while you are fixing things, would it be possible to fix these:

New Message text is a bit off.

Quick1

Emojis and Image icons are not alligned properly.

Quick2

Maybe move this field, as well as the icons, as they are too close to the edge on the top.

Quick3

Thank you and once again, well done!

1 个赞

@Bank_Live @hewo7 The mobile UI bug is fixed:

@calebs I’ve also made some style tweaks and some other fixes

3 个赞

@angus Thank You! Works perfect! :+1:

image

I seem to be getting a bug where users can carry on typing below the visible screen. I’ve turned off all plugins which i’m able to turn off and the issue remains. Is anyone else having this?

1 个赞

Thanks @Andy02 I’ve pushed a fix for this.

4 个赞

Thanks for creating and maintaining this awesome plugin, I have encountered a few issues with this:-

  1. The images are being shown fine inside the message box but the lightbox doesn’t work. Clicking the image takes to image link and doesn’t show it in the lightbox, thus breaks the conversation. Is there a way to disable lightbox in a quick message window or have lightbox working properly.
  2. It doesn’t mention the subject of the message anywhere, and thus the message list becomes very hard to recognize.
  3. It doesn’t display the message in the mobile view.

20%20PM

And shows following in the console

_application-91a6f00c2b614e1bd00e24153375bde25ec3d14f53dcdcfc6a19c8d7ea0e5d89.js:14093 Uncaught TypeError: e.substr is not a function
    at n.excerptTruncated (_application-91a6f00c2b614e1bd00e24153375bde25ec3d14f53dcdcfc6a19c8d7ea0e5d89.js:14093)
    at n.<anonymous> (_application-91a6f00c2b614e1bd00e24153375bde25ec3d14f53dcdcfc6a19c8d7ea0e5d89.js:83)
    at n.i.get (_ember_jquery-d430881a3fb1403871256e5a02423c4b20a78793685e92088613ca9a701baf88.js:27422)
    at J (_ember_jquery-d430881a3fb1403871256e5a02423c4b20a78793685e92088613ca9a701baf88.js:25836)
    at t.r.compute (_ember_jquery-d430881a3fb1403871256e5a02423c4b20a78793685e92088613ca9a701baf88.js:13693)
    at t.value (_ember_jquery-d430881a3fb1403871256e5a02423c4b20a78793685e92088613ca9a701baf88.js:13431)
    at t.value (_ember_jquery-d430881a3fb1403871256e5a02423c4b20a78793685e92088613ca9a701baf88.js:57889)
    at e.t.initialize (_ember_jquery-d430881a3fb1403871256e5a02423c4b20a78793685e92088613ca9a701baf88.js:57350)
    at e.t.peek (_ember_jquery-d430881a3fb1403871256e5a02423c4b20a78793685e92088613ca9a701baf88.js:57325)
    at Object.evaluate (_ember_jquery-d430881a3fb1403871256e5a02423c4b20a78793685e92088613ca9a701baf88.js:58536)

这是插件还是主题?前者通过编辑 yml 文件添加,后者通过 UI 添加。

1 个赞

该功能在沙盒环境中尚未上线?(Pavilion

有没有办法只允许特定的‘群组’使用您的快速消息插件?

如果没有,您是否考虑过添加此功能?

顺便提一下,我们非常频繁地使用快速消息功能,并且非常喜欢它,但希望限制其使用范围。或许信任等级是另一种可行的实现方式……

编辑:哎呀,我们刚刚发现可以通过您的“需要徽章才能使用快速消息”设置参数来合理地管理这一功能。

4 个赞

移动设备应该能够与此插件配合使用吗?当我在 iPhone Xr 上使用 iOS 13 的 Safari 尝试使用“快速消息”界面时,遇到了各种 UI 错误。我无法点击文本框输入收件人的用户名,因为点击无法被识别。此外,当我开始输入然后点击外部以隐藏屏幕键盘时,消息框会向上扩展到论坛页面的标题区域,导致我无法关闭消息框。这非常奇怪。我原本想用这个插件替代 Babble,但由于存在这么多 UI 问题,目前它并不是一个可行的选择。

3 个赞

您使用的是哪个版本的 iOS 13?您是否已尝试更新到最新版本?

2 个赞

我使用的是最新版本。我可以使用多款不同的 iPhone,我认为问题出在顶部的曲面屏幕和传感器开孔(即“刘海”)上。iPhone XR 和 11 Pro(包括标准版和 Max 版)都存在此问题,而 iPhone 6S 则没有。这可能是因为 Safari 在解析代码时未能正确渲染显示边界。

1 个赞