discourse/plugins/chat
Joffrey JAFFEUX 897518e874
FIX: ensures chat panel can't have an invalid width (#27876)
Prior to this fix the following sequence would cause an overflow:

- open a thread
- expand thread panel to maximum width
- close panel
- reduce window width
- open thread again
- 💥

The fix is now ensuring that we never use or set a width which would cause the main panel + side panel to be larger than the chat container. We also removed the service as it was overkill for this case and it's easier to have all the implementation at one place.

This commit also uses JS animation api to set the width of the panel.

<!-- NOTE: All pull requests should have tests (rspec in Ruby, qunit in JavaScript). If your code does not include test coverage, please include an explanation of why it was omitted. -->
2024-07-11 20:27:30 +02:00
..
app DEV: Upgrade Rails to version 7.1 2024-07-04 10:58:21 +02:00
assets FIX: ensures chat panel can't have an invalid width (#27876) 2024-07-11 20:27:30 +02:00
config Update translations (#27790) 2024-07-09 23:12:03 +02:00
db DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
lib FIX: show group based notifications in chat summary email (#27641) 2024-07-01 12:47:38 +04:00
public
spec DEV: wait a bit for chat message to persist (#27830) 2024-07-10 16:11:50 +02:00
test/javascripts DEV: Convert some tests to qunit-dom (#27577) 2024-06-23 22:34:15 +02:00
plugin.rb FEATURE: created edit and delete flags (#27484) 2024-07-03 08:45:37 +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.