Babble Chat

@gdpelican nice work on this plugin - it’s come a long way! :rocket: I especially like the sound notifications, whos online integration, and notification bubbles when chat minimized. Slick!

I installed it for testing on my personal discourse, and am exploring its suitability for my work discourse… mostly to let moderators chat about what to do with discussions. I had a look through this topic and hope I have a fairly good understanding, but it’s possible that I missed some things. Bearing that in mind, some reactions and questions follow. I’d be grateful for thoughts.

The biggest question I guess is sustainability - this is an unofficial plugin, so can you talk a bit about your experience keeping it going over the years and your future plans? I realize this is open source so in that sense future proofed, but are there some more people besides @gdpelican who are familiar with the code and committed to it, who can take it forward in case you get hit by a bus? Inshallah this will not happen!

There are some issues interspersed throughout this topic that are not listed on github. Is that where you want us to post issues? Maybe streamlining the reporting so they all go to one place will help you to respond more effectively without wasting too much time, and help us to know what’s in the roadmap and (maybe more importantly) what is not.

For now here’s a laundry list of questions, thoughts, bug reports and feature requests, in no particular order and with apologies for wordiness and repetition of already stated items.

Some bugs and hopefully easy fixes:

  • bug: chats shows up on the admin dashboard even when the babble plugin is not enabled
  • on admin settings: translation missing: en.site_settings.babble_initial_user_count
  • update: when I @ mentioned a user, they received an email notification - linking them to both the topic in the category and the chat in babble. This seems buggy and weird! Should link to maybe simply the site front page with chat open in babble, and not display the babble topic.
  • Users should be able to start with zero users listed to DM, and then create their own list of people they’d like to have DM conversations with. If I set “babble initial user count” to zero, the DM option simply does not appear. Is this a bug? :bug:

edit: another bug:

  • when deleting a test user and deleting their posts, the chat channels the user participated in got deleted. this is surprising.

Thoughts/feature requests:

  • Where can admins see and manage the chat logs? These seem to be hidden topics which is great on the UX level for users, but for admins there needs to be a way to look in on them and manage them. Maybe admins could be allowed access and a link to eg /t/n/1234 could be provided from the channels managed in admin/chats.
  • If a user opts out of babble in their user preferences, they might still show up on the DM list for others, can be searched for, and subsequently chatted at. These appear to disappear into the ether which is a bit disconcerting. Some indication that this user is not using babble would be helpful at least, or outright preventing chatting to someone who has opted out.
  • If there is no email notification sent to offline users when they get a chat (and there doesn’t seem to be) then I think the DM feature should actually only work to chat with users who are currently online. Also, an admin setting should enable/disable email notifications, in case people want to use it for reasonably secure communication on site.
  • Users should be able to remove users from the DM list. Maybe a little X to the right of their names could be provided that, when clicked, removes them from the list. Searching can let them add users back on the list as they see fit.
  • I like the notification sound but can envision that others might find it annoying, or might prefer a different sound. The ability for admins to upload and make available different notification sounds for members to choose from would be interesting.
  • the ability for admins to set default user preferences for babble has been mentioned and I would support adding it.
  • chat is prominent enough that having a link to the babble prefs from within the chat interface would be worthwhile. At least a toggle to enable/disable sound notifications.
  • on user card and user profile, for users who are currently online, can you add a button to start a chat alongside the button to start a message? This would be a great way to connect directly with folks. Enabled via admin setting because I can imagine alot of folks would not want this in their communities.

edit after a day of use:

  • within babble, seems not to be using the group flair, or even the standard favicons for groups, which is a bit jarring visually.
  • when I select a group channel, it would seem logical to see a list of members in that group who are currently online for direct messaging or mentioning in the chat.
  • when on right side, for some reason the emoji selector still pops up on the left side which is a bit far to go to select an emoji on a big screen like mine. :slight_smile:
  • notification bubble has a shadow which the other discourse notification bubbles do not

… and one last bug report before leaving this alone for a bit and give others a chance to respond. I noticed that the DMs are showing up on the “page not found” recent topics list with the the title as a random string. See screenshot. This is incognito mode so shows for everyone. Between this issue and that random users show up on the DM’able list who then don’t see their DMs if they don’t have access to a channel… will leave the DM functionality off for now.

6개의 좋아요

오늘 아침에야 babble history window 설정이 효과가 없는 것 같다는 걸 알게 되었습니다. Jobs::BabblePruneHistory라는 sidekiq 작업이 있는 걸 봤는데, 실행해도 아무 일이 일어나지 않는 것 같습니다. 하루 이상 지난 것을 정리하도록 설정해 두었는데, 3일 전의 채팅이 여전히 남아 있습니다. 숫자를 이틀로 변경하고 sidekiq 작업을 다시 실행해 봤지만 여전히 효과가 없습니다. 이 기능은 우리에게 꽤 필수적인 부분이므로, 광고된 대로 작동하지 않는다고 이미 알려진 문제라면 알려 주세요.

그동안 채널 주제에 접근하는 방법을 찾았습니다. admin/chat으로 이동한 후 채널을 선택하고, admin/chat/nnnn을 t/nnnn으로 변경하면 됩니다. 여기서 nnnn은 해당 채널의 주제 ID입니다. 간단하네요. :slight_smile:

저는 Bitnami Discourse 이미지를 사용 중인데, 테스트 결과 이 플러그인은 실시간 채팅을 제공하지 않습니다. 새 메시지를 보려면 페이지를 새로고침해야 합니다. 이 플러그인이 원래 이런 방식으로 동작하는 건가요? 아니면 다른 사용자들은 Babble을 통해 실시간 채팅을 하고 있나요?

확신은 없지만, Babble은 채팅 채널마다 주제를 생성하므로 일반적인 Discourse 주제와 동일한 방식으로 작동해야 합니다. 따라서 실시간으로 업데이트되어야 합니다.

nginx 리버스 프록시 때문인 것 같습니다. 이 프록시를 통해 Discourse를 서빙하고 있거든요. 사이트에 WebSocket 지원을 활성화했는데도 여전히 실시간으로 동작하지 않습니다. 실시간으로 작동해야 한다는 점을 확인해 주셔서 감사합니다. 이전에 babble용 nginx 설정이 포함된 페이지를 읽은 기억이 나는데, 다시 찾을 수가 없네요… nginx에서 추가로 설정해야 할 부분이 있을까요? 하하, 걱정 마세요. 그건 제가 알아서 찾을게요. 감사합니다!

무시하거나 차단한 사용자의 메시지를 숨기거나 흐릿하게 처리할 수 있나요?

안녕하세요 @gdpelican, 문제가 하나 있는 것 같습니다. 지난 1주, 어쩌면 2주 동안 관리자 아이콘을 클릭해도 채팅을 볼 수 없는 문제가 발생하고 있습니다. 관리자만 접근할 수 없는 상태입니다 :thinking:

제임스님, 안녕하세요

플러그인에 라우트를 추가해서 discourse 탭 바 테마 컴포넌트에서 실행할 수 있도록 할 방법이 있을까요?

사용성 측면에서 그렇게 하면 정말 훌륭할 것 같습니다.

정말 멋진 플러그인입니다!!

289개의 메시지를 읽으려 했지만 몇 가지 놓친 부분이 있을 수 있으니, 이미 답변이 주어진 내용이라면 양해 부탁드립니다.

몇 가지 요청 사항이 있습니다:

  1. 채널을 알파벳 순서로 정렬하기
  2. 특정 채널 음소거/음소거 해제
  3. 관리자 제어판을 더 사용자 친화적으로 만들기. 현재는 동일한 채널을 두 개 만들 수도 있다는 사실조차 모르고 진행할 수 있습니다.
  4. 팀 등의 기능을 갖춘 Mattermost와 유사한 기능을 개발하기

감사합니다!!

안녕하세요, 여러분! :content:

Discourse 설치에 Babble 모듈을 추가했습니다. 웹사이트에 디스코드 스타일의 채팅 창을 두는 개념은 정말 마음에 들지만, 현재 두 가지 문제를 겪고 있습니다.

첫째, 제가 ***고스트 핑(ghostpings)***이라고 부르는 현상입니다 (디스코드 사용자로서 <3).
image
이것은 클릭했을 때 아무것도 표시되지 않는 멘션 아이콘입니다. 마치 개인 메시지를 받은 것 같지만, 실제로는 볼 수 있는 새로운 내용이 전혀 없습니다.

두 번째 문제는 다른 사용자에게 개인 메시지를 보내면 제 디스코드 웹훅이 트리거되어 새 토픽이 공지된다는 것입니다. 그런데 이는 사적인 대화이므로 비공개로 유지되어야 합니다.

이 문제를 해결하는 방법을 함께 찾아낼 수 있기를 바랍니다… 미리 감사드립니다! :content:

개인 메시지(또는 특정 PM 주제와 게시글)를 1:1 메시지로 표시할 수 있는 방법이 있을까요?

1:1 메시지가 별도의 채널로 분리되어 있고, 단순히 PM을 활용하지 않는 점이 마음에 들지 않습니다.

1개의 좋아요

@gdpelican 푸시 알림을 추가하고 싶은데, 예를 들어 onesignal이나 다른 제공자를 사용한다고 가정할 때, Babble에 이 기능을 추가하려면 어떻게 해야 하나요? 메시지 버스를 통해 이벤트를 구독하는 플러그인을 작성해야 하지 않을까 싶습니다.

Babble을 Discourse에 추가했지만, 새 메시지가 있다는 알림이 없어서 아무도 사용하지 않고 있습니다.

또한 모든 사용자에게 기본적으로 오디오 알림을 활성화하는 관리자 설정도 원합니다. 이렇게 하면 사용자가 선택적으로 비활성화(opt-out)해야 하는 방식이 됩니다. 하지만 푸시 알림이 제대로 작동하게 된다면, 오디오 알림을 활성화할 필요가 없을 수도 있겠습니다…

플러그인 감사합니다. 하지만 채널을 생성할 때 다음 오류가 발생합니다.

Unable to save that chat channel. Please try again.

도움 주시면 감사하겠습니다.

업데이트: 오류가 발생했지만 채널은 생성되었습니다. 채널을 보려면 브라우저 캐시를 새로고침해야 했습니다. 아마 버그인 것 같습니다.

2개의 좋아요

저도 같은 문제가 발생하고 있습니다. 오류 메시지는 뜨지만 실제로는 채널이 생성됩니다.

또한 스레드를 클릭할 때 채팅 창이 무작위로 맨 위로 이동하는 문제도 겪고 있습니다.

1개의 좋아요

안녕하세요,

플러그인이 완벽하게 작동하고 있었지만, 업데이트 이후로 채팅에서 사진을 공유할 수 없게 되었습니다.
아래와 같은 오류가 발생합니다:
error_babble
모든 플러그인을 삭제한 후 하나씩 다시 설치해 보았지만 해결되지 않았습니다.
혹시 원인을 아시는 분 계신가요?
감사합니다

4개의 좋아요

@gdpelican, 이 문제를 다시 올려봅니다. 첨부 기능이 작동하지 않는 문제가 여러 사람에게서 발생하고 있는 것 같습니다.

1개의 좋아요

늦게 참여합니다! 사용자들이 무시한 사용자의 채팅 메시지(그리고 그 반대)를 여전히 볼 수 있다고 불만을 제기하고 있습니다.

1개의 좋아요

저와 제 사용자들은 채팅 게시 시 키보드가 사라지는 효과를 좋아하지 않습니다.

채팅에서 키보드를 항상 열어둘 수 있는 방법이 있을까요?

채팅 채널을 생성하려고 하는데, 어떤 방법을 시도해도 "채팅 채널을 저장할 수 없습니다. 다시 시도해 주세요."라는 메시지가 표시됩니다.
로그를 확인해 보았는데, 해당 플러그인과 관련된 내용은 전혀 나오지 않습니다.

Data Explorer에서 Babble 채팅을 어떻게 식별할 수 있을까요? 쿼리를 작성할 수 있으니, 주제나 게시물이 Babble 채팅임을 나타내는 테이블과 필드만 알려주세요.