mirror of
https://github.com/discourse/discourse.git
synced 2026-08-04 10:39:43 +08:00
When a onebox fetch fails (e.g. 404), the oneboxer never calls `onResolve`, so the ProseMirror plugin's promise hangs forever and the `onebox-loading` decoration is never cleaned up — leaving a permanently pulsing animation on the link. Calls `onResolve(null)` in the oneboxer failure path so the promise resolves Preserves `onResolve` in the 429 rate-limit re-queue (was silently dropped) Removes stale loading decorations when full onebox fetch fails Adds missing `.catch()` for inline onebox batch requests |
||
|---|---|---|
| .. | ||
| emoji | ||
| allow-lister.js | ||
| censored-words.js | ||
| emoji.js | ||
| guid.js | ||
| inline-oneboxer.js | ||
| mentions.js | ||
| oneboxer-cache.js | ||
| oneboxer.js | ||
| pretty-text.js | ||
| sanitizer.js | ||
| text-replace.js | ||
| upload-short-url.js | ||