discourse/plugins/chat/app
Joffrey JAFFEUX 40ce619edd
DEV: uses in: {} with lambda to work with eager_load (#25039)
When validating with a dynamic set of values, especially one that might change during runtime, we should use a lambda or a proc to ensure that the validation uses the most up-to-date set of values. This is particularly important when using config.eager_load = true, which can cause some elements to be loaded only once at startup, thus not reflecting changes made at runtime.

This was the root cause of the issues here, as we were adding more ReviewableScore types after initial load through: `register_reviewable_type Chat::ReviewableMessage`
2023-12-29 12:45:07 +08:00
..
controllers/chat FEATURE: my threads page (#24771) 2023-12-11 07:38:07 +01:00
helpers/chat FEATURE: Mark all chat channels read with a shortcut (#20629) 2023-03-22 13:24:07 +10:00
jobs DEV: Allow chat mentions to have several notifications (#24874) 2023-12-19 18:53:00 +04:00
models DEV: Allow chat mentions to have several notifications (#24874) 2023-12-19 18:53:00 +04:00
policies DEV: Migrate Chat::MessageCreator to a service (#22390) 2023-09-07 08:57:29 +02:00
queries/chat FEATURE: introduces group channels (#24288) 2023-11-10 11:29:28 +01:00
serializers/chat FEATURE: my threads page (#24771) 2023-12-11 07:38:07 +01:00
services DEV: uses in: {} with lambda to work with eager_load (#25039) 2023-12-29 12:45:07 +08:00
validators/chat DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
views FIX: correctly uses private_email site setting in chat (#24528) 2023-11-23 15:54:22 +01:00