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

feat: add a timeout for splashscreen (VO-321) #1153

Merged
merged 3 commits into from
Jan 31, 2024

Conversation

acezard
Copy link
Contributor

@acezard acezard commented Jan 30, 2024

Due to instability we decide to hide the splashcreen after a set value
(here 15s).
A message will also be sent to Sentry should that error arise.
This is mainly to prevent infinitely stuck splashscreen while the app
below is still functioning

Due to instability we decide to hide the splashcreen after a set value
(here 15s).
A message will also be sent to Sentry should that error arise.
This is mainly to prevent infinitely stuck splashscreen while the app
below is still functioning
@acezard acezard force-pushed the feat--add-a-timeout-for-splashscreen branch from 2bdabda to d5c4fe0 Compare January 30, 2024 15:06
This will fix failing tests with conflicting mocks
@acezard acezard force-pushed the feat--add-a-timeout-for-splashscreen branch from d5c4fe0 to 3db5710 Compare January 30, 2024 15:16
clearTimeout(autoHideTimer)
}

autoHideTimer = setTimeout(() => {
Copy link
Contributor

@zatteo zatteo Jan 31, 2024

Choose a reason for hiding this comment

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

I am not sure about it, but I think we will autohide the secure_background splash screen and this one should not use autohide.

Copy link
Contributor Author

@acezard acezard Jan 31, 2024

Choose a reason for hiding this comment

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

  • to update

Copy link
Contributor

Choose a reason for hiding this comment

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

Nice tests!

This splashscreen is a special case and should not be interfered with
regarding timeout timers.
@acezard acezard requested a review from zatteo January 31, 2024 14:54
@acezard acezard merged commit 4b6a654 into master Jan 31, 2024
1 check passed
@acezard acezard deleted the feat--add-a-timeout-for-splashscreen branch January 31, 2024 16:26
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