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

是的,在移动设备上,聊天窗口会渲染到屏幕外。我的论坛上也存在同样的问题。有解决办法吗?

@hewo7 @Bank_Live 感谢你们的提醒。我明天会修复这个问题:+1:

2 个赞

@angus 太棒的插件了,运行完美!

我想这目前不是优先事项,但既然您在修复问题,能否顺便解决以下问题:

“新消息”文本有些不对劲。

Quick1

表情符号和图片图标未正确对齐。

Quick2

或许可以移动该字段以及图标,因为它们距离顶部边缘太近了。

Quick3

感谢!再次表示做得好!

1 个赞

@Bank_Live @hewo7 移动端 UI 错误已修复:

@calebs 我还进行了一些样式调整和其他修复:

3 个赞

@angus 谢谢!完美运行!:+

我似乎遇到了一个 bug,用户可以在可见屏幕下方继续输入。我已经关闭了所有我能关闭的插件,但问题仍然存在。有人也遇到这种情况吗?

1 个赞

感谢 @Andy02,我已为此推送了一个修复。

4 个赞

感谢您创建并维护这个出色的插件,我在使用中遇到了以下几个问题:

  1. 图片在消息框中显示正常,但灯箱(lightbox)无法工作。点击图片会直接跳转到图片链接,而不是在灯箱中显示,导致对话中断。是否有办法在快速消息窗口中禁用灯箱,或者让灯箱正常工作?
  2. 消息主题 nowhere 显示,导致消息列表难以识别。
  3. 在移动视图下无法显示消息内容。

控制台显示以下错误:

_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 个赞