discourse/app/assets
Keegan George 1c4d5dae1c
DEV: Allow async calls to finish before removing uploads (#29918)
This PR simply moves the call to remove in progress uploads **after** the async markdown resolvers finish resolving. This is specifically for the case when markdown resolvers are async functions, such as in the case of Discourse AI's image caption feature. This ensures that the in progress upload doesn't get removed causing replace text having nothing to replace once the async call is finished.

No tests as there currently are no tests for this plugin API function, and it's a little tricky to test, especially with in progress uploads being a private property.
2024-11-25 11:10:27 -08:00
..
images
javascripts DEV: Allow async calls to finish before removing uploads (#29918) 2024-11-25 11:10:27 -08:00
stylesheets FEATURE: Add bulk destroy to admin users list (#29744) 2024-11-25 11:13:35 +03:00