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 curtidas

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 curtida

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 curtidas

@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 curtida

@Bank_Live @hewo7 The mobile UI bug is fixed:

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

3 curtidas

@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 curtida

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

4 curtidas

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)

Isso é um plugin ou um tema? O primeiro é adicionado editando o arquivo yml, o segundo pela interface gráfica.

1 curtida

A funcionalidade ainda não está ativa no sandbox? (https://thepavilion.io/) Adoraria ver o plugin em ação.

Existe alguma maneira de permitir que apenas certos ‘grupos’ usem seu Plugin de Mensagens Rápidas :question:

Se não, você consideraria adicionar esse recurso :question:

A propósito, usamos Mensagens Rápidas MUITO e adoramos, mas gostaríamos de limitar seu uso. Talvez o nível de confiança seja outra maneira aceitável de fazer isso…

EDIT: Ops, acabamos de descobrir como gerenciar isso de forma aceitável usando o parâmetro de configuração ‘badge obrigatória para mensagem rápida’ do seu plugin..

4 curtidas

Os dispositivos móveis são compatíveis com este plugin? Ao tentar usar a interface de Mensagem Rápida no meu iPhone Xr, com o Safari no iOS 13, enfrento vários bugs de interface. Não consigo tocar na caixa de texto para digitar o nome de usuário do destinatário, pois o toque não é registrado. Além disso, quando começo a digitar e depois toco fora para ocultar o teclado exibido na tela, a caixa de mensagem se estende para cima, invadindo o cabeçalho da página do fórum, o que impede que eu a feche. Muito estranho. Eu queria usá-la no lugar do Babble, mas tem tantos problemas de interface que, por enquanto, não é uma opção viável.

3 curtidas

Qual versão do iOS 13 você está usando? Você tentou atualizar para a versão mais recente?

2 curtidas

Estou na versão mais recente. Tenho acesso a vários iPhones diferentes e acredito que o problema está relacionado à tela curva com o recorte do sensor ou “notch” no topo. O Xr e o 11 Pro (padrão e Max) apresentam esse problema, enquanto o iPhone 6S não. É possível que o Safari seja o culpado por não renderizar corretamente os limites da tela ao interpretar o código.

1 curtida