mirror of
https://github.com/tutao/tutanota.git
synced 2025-12-08 06:09:50 +00:00
Instead of applying inbox rules based on the unread mail state in the inbox folder, we introduce the new ProcessingState enum on the mail type. If a mail has been processed by the leader client, which is checking for matching inbox rules, the ProcessingState is updated. If there is a matching rule the flag is updated through the MoveMailService, if there is no matching rule, the flag is updated using the ClientClassifierResultService. Both requests are throttled / debounced. After processing inbox rules, spam prediction is conducted for mails that have not yet been moved by an inbox rule. The ProcessingState for not matching ham mails is also updated using the ClientClassifierResultService. This new inbox rule handing solves the following two problems: - when clicking on a notification it could still happen, that sometimes the inbox rules where not applied - when the inbox folder had a lot of unread mails, the loading time did massively increase, since inbox rules were re-applied on every load Co-authored-by: amm <amm@tutao.de> Co-authored-by: Nick <nif@tutao.de> Co-authored-by: das <das@tutao.de> Co-authored-by: abp <abp@tutao.de> Co-authored-by: jhm <17314077+jomapp@users.noreply.github.com> Co-authored-by: map <mpfau@users.noreply.github.com> Co-authored-by: Kinan <104761667+kibibytium@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| review | ||
| buildPackages.js | ||
| buildUtils.js | ||
| buildWebapp.js | ||
| bump-version.js | ||
| createHtml.js | ||
| createReleaseDraft.js | ||
| cryptoPrimitivesUtils.js | ||
| DesktopBuilder.js | ||
| DevBuild.js | ||
| DomainConfigs.js | ||
| electron-package-json-template.js | ||
| env.js | ||
| fetchDictionaries.js | ||
| fixFdroidDeps.js | ||
| generateMigration.js | ||
| getInstalledModuleVersion.js | ||
| getNativeCacheLocation.js | ||
| getNodeGypLibrary.js | ||
| graph.js | ||
| index.template.js | ||
| installerSigner.js | ||
| LaunchHtml.js | ||
| mac-entitlements.plist | ||
| napiPlugin.js | ||
| nativeLibraryProvider.js | ||
| nodeGypPlugin.js | ||
| notarize.cjs | ||
| packageBuilderFunctions.js | ||
| postinstall.js | ||
| prebuild.js | ||
| prepareMobileBuild.js | ||
| publish.js | ||
| releaseNotes.js | ||
| RollupConfig.js | ||
| RustGenerator.js | ||
| sh.js | ||
| signDesktopClients.js | ||
| tsconfig.json | ||
| updateLibs.js | ||
| versionUtils.js | ||
| windows-installer.nsh | ||
| winsigner.cjs | ||