5cce829901
This commit moves message lookup and querying to the /chat/api/channel/:id endpoint and adds the ability to query the tracking state overview for threads as well as the threads and thread tracking state for any thread original messages found. This will allow us to get an initial overview of thread tracking for a user when they first enter a channel, rather than pre-emptively loading N threads and tracking state for those across all channels on the current user serializer, which would be expensive. This initial overview will be used in subsequent PRs to flesh out the thread unread indicators in the UI. This also moves many chunks of code that were in services to reusable Query classes, since use of services inside services is discouraged. |
||
---|---|---|
.. | ||
app | ||
assets | ||
config | ||
db | ||
lib | ||
public | ||
spec | ||
test/javascripts | ||
README.md | ||
plugin.rb |
README.md
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.