3 Commits
Author SHA1 Message Date
Dat Dang c36ccffc96 TF-4728 Sentry logging drive attachment failure (#4776) 2026-08-28 17:03:51 +07:00
Dang Dat b9e2802724 TF-4728 Keep in-flight uploads across an attachment refresh
Problem: saving a draft while a drive transfer is waiting rebuilds the attachment
list from the server response, which has no entry for a chip that has no blob yet.
The chip and its cancel token are dropped while the request keeps running, so a
late success has nothing to resolve and the attachment disappears.
Decision: carry not-yet-completed states through the refresh instead of filtering
the server response, so the rule holds for any pending upload, not just drive.

Addresses: 3859504637
https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3859504637
2026-08-26 17:26:59 +07:00
Dang DatandCursor 66e18c5d43 TF-4728 Drive picker jmap implementation
review-comment: 3826784554

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3826784554

review-comment: 3826964437

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3826964437

review-comment: 3827029379

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3827029379

review-comment: 3827067099

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3827067099

review-comment: 3827112203

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3827112203

review-comment: 3827153966

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3827153966

review-comment: 3828671202

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3828671202

review-comment: 3828857602

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3828857602

review-comment: 5391955302

https://github.com/linagora/tmail-flutter/pull/4767#issuecomment-5391955302

review-comment: 3841473359, 3841484408

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3841473359

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3841484408

review-comment: 3841580769

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3841580769

review-comment: 3841909306

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3841909306

fixup! TF-4728 Drive picker jmap implementation

Fixes toast suppression regression surfaced by the test added in
81b6e05faf63aecf81ae4e97980f9e48bb67e916
https://github.com/linagora/tmail-flutter/commit/81b6e05faf63aecf81ae4e97980f9e48bb67e916

Claude-Session: https://claude.ai/code/session_01H7h265h6rRmMivviyMbNVh

review-comment: 3842242663

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3842242663

review-comment: 3842324987

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3842324987

review-comment: 3842341155

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3842341155

review-comment: 3842447793

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3842447793

review-comment: 3842492984

https://github.com/linagora/tmail-flutter/pull/4767#discussion_r3842492984

(test) some edge cases for concurrency runner

(test) mixed pick should toast when transfer cannot start

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 17:26:59 +07:00