feat(uploads): redesign file-attachment composer UI (LC-500) #463
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/LC-500-file-composer-ui"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Bring the file-upload/attachment composer UI up to the quality of the redesigned voice composer (LC-499). Frontend + a small backend thread; no new routes/data.
Changes
.lc-recpreviewvoice card.__lcUploadBusy); upload error with a Retry that re-sends the same file.max_upload_bytesis threaded to the composer (shareddb::settings::max_upload_bytes) so the client check matches the operator's cap.Attachment::human_size.Flags (not built)
file_idand a message maps to one upload; multi-attach needs a schema/handler change. Left as a separate larger task.Tests
just check,just test,just test-saasall green (ran check last). Allowed types confirmed againstuploads::allowed_ext_for_mime(JPEG/PNG/GIF/WebP/PDF). Frontend behavior (the composer JS) can't be exercised headlessly here (SSO-only login), so it was verified by build/check/tests + code review against the voice-composer quality bar.Verify
just verifybuilds the release binary clean; boot fails only on the missing SSO env (environmental, as in prior PRs).