discourse/plugins/chat
Joffrey JAFFEUX 92797109ba
DEV: uses container resize event instead of mutation (#20757)
This commit takes advantage of the `ResizeObserver` to know when dates should be re-computed, it works like this:

```
scrollable-div
--  child-enclosing-div with resize observer
---- message 1
---- message 2
---- message x
```

It also switches to bottom/height for date separators sizing, instead of bottom/top, it prevents a bug where setting the top of the first item (at the top) would cause scrollbar to move to top.

<!-- 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. -->
2023-03-21 11:30:32 +01:00
..
app DEV: Rough chat message loading and posting in thread (#20579) 2023-03-21 15:29:10 +10:00
assets DEV: uses container resize event instead of mutation (#20757) 2023-03-21 11:30:32 +01:00
config DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
db DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
lib DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
public
spec UX: disables composer auto focus on drawer (#20751) 2023-03-20 22:24:12 +01:00
test/javascripts DEV: uses container resize event instead of mutation (#20757) 2023-03-21 11:30:32 +01:00
plugin.rb DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01: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.