feat(attachments): real upload progress via XHR; SDK 0.1.17 picker

Both adapters uploaded with fetch(), which has no upload-progress event — so the
new picker's progress bar could only ever have been indeterminate. putWithProgress
does the presigned PUT over XHR and reports true byte progress; when a server
sends no content-length the fraction is withheld rather than guessed, and the bar
falls back to indeterminate.

Picks up the attachment picker, the Gmail-style Compose button, and the mail
reply row fix.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-29 12:54:19 +05:30
parent 3f6a5b9b1f
commit 7221bec250
5 changed files with 50 additions and 11 deletions
+4 -4
View File
@@ -12,7 +12,7 @@
"@huggingface/transformers": "^4.2.0",
"@imgly/background-removal": "^1.7.0",
"@insignia/iios-kernel-client": "^0.1.6",
"@insignia/iios-messaging-ui": "^0.1.16",
"@insignia/iios-messaging-ui": "^0.1.17",
"@photo-gallery/sdk": "file:./vendor/photo-gallery-sdk",
"@tensorflow-models/coco-ssd": "^2.2.3",
"@tensorflow/tfjs": "^4.22.0",
@@ -1110,9 +1110,9 @@
}
},
"node_modules/@insignia/iios-messaging-ui": {
"version": "0.1.16",
"resolved": "https://git.lynkedup.cloud/api/packages/insignia/npm/%40insignia%2Fiios-messaging-ui/-/0.1.16/iios-messaging-ui-0.1.16.tgz",
"integrity": "sha512-z7bpoN6pA6lGS5w/Ckusc6U7uFmHo/8+nGqvsJlpJ/i6d+87VyK3X2C8CWrwfHNXLrjQAiiID7GKEs02kEGmjA==",
"version": "0.1.17",
"resolved": "https://git.lynkedup.cloud/api/packages/insignia/npm/%40insignia%2Fiios-messaging-ui/-/0.1.17/iios-messaging-ui-0.1.17.tgz",
"integrity": "sha512-pob/ldsvloFZ15BUyDyVdZb34MYQrH6aFAV27tleTgaJhnOeDf4HlJe19ftpW8S/h2TNhFMRhv6eOnYRLzEtxQ==",
"peerDependencies": {
"@insignia/iios-kernel-client": "*",
"react": ">=18",