Commit Graph
6142 Commits
Author SHA1 Message Date
dab246 0e95997dfd TF-5022 T-07 Add web e2e for stand-alone avatar switcher flows 2026-11-13 10:01:58 +07:00
dab246 4ab72e5672 TF-5022 T-07 Reclaim mail-list focus after account switch teardown 2026-11-13 10:01:58 +07:00
dab246 f9c3dcd48a TF-5022 T-07 Prefer editable identities for composer From after account switch 2026-11-13 10:01:58 +07:00
dab246 fa055e950b TF-5022 T-07 Add ViewingOwnerBanner to the web thread action bar 2026-11-13 10:01:58 +07:00
dab246 322dbeb65b TF-5022 T-07 Add StandaloneAccountAvatarMenu to the web navigation bar 2026-11-13 10:01:58 +07:00
dab246 cd70c9b5d6 TF-5022 T-07 Restyle AccountSwitchLoadingDialog and harden zero showDelay timing 2026-11-13 10:01:58 +07:00
dab246 0df36d11a9 TF-5022 T-07 Add account switcher helpers toast sections and Viewing chrome capability 2026-11-13 10:01:58 +07:00
dab246 9fcb89269a TF-5022 T-07 Keep linagora_design_flutter on master until DS-2 and DS-3 merge 2026-11-13 10:01:58 +07:00
dab246 16e1435e2c TF-5022 T-06 Drop redundant experimental hide and clarify ADR toggle-off ownership 2026-11-13 10:01:58 +07:00
dab246 1904d7d4ed TF-5022 T-06 Renumber ADR-0114 tickets for happy path first 2026-11-13 10:01:58 +07:00
dab246 3bb5360bd8 TF-5022 T-06 Add Preferences e2e for Delegation toggle persist 2026-11-13 10:01:58 +07:00
dab246 610057001b TF-5022 T-06 Seed alice→bob delegation for e2e 2026-11-13 10:01:58 +07:00
dab246 cef3ae91a4 TF-5022 T-06 Add Delegation preference toggle and canSelect gate 2026-11-13 10:01:58 +07:00
dab246 6eaec3bff4 TF-5022 T-05 Defer dialog-visible clear when the host is disposed 2026-11-13 10:01:58 +07:00
Dat H. Pham 238ece5d9c TF-5022 Add failing test: host removed while the loading dialog is up 2026-11-13 10:01:57 +07:00
dab246 2145e6c590 TF-5022 T-05 Clear DropPending dashboard action so equal drops re-fire 2026-11-13 10:01:57 +07:00
dab246 f7d13711ab TF-5022 T-05 Keep switch blocked until dialog closes and cancel on back 2026-11-13 10:01:57 +07:00
dab246 0211ca0a66 TF-5022 T-05 Address review: single-sub shortcuts, Cancel focus, host child 2026-11-13 10:01:57 +07:00
dab246 08c49e3926 TF-5022 T-05 Drop debounced mail shortcuts when a switch blocks input 2026-11-13 10:01:57 +07:00
dab246 47c37ab9dc TF-5022 T-05 Show the account switch loading dialog with Cancel and Escape 2026-11-13 10:01:57 +07:00
1f321d0f5f TF-5022 T-04 Keep delegated mail out of offline storage (#5118)
* TF-5022 T-04 Keep delegated mail out of offline storage and delete local data when access ends

* TF-5022 Extend AccountCacheClient in MemoryAccountCacheClient and drop unused imports in delegation tests

* TF-5022 Read CacheAccountKey from the last username part, keep EndedDelegationStoreImpl content rows when file cleanup fails, match notification emailId exactly and remove delegated composer snapshots in logoutToSignInNewAccount

* TF-5022 Guard sessionStorage access in EndedDelegationStoreImpl so blocked web storage no longer aborts logout or delegated cleanup

* test(delegation): report unsent mail lost in a partially failed cleanup

* TF-5022 Address review on cleanup counts, cache key order, Hive key scans and composer client lookup

* test(delegation): check sign-in screens pass session origin to dashboard

* test(caching): cover empty user, empty account and mismatched keys

* test(delegation): cover read failure, nothing to delete and delegated writes

* test(delegation): share no-cleanup asserts and count lost only after delete

---------

Co-authored-by: Dang Dat <tddang@linagora.com>
Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
2026-11-13 10:01:57 +07:00
dab246 26152277cc TF-5022 Address review comments on the per-account WebSocket, FCM batch and NSE fetch 2026-11-13 10:01:57 +07:00
dab246 adc27802e8 TF-5022 T-03 Filter WebSocket and FCM state changes per account with StateChangeAccountFilter, merge debounced changes per account in WebSocketController, FcmMessageController and EmailChangeListener, and read delegatedAccounts in the iOS notification extension 2026-11-13 10:01:57 +07:00
dab246 aab8a8ff60 TF-5022 Skip MailboxDashBoardController._handleIdentityCache while Settings cannot open on the shown account 2026-11-13 10:01:57 +07:00
dab246 b124146177 TF-5022 Skip the always-read-receipt preference in setupEmailRequestReadReceiptFlag while a delegated account is shown 2026-11-13 10:01:57 +07:00
dab246 219b01cf37 TF-5022 Rename me-address helpers to shown-address helpers and QuickSearchFilter.fromMe to fromShown 2026-11-13 10:01:57 +07:00
dab246 4df2ccd9d8 TF-5022 Cover per-shown-account web composer cache reads, own-account reopen and same-account reload in MailboxDashBoardController tests 2026-11-13 10:01:57 +07:00
dab246 aefbd6aa3a TF-5022 Fall back MailboxDashBoardController.ownerEmailAddress to the identity address, reload labels in DashboardAccountSwitchView.loadAccount, consume the composer cache per shown account, add SearchEmailFilter.isFromMeFilter and require CalendarEventCardViewState.ownerEmailAddresses 2026-11-13 10:01:57 +07:00
Dang Dat a5ec8ab20b test: cover thread detail load for username-only personal account 2026-11-13 10:01:57 +07:00
dab246 e22ad77bb0 TF-5022 Point composer, identities and me-matching at the shown account (T-02.5) 2026-11-13 10:01:57 +07:00
Dat Vu 17ae5d76c9 TF-5022 T-02.4 Hide Settings while a delegated account is shown (#5078)
* TF-5022 Add ShownAccountCapabilities.canOpenSettings, shownAccountCapabilitiesProvider and ActiveAccountReader.shownAccountCapabilities

* TF-5022 Refuse goToSettings and goToVacationSetting and add SettingsRouteGuard on /settings while a delegated account is shown

* TF-5022 Hide Manage account, the mobile mailbox bar avatar and the vacation setting link while a delegated account is shown, extract DashboardNavigationBar and CozyProfileSettingIcon

* TF-5022 Point the dashboard reader scan comments at T-02.5 for the composer, identities and labels

* TF-5022 Name ShownAccountCapabilities.canOpenSettings in ADR-0114 Settings and keep mobile Sign out reachable in T-09

* TF-5022 Extract DashboardVacationBanner from the vacation banners of the dashboard, email, thread and thread detail views

* TF-5022 Keep mobile Sign out hidden with Settings while a delegated account is shown in ADR-0114

* TF-5022 Add ShownAccountCapabilities.canCreateFilter and route the rule filter entries through it instead of ActiveAccountReader.isDelegatedAccountShown
2026-11-13 10:01:57 +07:00
Dat VuandDat H. Pham a2edefd617 TF-5022 T-02.3 Run the switch view steps in the dashboard (#5073)
* TF-5022 Report the folder and email list loads of a switch attempt to ShownAccountLoadTracker and reload the shown account through watchShownReload

* TF-5022 Implement AccountSwitchView in DashboardAccountSwitchView with ShownMailboxSelection, the shown account input blocker and the closing of open popups

* TF-5022 Close every route above the dashboard in DashboardAccountSwitchView.blockInput, count the mobile composer route in DashboardShownMailboxSelection.hasOpenComposer, and test the email list report order with the real MailboxController and ThreadController

* TF-5022 Gate T-02.6 on T-06 delegationEnabledProvider in ADR-0114

* TF-5022 Test that a switch closes menu submenus and drops mail list shortcuts

* TF-5022 Keep key presses from the dashboard while a switch blocks its input

* TF-5022 Count a load as failed in ShownAccountStateSubscription when onDone throws

* TF-5022 Rename ShownMailboxSelection to AccountSwitchDashboard with resetForNewAccount and GetXAccountSwitchDashboard

---------

Co-authored-by: Dat H. Pham <dphamhoang@linagora.com>
2026-11-13 10:01:57 +07:00
dab246 7ebcdc4c63 TF-5022 Drop a stale spam banner cache read once another account is shown 2026-11-13 10:01:57 +07:00
dab246 89777a9e91 TF-5022 Drop stale folder search results once another account is shown 2026-11-13 10:01:57 +07:00
dab246 4bc03e4e00 TF-5022 Route the error of a load that fails after ShownAccountStateSubscription.cancel to the stale path, so it never surfaces as an uncaught error 2026-11-13 10:01:57 +07:00
dab246 7e11d74519 TF-5022 Await the websocket refreshes of MailboxController and ThreadController through awaitShownAccountState, which drops a stale result but still ends a dead session, and skip a folder change queued before a switch 2026-11-13 10:01:57 +07:00
dab246 d859db1806 TF-5022 Say that leaving the search resets the session in the SearchEmailNotifier late response test 2026-11-13 10:01:57 +07:00
dab246 f086666342 TF-5022 Drop an email change that ThreadController queued before another account was shown once its email state is cleared 2026-11-13 10:01:57 +07:00
dab246 199b3e5ad5 TF-5022 Parse the calendar invitation of the opened email through consumeShownAccountState in SingleEmailController 2026-11-13 10:01:57 +07:00
dab246 8fac4cdd2d TF-5022 Load the quota of QuotasController through consumeShownAccountState, so a quota arriving after endSession never reaches the view 2026-11-13 10:01:57 +07:00
dab246 44cc4d6caf TF-5022 Check the shown account again when Open is tapped on the restored messages toast of MailboxDashBoardController 2026-11-13 10:01:56 +07:00
dab246 a842a68b75 TF-5022 Stamp the Retry action of showRetryToast through ShownAccountStateConsumer.retryActionOf, so a Retry tapped after another account is shown never loads the account shown before 2026-11-13 10:01:56 +07:00
dab246 9a2969349f TF-5022 Test that RestoredDeletedMessageInteractor and GetRestoredDeletedMessageInterator carry the account the restore started on 2026-11-13 10:01:56 +07:00
dab246 efbc164154 TF-5022 Carry the AccountId in RestoreDeletedMessageSuccess and GetRestoredDeletedMessageSuccess so MailboxDashBoardController polls and refreshes only the account the restore started on 2026-11-13 10:01:56 +07:00
dab246 40a2d29569 TF-5022 Drop the stale results of an account shown before in MailboxController, ThreadController, QuotasController, SingleEmailController and ThreadDetailController 2026-11-13 10:01:56 +07:00
dab246 ed331ed707 TF-5022 Add SwitchAttemptStamp and ShownAccountStateConsumer.consumeShownAccountState, which drop the view results of an ended switch attempt 2026-11-13 10:01:56 +07:00
dab246 9a8275beb0 TF-5022 Move the shown account groups of the MailboxDashBoardController tests into mailbox_dashboard_controller_shown_account_test.dart with a shared harness 2026-11-13 10:01:56 +07:00
dab246 ade73f6cd0 TF-5022 Invalidate activeAccountProvider in RiverpodActiveAccountSource.clear so MailboxDashBoardController.onInit clears it while the route builds 2026-11-13 09:53:18 +07:00
Dat H. Pham cef1c41d98 TF-5022 Test the dashboard start inside a build and the reader binding order 2026-11-13 09:53:18 +07:00
dab246 7781fb248f TF-5022 Register the shown account in the folder load-more tests of ThreadController, which now reads it from ActiveAccountSource 2026-11-13 09:53:18 +07:00