discourse/plugins/chat
David Taylor 5ba28911ca
DEV: Only load specific plugin bundles during qunit test (#33678)
Previously, running qunit tests for a plugin would load the JS of all
installed plugins. This can be problematic because, depending on the
plugins installed in the current environment, there can be unexpected
interactions between the plugins.

This commit updates our qunit system to check the
`tests.requiredPlugins` list from the theme/plugin `about.json` file,
and only loads the listed plugins. This means that the environment is
much more consistent across CI and different development environments.

Alongside that change, this commit also:

- Starts storing the original `about.json` for themes in the database

- Improves qunit error handling when the test environment fails to boot
(e.g. there's a bad import in a plugin)

- Restores plugin CSS in theme qunit tests
2025-07-21 21:00:48 +01:00
..
admin/assets/javascripts DEV: Load admin JS bundles from plugins for staff users (#33540) 2025-07-10 07:39:11 +03:00
app DEV: Improve separation of core and plugin CI (#33583) 2025-07-14 14:28:30 +02:00
assets UX: show chat in plugin list (#33735) 2025-07-21 12:01:42 -04:00
config Update translations (#33619) 2025-07-15 13:17:12 -04:00
db FEATURE: One-click chat reaction settings (#32150) 2025-04-04 09:15:13 +02:00
lib DEV: add channel hashtag style type (#33284) 2025-06-20 10:04:36 +04:00
public
spec DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
test/javascripts REFACTOR: consolidate empty states, add invite variant (#33455) 2025-07-09 12:34:04 -04:00
about.json DEV: Only load specific plugin bundles during qunit test (#33678) 2025-07-21 21:00:48 +01:00
plugin.rb FEATURE: One-click chat reaction settings (#32150) 2025-04-04 09:15:13 +02: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.