669 Commits
Author SHA1 Message Date
Dat Vu 746ebe8a23 TF-4363 [Thread] Display by collapsed thread in search (#4364) 2026-04-23 18:20:10 +07:00
Dat Dang b18813a096 Patrol web POC (#4450)
* Patrol POC add UIKeys to production widgets for web testability

Add semantic UIKeys to composer widgets, login controller, mailbox
dashboard, thread view, and web finger extension to enable reliable
widget targeting in Patrol web integration tests.

* Patrol POC add web login and send email Patrol integration test scenarios

Add web-specific test scenarios (login with basic auth, send email),
a new web_send_email_test entry point, and a web tag in TestTags.
Update test_base, requires_login_mixin, composer_robot, and
thread_robot to support web platform.

* Patrol POC add Patrol web integration test workflow and scripts

Add GitHub Actions workflow for running Patrol web integration tests.
Add patrol-web-integration-test-with-docker.sh and
patrol-web-local-integration-test-with-docker.sh scripts.
Minor fix to patrol-local-integration-test-with-docker.sh.

* Patrol POC update gitignore and web/index.html for Patrol web support

* poc: implement cross-platform robot factory architecture

Introduces Abstract Factory + conditional export infrastructure from
ADR-0081. Platform selection resolved at compile time via dart.library.html
— no if/else in any logic class.

New structure:
- factories/: RobotFactory, Mobile/WebRobotFactory, conditional provider
- robots/abstract/: AbstractLogin/Thread/ComposerRobot interfaces
- robots/mobile/: thin wrappers over existing robots
- robots/web/: WebComposerRobot overrides addContent for web
2026-04-21 14:34:47 +07:00
dab246 660c4f40e2 TF-4301 Address code review comments on label feature
- Make LabelModalMixin interactor getters non-nullable; remove force-unwraps at call sites
- Show positiveLabel and add semanticLabel in progressing button for accessibility
- Use timestamp-based label name in E2E scenario to prevent flakiness on reused accounts
- Guard labelAs action with isLabelAvailable check in SingleEmailController
- Don't pop back on label creation failure so users can retry without losing context
- Block modal dismissal while label creation request is in flight
- Null-guard email.id before toggling label in ThreadView::onCreateANewLabelAction
- Log stackTrace and rethrow in DialogRouter to distinguish errors from user cancel
2026-04-17 11:58:53 +07:00
dab246 232987ae0c TF-4301 Extract onMoreActionClick callback into dedicated method in ThreadView 2026-04-17 11:58:53 +07:00
dab246 190ccc7bc3 TF-4301 Add "Create a new label" button in Label As menus and wire up tagging in email view 2026-04-17 11:58:53 +07:00
Dat Vu c5eb4a011d Cherry pick commit fix issue #4292 to master (#4454)
* Add folder info when open mail list from Label

(cherry picked from commit de0bb4ee02)

* Add unit test for `hasMailboxLabel` function in BaseEmailItemTile mixin

(cherry picked from commit 18f8d1847a)

* TF-4292 Add E2E test for test case `Add folder info when open mail list from Label` on mobile

(cherry picked from commit 1c209e3335)
2026-04-16 15:45:45 +07:00
Dat Dang 6fc88f780c TW-4308 Add labels for several messages part 2 (#4431)
Add ChooseLabelModal, delegate, and update label UI components

Wire add-labels action across Thread, Search, and Dashboard
2026-04-15 14:25:37 +07:00
Dang Dat 77c2ef745f TF-4308 add domain state, interactor, model extensions, and localization 2026-04-14 17:16:10 +07:00
Dat Vu c9e2e5db80 TF-4358 Remove mail in trash by default in search result (#4361) 2026-04-10 15:15:53 +07:00
Dat Dang 61530b61c6 Reduce worker_manager memory allocation (#4435) 2026-04-09 18:26:19 +07:00
Dat Vu 20f59da386 TF-4425 Fix load more not triggered on iOS 18 when fast scrolling to bottom (#4428) 2026-04-08 10:06:49 +07:00
dab246 82eb6b7d06 fixup! TF-4392 [Team Mailbox] Hide Recover deleted messages and Archive message in team mailbox 2026-04-01 18:08:12 +07:00
dab246 7cc9cd82fa TF-4392 [Team Mailbox] Hide Recover deleted messages and Archive message in team mailbox 2026-04-01 18:08:12 +07:00
dab246 beb323874b TF-4392 [Team Mailbox] Auto save draft email team mailbox when edit 2026-04-01 18:08:12 +07:00
dab246 c2772e7ab5 TF-4392 [Team Mailbox] Move email to trash on delete in Email Detailed View 2026-04-01 18:08:12 +07:00
dab246 db8ae35c9d TF-4392 [Team Mailbox] Move email to trash on delete in Email List View 2026-04-01 18:08:12 +07:00
dab246 432c482155 feat: Re-use AddLabelToEmailMixin for logic add label to email in EmailView 2026-03-27 14:07:21 +07:00
dab246 f4ae94d47b feat: Apply EmailMoreActionContextMenu mixin for ThreadView and SearchEmailView 2026-03-27 14:07:21 +07:00
dab246 0d0efdcf96 feat: Add EmailMoreActionContextMenu mixin to handle action email 2026-03-27 14:07:21 +07:00
dab246 ff4515c26a feat: Add Label as to context menu for each email item in list 2026-03-27 14:07:21 +07:00
Dat Vu 8a9901a0a4 TF-4384 Fix page not found 404 error when refreshing label views (#4390) 2026-03-21 17:23:18 +07:00
dab246 651115c304 TF-4368 Auto trigger load more when get all email return < 20 emails 2026-03-20 10:15:13 +07:00
dab246 2d19bc908d TF-4368 Add more log trace for getAllEmail & forceQueryAllEmailsForWeb 2026-03-20 10:15:13 +07:00
dab246 9854592a4c TF-4368 Add more log trace for load more email 2026-03-20 10:15:13 +07:00
dab246 cdc7d711f5 TF-4368 Add log to tracing refresh change emails on Sentry 2026-03-20 10:15:13 +07:00
dab246 a28d5b3527 TF-4368 Fix cannot scroll in email list 2026-03-20 10:15:13 +07:00
dab246 8a21e35d1e fix: Prefer reusing AppBaseException instead of redefining the exception contract CacheException and RemoteException 2026-03-10 11:06:16 +07:00
dab246 2e8a11e7eb refactor(sentry): standardize exceptions to prevent Sentry minification 2026-03-10 11:06:16 +07:00
dab246 9c211c05ef feat: Auto sync label from web socket 2026-03-05 10:32:56 +07:00
Dat Vu 1c1d50a9d2 Fix email list does not automatically refill after bulk delete (#4323) 2026-02-12 16:02:12 +07:00
Dat Vu 87115ed5a5 TF-4314 Fix unread emails disappear blink (#4316) 2026-02-09 23:53:42 +07:00
Dat Dang 342d2f295a TF-4282 Fix sort of web search suggestion (#4289) 2026-01-30 11:19:27 +07:00
dab246 18d9a47431 TF-4274 Avoid clearing all caches on refresh for non‑web platforms 2026-01-29 18:00:36 +07:00
dab246 b3e5ab0df4 fix(cnb): skip local email cache and add safe email/state cache clearing
(cherry picked from commit 0e7f589df5)
2026-01-29 18:00:36 +07:00
dab246 9d4f6e73d2 fix(cnb): Cannot clear email state cache when reload page
(cherry picked from commit a901206a78)
2026-01-29 18:00:36 +07:00
dab246 f89bfaca74 Ignore cache if it failed and write unit test for forceEmailQuery = true
(cherry picked from commit 0549680682)
2026-01-29 18:00:36 +07:00
dab246 74abbc47ab fix(cnb): delete email and state cache when F5 or reload button
(cherry picked from commit 520cd6c82f)
2026-01-29 18:00:36 +07:00
dab246 5cbf189ffe fix(cnb): use Email/query + Email/get when switch mailbox and reload the email list
(cherry picked from commit 9444d8d28a)
2026-01-29 18:00:36 +07:00
dab246 fe57e72a02 TF-4236 Apply BatchSetEmailProcessingMixin for some method use SetEmailMethod 2026-01-27 12:04:11 +07:00
dab246 a05a28700a TF-4236 Fix partial-update validation for thread label ops. 2026-01-27 12:04:11 +07:00
dab246 3ef66bbbda TF-4236 Implement remove a label from an email when unselect in context menu Label as 2026-01-27 12:04:11 +07:00
dab246 e6ead11df1 TF-4272 Fix replace == to = 2026-01-27 11:06:08 +07:00
dab246 cc8ba39d19 TF-4229 Add integration test on mobile for case search_email_with_tag_scenario 2026-01-22 10:54:04 +07:00
dab246 7839e6b339 TF-4229 Add widget for label search field 2026-01-22 10:54:04 +07:00
dab246 0805f5c123 TF-4227 Cannot load more emails with Label 2026-01-19 11:34:43 +07:00
dab246 f54250eb26 TF-4227 Fix conflict with master branch 2026-01-19 11:34:43 +07:00
dab246 56aa776a25 TF-4227 Delete extra lines 2026-01-19 11:34:43 +07:00
dab246 00ce5b4a1f TF-4227 Hide the "Scroll to top" button when there are no emails to load. 2026-01-19 11:34:43 +07:00
dab246 ca35924a5f TF-4227 Hide the "Loading More" button when there are no more emails to load. 2026-01-19 11:34:43 +07:00
dab246 0e012d0338 TF-4227 Handle message filter action when open Label view 2026-01-19 11:34:43 +07:00