discourse/plugins/chat/spec
David Battersby 8b46dc8bb5
FEATURE: Add thumbnails for chat image uploads (#24328)
Introduces the concept of image thumbnails in chat, prior to this we uploaded and used full size chat images within channels and direct messages.

The following changes are covered:
- Post processing of image uploads to create the thumbnail within Chat::MessageProcessor
- Extract responsive image ratios into CookedProcessorMixin (used for creating upload variations)
- Add thumbnail to upload serializer from plugin.rb
- Convert chat upload template to glimmer component using .gjs format
- Use thumbnail image within chat upload component (stores full size img in orig-src data attribute)
- Old uploads which don't have thumbnails will fallback to full size images in channels/DMs
- Update Magnific lightbox to use full size image when clicked
- Update Glimmer lightbox to use full size image (enables zooming for chat images)
2023-12-06 14:59:18 +08:00
..
components/chat FEATURE: add grace period for chat edits (#23800) 2023-10-23 16:40:30 +08:00
fabricators DEV: uses alphanumeric to avoid flakey specs (#24344) 2023-11-13 14:54:26 +01:00
integration DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
jobs DEV: Fix chat notifier deprecation warnings from job arguments (#24708) 2023-12-05 18:03:30 +08:00
lib FIX: Multiple nested threads and duplicated messages in chat transcripts (#24685) 2023-12-04 12:43:04 -03:00
mailers FIX: correctly uses private_email site setting in chat (#24528) 2023-11-23 15:54:22 +01:00
models DEV: Modernise highlightjs loading (#24197) 2023-11-10 20:39:48 +00:00
policies/chat/channel DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
queries/chat DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
requests DEV: removes dead code (message_link) (#24648) 2023-11-30 11:13:37 +01:00
serializer DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
services FIX: leaving a group channel should destroy membership (#24631) 2023-11-29 17:48:14 +01:00
support FEATURE: introduces group channels (#24288) 2023-11-10 11:29:28 +01:00
system FEATURE: Add thumbnails for chat image uploads (#24328) 2023-12-06 14:59:18 +08: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 COPY: secure media -> secure uploads (#24643) 2023-11-30 14:58:55 +10:00