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:

https://github.com/angusmcleod/discourse-quick-messages/commit/c4e6cb846c1d825a67a35b5f66b0cd0e8e226860

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:

https://github.com/paviliondev/discourse-quick-messages/commit/b5f33d389539e143ebe898fe97c029669acf8e56

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

https://github.com/paviliondev/discourse-quick-messages/commit/09b007cee78a2fd2707bd3d75373d8ffb06b59e1

3개의 좋아요

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

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.

https://github.com/paviliondev/discourse-quick-messages/commit/ed8888dd7feac06fa23430ca31bc1d5b7a565904

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.

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개의 좋아요

이 기능이 샌드박스에 공개되지 않았나요? (https://thepavilion.io/) 플러그인이 실제로 작동하는 모습을 보고 싶습니다.

특정 '그룹’만 퀵 메시지 플러그인을 사용할 수 있도록 하는 방법이 있을까요? :question:

그렇지 않다면, 이 기능을 추가해 주실 의향이 있으신가요? :question:

참고로, 우리는 퀵 메시지를 정말 많이 사용하고 있고 좋아하지만, 사용 범위를 제한하고 싶습니다. 아마도 신뢰 등급(trust level)을 기준으로 하는 것도 좋은 방법이 될 수 있을 것 같네요…

수정: 아, 방금 ‘quick message required badge’ 설정 파라미터를 통해 이 문제를 적절하게 관리할 수 있는 방법을 찾았습니다..

4개의 좋아요

모바일 기기에서 이 플러그인이 제대로 작동해야 하는 건가요? iOS 13의 Safari에서 iPhone Xr로 퀵 메시지 인터페이스를 사용하려고 하면 다양한 UI 버그가 발생합니다. 수신자의 사용자 이름을 입력하기 위해 텍스트 박스를 탭해도 탭이 인식되지 않아서 입력할 수 없습니다. 또한, 입력을 시작하고 나면 화면 키보드를 숨기려고 외부 영역을 탭했는데, 메시지 박스가 포럼 페이지 헤더 위로 확장되어 메시지 박스를 닫을 수 없었습니다. 매우 이상합니다. 이 기능을 Babble 대신 사용하려고 했는데, UI 문제가 너무 많아서 현재로서는 사용할 수 있는 옵션이 아닙니다.

3개의 좋아요

어떤 버전의 iOS 13을 사용 중이신가요? 최신 버전으로 업데이트를 시도해 보셨나요?

2개의 좋아요

최신 릴리스 버전을 사용하고 있습니다. 여러 종류의 iPhone에 접근할 수 있으며, 이 문제는 상단의 센서 컷아웃 또는 “노치”가 있는 곡면 화면과 관련이 있다고 생각합니다. iPhone XR과 11 Pro(스탠다드 및 Max)에서는 이 문제가 발생하지만, iPhone 6S에서는 발생하지 않습니다. Safari가 코드를 해석하는 과정에서 화면 경계를 올바르게 렌더링하지 않아서 발생하는 문제일 수 있습니다.

1개의 좋아요