This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/plugins/chat
Martin Brennan c07f1e442f
DEV: Fix failing chat spec and add unexpected failure indicator (#20299)
This commit fixes the UpdateUserLastRead spec which was checking
for a message ID that did not exist -- this could fail at times
since message ID 2 could exist. Better to create + destroy a message
since then it's guaranteed we have a unique ID.

This also attempts to clarify a step that we expect to fail which
succeeds instead by adding another emoji next to the success tick and
an explanation text.

Also removes some uses of unless in Services::Base, we generally prefer
to use alternatives, since unless can be hard to parse in a lot of
cases.

Co-authored-by: Loïc Guitaut <loic@discourse.org>
2023-02-15 19:16:13 +01:00
..
app DEV: Fix failing chat spec and add unexpected failure indicator (#20299) 2023-02-15 19:16:13 +01:00
assets FIX: ensures chat-message is recomputed with model (#20312) 2023-02-15 15:08:55 +01:00
config REFACTOR: channel retention reminder text (#20310) 2023-02-15 14:50:01 +01:00
db DEV: Add ChatThread model and DB table, and ChatMessage reference (#20106) 2023-02-01 13:50:38 +10:00
lib DEV: Fix failing chat spec and add unexpected failure indicator (#20299) 2023-02-15 19:16:13 +01:00
public DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
spec DEV: Fix failing chat spec and add unexpected failure indicator (#20299) 2023-02-15 19:16:13 +01:00
test/javascripts REFACTOR: channel retention reminder text (#20310) 2023-02-15 14:50:01 +01:00
plugin.rb FEATURE: Chat side panel with threads initial skeleton (#20209) 2023-02-14 11:38:41 +10:00
README.md DEV: Chat service object initial implementation (#19814) 2023-02-13 13:09:57 +01:00

This plugin is still in active development and may change frequently

Documentation

The Discourse Chat plugin adds chat functionality to your Discourse so it can natively support both long-form and short-form communication needs of your online community.

For user documentation, see Discourse Chat.

For developer documentation, see Discourse Documentation.