Commit Graph

4 Commits

Author SHA1 Message Date
Kunthawat Greethong
73cce1b593 Add debug logging to media browser fetch
Log response status, raw data, and item count to diagnose
why uploaded images don't appear in media browser grid.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-04 09:51:08 +07:00
Kunthawat Greethong
2d77509f76 Fix saveField to properly reject on failure
Previously when the content API returned a non-ok response,
saveField would set error state but still resolve the promise.
This caused downstream code to think save succeeded when it failed.

Now properly extracts error message from response and throws.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-04 09:35:57 +07:00
2d1be52177 Emdash source with visual editor image upload fix
Fixes:
1. media.ts: wrap placeholder generation in try-catch
2. toolbar.ts: check r.ok, display error message in popover
2026-05-03 10:44:54 +07:00
78f81bebb6 Initial empty repo 2026-05-03 10:41:11 +07:00