discourse/plugins/chat/spec
Joffrey JAFFEUX 111ac4c7f2
FIX: call composer reset with correct params (#21777)
We were calling reset without the proper params which was causing errors in the console. This commit does the following changes:

- ensures `composer.cancel()` is the only way to cancel editing/reply
- adds a `draftSaved` property to chat message to allow for better tests
- writes a spec to ensure the flow is correct
- adds more page objects for better tests
- homogenize the default state of objects on chat message

Co-authored-by: Martin Brennan <martin@discourse.org>
2023-05-30 18:37:30 +02:00
..
components/chat FIX: Create original message user thread membership (#21808) 2023-05-29 17:37:17 +02:00
fabricators DEV: various improvements to devex on chat (#21612) 2023-05-17 17:49:52 +02:00
integration FEATURE: Reintroduce better thread reply counter cache (#21197) 2023-04-24 09:32:04 +10:00
jobs DEV: Fix plugin:spec task return code (#21661) 2023-05-19 16:17:02 +02:00
lib DEV: Add policy objects to services 2023-05-25 12:34:00 +02:00
mailers DEV: fix and enable flaky specs (#21753) 2023-05-30 14:25:14 +04:00
models FIX: N+1 query for chat message serializer on mentions (#21767) 2023-05-26 12:44:03 +02:00
queries/chat FIX: auto fill was not happening on first load (#21809) 2023-05-29 17:34:44 +02:00
requests DEV: Remove old ChatController routes for messages & lookup (#21723) 2023-05-29 09:37:10 +02:00
serializer DEV: Fix plugin:spec task return code (#21661) 2023-05-19 16:17:02 +02:00
services FIX: Page size edge case for null last_read_message_id (#21811) 2023-05-29 20:12:01 +02:00
support DEV: Fix plugin:spec task return code (#21661) 2023-05-19 16:17:02 +02:00
system FIX: call composer reset with correct params (#21777) 2023-05-30 18:37:30 +02:00
validators DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
plugin_helper.rb FEATURE: Thread list initial UI (#21412) 2023-05-10 11:42:32 +02:00
plugin_spec.rb UX: update chat icon to d-chat (#20744) 2023-03-21 10:40:42 -04:00