-
Notifications
You must be signed in to change notification settings - Fork 9
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
Feature splashscreen #309
Feature splashscreen #309
Conversation
…enders Note that the webkit white background is a pending tauri issue: tauri-apps/tauri#1564
Codecov Report
@@ Coverage Diff @@
## main #309 +/- ##
==========================================
+ Coverage 86.33% 86.47% +0.14%
==========================================
Files 135 137 +2
Lines 7528 7577 +49
Branches 823 833 +10
==========================================
+ Hits 6499 6552 +53
+ Misses 1016 1011 -5
- Partials 13 14 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
We can get rid of the white background by using a transparent splashscreen window with the Note: Using the Check the implementation here. |
This reverts commit 0b267ce.
This PR closes #308 by delaying app execution with a Tauri splash screen.
The splash screen is shown by default (main window is hidden by default) and then, when, the app is ready the command
close_splashscreen
) is executed and will hide splash screen and show the main window.Note that the main window code still runs, while the app is not visible, so we have updated the root component to ensure the
<App>...</App>
component is only rendered when the app is ready.Also, there is an initial white background in the splashscreen. Before rendering the content. There is a pending issue reported to track that.
Screen.Recording.2023-07-18.at.12.05.20.mov