Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[POC] TF-2955 Reduce time in opening tmail app #2959

Open
wants to merge 6 commits into
base: refactor
Choose a base branch
from

Conversation

dab246
Copy link
Member

@dab246 dab246 commented Jun 25, 2024

Issue

#2955

Solution

  • Click app icon:
    • Get session cache -> Synchronize session from server

Demo

  • Case: Synchronize session success
demo-success.mov
  • Case: Synchronize session failure
demo-failure.mov
  • Case: Resynchronize session failure
Screen.Recording.2024-06-25.at.11.53.04.online-video-cutter.com.mp4

Copy link

This PR has been deployed to https://linagora.github.io/tmail-flutter/2959.

}

void getSessionAction() {
void getSessionAction({PersonalAccount? personalAccount}) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused PersonalAccount param, consider remove

Comment on lines +25 to +27
bool isResynchronized = false;
bool isShowingWarningDialogSessionExpired = false;
bool isShowingWarningDialogResynchronizeSessionFailure = false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these bool be replaced by enum?

Comment on lines +519 to +520
if (apiUrl.isNotEmpty) {
updateAuthenticationAccount(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid checking apiUrl.isNotEmpty in multiple location, should we move this if check inside updateAuthenticationAccount?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants