Commit Graph
34 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
dab246 ea9b0d495f Cover collapseThreads on email-change refresh, including a short virtual-folder page 2026-10-20 14:57:03 +07:00
dab246 2f318eb150 Cover full-page and empty-page rows of the short-first-page auto-load-more condition 2026-10-20 14:57:03 +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
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 9ec3883c4a Record desktop ownership in _handoffToDesktop so takeDesktopSearchPresentation succeeds after mobile-to-desktop handoff 2026-08-10 16:22:45 +07:00
dab246 a9dc7bd674 Test SearchLayoutTransitionState/handoff and de-leak MailboxDashboard widget tests 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
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 Vu 77fb2f2deb TF-4400 Enable collapse threads on Force Query path (#4422) 2026-05-19 13:33:18 +07:00
Dat Vu 746ebe8a23 TF-4363 [Thread] Display by collapsed thread in search (#4364) 2026-04-23 18:20:10 +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
dab246 fedb8fed93 TF-4136 Apply early exit to prevent string operation in log 2026-01-15 09:46:51 +07:00
Dat Dang 24c6a8dbd1 HOTFIX Realtime update while searching on mobile (#3987) 2025-09-04 17:26:50 +07:00
dab246 1293c1a997 TF-3834 Implement remember user sort order after search
Signed-off-by: dab246 <tdvu@linagora.com>
2025-08-11 09:25:24 +07:00
dab246 23019ae030 Auto refresh mails when resume app from background
Signed-off-by: dab246 <tdvu@linagora.com>
2025-07-01 10:34:16 +07:00
dab246 712bc26402 TF-3507 Fix offline cache prevents updating email query view cache
Signed-off-by: dab246 <tdvu@linagora.com>
2025-04-14 04:01:05 -07:00
dab246 b83e092e47 TF-3290 Only show reconnection confirm dialog when composer is opened 2025-02-05 03:00:08 -08:00
Dat PHAM HOANG c63e3d2973 TF-3334 Synchonize cache all the time have new changes even in search or not 2025-02-05 03:00:08 -08:00
DatDang e54fd73d58 fixup! TF-3332 Prevent refresh when switching mailbox 2025-02-05 03:00:08 -08:00
DatDang 3d6b2b1a7e fixup! TF-3332 Prevent refresh when switching mailbox 2025-02-05 03:00:08 -08:00
dab246 dfd622d7ec TF-3334 Use queue to handle multiple refresh changes mailbox from incoming websocket 2025-02-05 03:00:08 -08:00
dab246 eb51e9b3b1 TF-3334 Remove Email/get of mark as read & mark as star action 2025-02-05 03:00:08 -08:00
dab246 8d31ee4462 TF-3025 Correctly update the action for the selection list when performing some action read/start/... on each element 2024-10-15 16:48:36 +07:00
dab246 0513427378 TF-3123 Write unit & widget test for load more button 2024-09-16 15:49:48 +07:00