discourse/plugins/chat/spec
Joffrey JAFFEUX bbb8595107
PERF: defer loading channels (#26155)
Prior to this change we would pre-load all the user channels which making initial page load slower. This change will make them be loaded right after initial load. In the past this was not possible as the channels would have to be loaded on each page transition. However since about a year, we made the channels to be cached on the frontend and no other request will be needed.

I have decided for now to not show a loading state in the sidebar as I think it would be noise, but we can reconsider this later.

Note given we don't have the channels loaded at first certain things where harder to accomplish. The biggest UX change of this commit is that we removed all the complex logic of computing the best channel to display when you load /chat. We will now store the id of the last channel you visited and will use this id to decide which channel to show.
2024-03-18 08:35:07 +01:00
..
components/chat DEV: Modifier for Chat::Mailer to skip summary email for users (#26011) 2024-03-04 09:21:02 -06:00
fabricators DEV: chat streaming (#25736) 2024-02-20 09:49:19 +01:00
integration FIX: correctly shows as disabled a user who can't chat (#26010) 2024-03-05 09:13:42 +01:00
jobs DEV: Add push notification filtering to MessageBus alerts (#25965) 2024-02-29 12:49:46 -06:00
lib FEATURE: Allow site settings to be edited throughout admin UI (#26154) 2024-03-18 08:50:39 +10:00
mailers DEV: Remove full group refreshes from tests (#25414) 2024-01-25 14:28:26 +08:00
models DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
policies/chat/channel DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
queries/chat FIX: allows to query a username made of integers (#25815) 2024-02-22 14:53:47 +01:00
requests PERF: defer loading channels (#26155) 2024-03-18 08:35:07 +01:00
serializer FIX: correctly shows as disabled a user who can't chat (#26010) 2024-03-05 09:13:42 +01:00
services PERF: defer loading channels (#26155) 2024-03-18 08:35:07 +01:00
support FIX: add status to channel membership serializer (#25906) 2024-02-27 18:23:59 +08:00
system PERF: defer loading channels (#26155) 2024-03-18 08:35:07 +01:00
validators COPY: secure media -> secure uploads (#24643) 2023-11-30 14:58:55 +10:00
plugin_helper.rb FEATURE: implements drafts for threads (#24483) 2023-11-22 11:54:23 +01:00
plugin_spec.rb PERF: defer loading channels (#26155) 2024-03-18 08:35:07 +01:00