discourse/app
Keegan George cf44502cdf
DEV: Improvements to auto grid images (#29317)
This PR is a follow-up to ea1473e532. When we initially added the experimental feature for automatically adding `[grid]` to images, we add the [grid] surrounding images after all the uploads have been completed.

This can lead to confusion when `[grid]` is delayed to be added in the composer, as users may try to add grid manually leading to breakage. This also leads to issues with Discourse AI's automatic image caption feature.

**In this PR**: we simply move the logic to be added when the images are uploaded and processing. This way, `[grid]` surrounding images is added immediately. We also apply a fix for an edge-case to prevent images from being wrapped in `[grid]` when they are already inside `[grid]` tags.
2024-10-22 06:53:09 -07:00
..
assets DEV: Improvements to auto grid images (#29317) 2024-10-22 06:53:09 -07:00
controllers FEATURE: Revive legacy pageview reports (#29308) 2024-10-22 10:06:22 +10:00
helpers DEV: Drop WithServiceHelper 2024-09-05 09:58:20 +02:00
jobs DEV: Remove logical OR assignment of constants (#29201) 2024-10-16 10:09:07 +08:00
mailers UX: Use a dropdown for SSL mode for group SMTP (#27932) 2024-07-18 10:33:14 +10:00
models FIX: Avoid duplicate problem admin notices (#29329) 2024-10-22 11:17:27 +08:00
serializers FEATURE: auto_action_type field for flags (#29306) 2024-10-22 10:56:31 +11:00
services FEATURE: allow admins to enable announced experimental features (#29244) 2024-10-22 10:56:58 +11:00
views DEV: remap all core icons for fontawesome 6 upgrade (#28715) 2024-09-13 16:50:52 +01:00