discourse/app/assets/javascripts
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
..
admin FEATURE: allow admins to enable announced experimental features (#29244) 2024-10-22 10:56:58 +11:00
custom-proxy Build(deps-dev): Bump express from 4.21.0 to 4.21.1 (#29134) 2024-10-09 01:07:01 +02:00
deprecation-silencer DEV: Reformat package.json files (#28733) 2024-09-04 21:14:13 +02:00
dialog-holder Build(deps): Bump ember-template-imports from 4.1.2 to 4.1.3 (#29146) 2024-10-09 23:41:00 +02:00
discourse DEV: Improvements to auto grid images (#29317) 2024-10-22 06:53:09 -07:00
discourse-common Build(deps): Bump the babel group with 2 updates (#29165) 2024-10-11 00:29:53 +02:00
discourse-hbr DEV: Reformat package.json files (#28733) 2024-09-04 21:14:13 +02:00
discourse-i18n DEV: Reformat package.json files (#28733) 2024-09-04 21:14:13 +02:00
discourse-markdown-it Build(deps): Bump ember-auto-import from 2.8.0 to 2.8.1 (#28982) 2024-09-30 14:06:20 +02:00
discourse-plugins Build(deps): Bump the babel group with 2 updates (#29165) 2024-10-11 00:29:53 +02:00
discourse-widget-hbs Build(deps): Bump the babel group with 2 updates (#29165) 2024-10-11 00:29:53 +02:00
docs
ember-addons
ember-cli-progress-ci PERF: Improve production JS build in low-memory environments (#26849) 2024-05-02 11:43:59 +01:00
ember-production-deprecations DEV: Update ember-cli-deprecation-workflow from 2.2.0 to 3.0.1 (#28226) 2024-08-07 17:59:42 +02:00
float-kit UX: DMenu modal add grip and min-height (#29309) 2024-10-22 11:22:20 +11:00
locales FEATURE: Add Uyghur language (#27183) 2024-05-27 09:58:18 +02:00
pretty-text Build(deps): Bump the babel group with 2 updates (#29165) 2024-10-11 00:29:53 +02:00
select-kit DEV: Convert topic-notifications-button to gjs (#29237) 2024-10-21 17:34:56 +02:00
theme-transpiler Build(deps): Bump terser from 5.34.1 to 5.36.0 (#29242) 2024-10-16 23:41:58 +02:00
truth-helpers Build(deps): Bump ember-auto-import from 2.8.0 to 2.8.1 (#28982) 2024-09-30 14:06:20 +02:00
.npmrc
handlebars-shim.js
polyfills.js
service-worker.js.erb DEV: Drop workbox dependency (#26735) 2024-04-24 10:19:12 +01:00