Commit Graph
705 Commits
Author SHA1 Message Date
Dat H. Pham e6b0b3fbed List each thread once when a folder loads more with thread view on (#5017) 2026-10-28 09:44:22 +07:00
Benoit TELLIERandClaude Opus 5.5 0d2b8cdad7 Only force auto-load-more on a short first page when threads are collapsed
A first Email/query page shorter than the limit means the mailbox is
exhausted unless collapseThreads is on. Forcing canLoadMore whenever the
list did not fill the viewport sent a useless 'before' Email/query on
every open or refresh of a small folder.

Closes #4943

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 14:57:03 +07:00
Dang Dat 2e1999b48d TF-4837 Drop no-op selection-list reorder, add category order test
Addresses: 4080696459, 4080696465
https://github.com/linagora/tmail-flutter/pull/4852#discussion_r4080696459
https://github.com/linagora/tmail-flutter/pull/4852#discussion_r4080696465
2026-09-24 14:33:11 +07:00
Dang Dat fb90a6e117 TF-4837 Reorder trash section email menu 2026-09-24 14:33:11 +07:00
Dat Vu e6c6e5759a fix: restore legacy icons for mailbox actions (#4807) 2026-09-04 10:44:33 +07:00
dab246 a4d5ee51fd TF-4678: fix mailbox sidebar and icon behavior 2026-08-26 10:12:55 +07:00
dab246 0fad00feaa refactor(search): centralize visible email state sync 2026-08-21 14:47:03 +07:00
dab246 a9fa13e77f test(search): add e2e test for responsive action state sync 2026-08-21 14:47:03 +07:00
Huy Quang Nguyen b4b73554ed TF-4744: Inherit typography from design system TwakeInter (#4749) 2026-08-14 14:33:17 +07:00
dab246 6a3ba5f6ef Extract RouteUtils.dashboardBrowserRouteTitle, fix reconcile idle no-op, expose searchLayoutCoordinator @visibleForTesting, use selectedMailboxForDisplay in quick search 2026-08-10 16:22:45 +07:00
dab246 e5f5e16c4e Fix search result/state leaks: resize & system-back restore, search URL labelId 2026-08-10 16:22:45 +07:00
dab246 870169098a Remove unused imports in ThreadController and thread_controller_test 2026-08-10 16:22:45 +07:00
dab246 6e81ddf1d5 Add SearchLayoutCoordinator to hand off the search list across web breakpoints 2026-08-10 16:22:45 +07:00
Dat Vu f50b765378 TF-4647 SSOT Part 6— Wire dashboard filter into search SSOT & remove position (#4714) 2026-08-10 16:22:45 +07:00
Dat Vu e1033744a1 TF-4646 SSOT Part 5.2 — PR 3 — Retire the last web-search Obx/memory state to Riverpod (#4707) 2026-08-10 16:22:45 +07:00
Dat Vu 42053d2200 TF-4646 SSOT Part 5.1 — PR 2 — Route web results through the central executor + search SSOT (#4706) 2026-08-10 16:22:45 +07:00
Dat H. Pham 990b86ce08 fix: handle yield* error inside interactor (#4721) 2026-07-27 14:07:32 +07:00
Dat Vu 2c579e3d0a [Cherry-pick v0.29.x → master] Fix some issue search (#4651) 2026-06-30 11:42:41 +07:00
Dat Dang 6c94ce71dc Refactor: Dynamic email headers (#4620) 2026-06-26 16:48:28 +07:00
dab246 7d9fd4b6b5 TF-4479 Add integration tests for clear trash subfolders
Signed-off-by: dab246 <tdvu@linagora.com>
2026-06-22 15:11:40 +07:00
dab246 dcdf58a3d2 refactor: extract EmptyTrashConfirmationDialog, MapMailboxByIdExtension and appToastProvider 2026-06-15 12:06:07 +07:00
dab246 4f2831f167 refactor: extract UrgentExceptionHandler as abstract interface 2026-06-15 12:06:07 +07:00
Dat Dang bd1e722977 TF-4429 Update label selection in search (#4572) 2026-06-12 17:15:04 +07:00
dab246 6db72c0c03 refactor: move Riverpod providers to correct architecture layers 2026-06-10 19:25:01 +07:00
dab246 f28551f19d refactor: migrate LocalSettingsNotifier from StateNotifier to @riverpod Notifier 2026-06-10 19:25:01 +07:00
Dat H. Pham 426b166ce9 fix: bound Email/changes pagination to stop self-inflicted request storm (#4582) 2026-06-04 13:47:09 +07:00
dab246 880dbeb521 fix: handle collapseThreads partial-page in auto-load-more 2026-05-27 16:10:47 +07:00
dab246 b978c7980b fix: add more test case for load more
Signed-off-by: dab246 <tdvu@linagora.com>
2026-05-27 16:10:47 +07:00
dab246 9a11b23ba9 Extract AutoLoadMorePolicy 2026-05-27 16:10:47 +07:00
dab246 2f22b08ce8 Fix auto-load-more over-trigger on web large-screen browser
Extract shouldAutoLoadMoreByEstimatedHeight as a testable static method
and use strict < instead of <= so an estimated height equal to the
viewport no longer triggers a redundant load — actual rendered height
is likely larger than the 40 px estimate and already overflows.
2026-05-27 16:10:47 +07:00
dab246 f7b5e76d5c Fix auto-load-more infinite loop on non-web large screens
Use maxScrollExtent <= 0 instead of maxScrollExtent <= viewportDimension
so auto-load only triggers when the list has not yet filled the viewport.
Also set canLoadMore based on page-size comparison to avoid showing the
Load More button when the server has returned the final partial page.
2026-05-27 16:10:47 +07:00
Dat Dang 0ddbce9065 TF-4426 Add warning when detect reject rule filter (#4536) 2026-05-22 14:15:23 +07:00
Dat Vu 77fb2f2deb TF-4400 Enable collapse threads on Force Query path (#4422) 2026-05-19 13:33:18 +07:00
Dat Vu 54ffff4e1d Hotfix: Second Save as Draft Fails for Draft Emails with Attachments or Inline Images (#4505) 2026-05-14 17:11:45 +07:00
amghirbiandCopilot 44ac4be7ab fiixup : aiActionTag should have margin
Co-authored-by: Copilot <copilot@github.com>
2026-05-11 11:55:12 +07:00
amghirbiandCopilot b5a8f5fa72 fix: needs action widget should be inside the aiActionTag
Co-authored-by: Copilot <copilot@github.com>
2026-05-11 11:55:12 +07:00
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