-
-
Notifications
You must be signed in to change notification settings - Fork 436
#193, #324, #327, #717, #851 Replaced the splash screen with a preload #1287
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
Conversation
334b52b
to
ed97fc8
Compare
0adde9a
to
db9037d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested it on MacOS and it works as expected 👍
LGTM ✅
4324475
to
ebe2e3b
Compare
686336e
to
f37fc13
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated version looks great. Excellent work Ernesto and Akos!
As requested offline, I switched to a preload GIF. Please review. |
electron-app/preload/index.js
Outdated
@@ -0,0 +1,3 @@ | |||
// TODO: use `lottie` to load the animation from JSON. | |||
// Add `lottie-web` as a `devDependency` and here do `require('lottie-web').loadAnimation` | |||
// Currently IDE2 uses a GIF to render the preload. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add newlinw
With the gif In term of smoothness of the animation is much better, thank you @kittaakos. |
@91volt |
252892a
to
7bd4479
Compare
Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
7bd4479
to
7034939
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected
thank you
This is lovely. Nice fast startup, and the little bouncy animation make it feel like the startup is doing something. |
Motivation
Removes the splash screen and replaces the loading animation with a Theia preload. This PR does not contain the final design, in fact, I just copied the first Arduino SVG I found on the Internet and prepared the stub of the change.
Change description
In Action:
light
IDE2,light
OS theme:light-ide2-theme-light-os-theme.mp4
light
IDE2,dark
OS theme:light-ide2-theme-dark-os-theme.mp4
dark
IDE2,light
OS theme:dark-ide2-theme-light-os-theme.mp4
dark
IDE2,dark
OS theme:dark-ide2-theme-dark-os-theme.mp4
Other information
Noteworthy things:
This PR depends on #1070 Can check if the current window is the first one. #1282 (I can make it independent if required)Done ✅ ,editor.background
andeditor.foreground
theme constants. If the OS theme isdark
, thedark
editor colors will be used for the preload. Otherwise, thelight
one.Closes #193
Closes #324
Closes #327
Closes #717
Closes #851
Reviewer checklist