multica/apps/web/features
Naiyuan Qing 7cc4e63e0e fix(editor): unify image upload flow for paste and button
Paste/drop and attachment button previously used separate upload paths.
The button uploaded first then called insertFile (which replaced the
current selection), while paste inserted a blob preview first. This
caused the second image to overwrite the first when both were used.

Now both paths share the same flow via uploadAndInsertFile():
blob preview with uploading animation → background upload → replace URL.

- Extract shared uploadAndInsertFile() function
- Replace insertFile ref method with uploadFile (inserts at doc end)
- Simplify FileUploadButton to onSelect(file) — no more onUpload/onInsert
- Wire onUploadFile in comment edit mode (was missing, upload was no-op)
- Unify image border-radius CSS for both editing and readonly modes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 18:02:28 +08:00
..
auth feat(web): redirect logged-in users from / to /issues via server-side proxy 2026-04-01 18:20:57 +08:00
inbox feat(web): add skeleton loading, error toasts, and confirmation dialogs 2026-04-02 16:46:56 +08:00
issues fix(editor): unify image upload flow for paste and button 2026-04-02 18:02:28 +08:00
landing docs(web): add v0.1.4 changelog entry for 2026-04-01 2026-04-02 00:24:04 +08:00
modals fix(editor): unify image upload flow for paste and button 2026-04-02 18:02:28 +08:00
my-issues feat(web): add skeleton loading, error toasts, and confirmation dialogs 2026-04-02 16:46:56 +08:00
navigation feat(ui): route persistence, sidebar active fix, header spacing 2026-03-26 10:57:32 +08:00
realtime feat(web): add skeleton loading, error toasts, and confirmation dialogs 2026-04-02 16:46:56 +08:00
runtimes feat(web): add skeleton loading, error toasts, and confirmation dialogs 2026-04-02 16:46:56 +08:00
skills feat(web): add skeleton loading, error toasts, and confirmation dialogs 2026-04-02 16:46:56 +08:00
workspace feat(web): add skeleton loading, error toasts, and confirmation dialogs 2026-04-02 16:46:56 +08:00