-
Notifications
You must be signed in to change notification settings - Fork 187
spinner: add custom loading animation #73
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
How about adding "Blueprint" as part of the spinner svg? Or make something re-using the Blueprint logo? |
I tried adding blueprint to the spinner itself (locally), in theory we can have anything :) spinner-custom.mp4 |
Idea: An animated gif of the blueprint logo, with lines being drawn on it. |
@brianking I like the idea. but unfortunately I do not have the experience or knowledge on how to make more complex animations. Perhaps there is someone at the foundation who can make such animations? |
@vince-fugnitto Sure, I will followup. What are the size specifications? |
Given it is an animated |
Correct. So the question might be more like: what's the lower range in size, we might use, so that the details are visible? I don't personally think we necessarily need it to be postage-stamp small. |
Please see if any of these resemble the direction you are thinking |
@croundy Nice start. I suggest a quicker animation. This will be displayed while Blueprint loads, which can be relatively fast. Maybe a couple of seconds, typically. So, most users may never see the best parts of a ~8s animation :) |
@croundy I like option B. I agree with @marcdumais-work that it should be much faster though. Also the transition between the separated parts and the final logo could be smoother if possible. |
Here's the update from Mehrnaz, as well as a new option she put together. Theia_Logo_Motion (1).zip |
@croundy I don't think the filetypes provided will work ( |
@vince-fugnitto we will have Mehrnaz create whatever file type is needed. For now, just looking for feedback on the actual animation and if either of these options are in line with what you guys are thinking |
Thank you for clarifying, I wouldn't want Mehrnaz to perform unnecessary work 👍 I don't have the strongest opinion on the latest animation, but I do not get the sense of loading or progression. |
New Option (inline for easy access) Theia.New.option.mp4 |
Option 1 TheiaDownloader.mp4 |
I would be OK with Option 1 if we cut the first second where the logo is still separated into layers. Maybe we can just make the second part longer where the logo is just moving towards the text. |
@koegel I want warp-jump blueprint now :) |
Ya, I kind of like warp jump too, but I will leave it to you guys to decide. Mr. LaForge.....engage |
I do not have a strong opinion on either options but I share @vince-fugnitto concerns how to loop any of the two for longer startup times. Any ideas for this? |
See what you think of these options: A1_.mp4B.mp4D.mp4 |
I like the 3rd one the best. |
So do I! |
Personally I'd like to have the name "Theia Blueprint" present, from the beginning until the end. I'll go with what the majority likes. |
@vince-fugnitto This is part of the Beta 1 milestone. We plan to move from Alpha to Beta end of June. Shall we move this ticket? |
@jfaltermeier if you are referring to updating the milestone for the pull-request then please go ahead! :) |
I have requested an SVG version. Would an animated GIF work as well? |
@brianking an animated gif can possibly work but it would not be of high quality, clear, or as responsive as an |
@brianking I think this fell between the cracks. Can you see if it's still possible to get an |
Here is the animated GIF version, is that acceptable? The Theia Blueprint logo is a raster image (with pattern) and not a vector file, converting a raster pattern file to SVG is not good practice, as patterns needs lots of attributes and Id to define on both html5, and css files. Some information will be lost in the process. |
Thanks @brianking - let's try with this. |
@vince-fugnitto I briefly tried to update this PR to use the provided GIF but was unsuccessful. Would you have a try at it? |
854d950
to
9b6a888
Compare
@marcdumais-work the pull-request is rebased so it should now work 👍 |
The following commit adds a `preloadTemplate` to the application to create a custom loading animation (different than upstream). Signed-off-by: vince-fugnitto <[email protected]>
9b6a888
to
22901c4
Compare
We have made another gif animation with lighter pattern's color that works good both on dark and light platforms. As well, we made an svg animation from the theia icon as it is a vector image and can be converted to svg well. ( As discussed the logo is a raster image since it has a pattern. Raster images when converting to svgs created several faulty codes) The new svg animation have been saved on a root folder that attached here. Please review and open the index.html in a browser. let us know your thoughts. |
Signed-off-by: vince-fugnitto <[email protected]>
@marcdumais-work I updated the pull-request to use the latest animation provided, let me know what you think :) |
Thanks @vince-fugnitto ! I think I like the simplicity. Is there a way to make the movement smoother? Here's how it looks on my machine: |
I discussed with Vince offline. The jerkiness of the animation is a known issue (1). Thinking of it, it's displayed at startup, when the browser app is very busy setting everything up and loading the workspace and so on. As noted by Thomas, the JSON-RPC communication currently suffers a pretty big encoding/decoding overhead, the price of which is probably very high right at startup. TL;DR: in the short term we have to live with startup animation slowdowns. We can try for an animation, such that the effect of slowdowns will be less visually prominent, probably by having the logo stay static and limiting the animation to secondary element(s). Vince might have an additional idea or two. |
Signed-off-by: vince-fugnitto <[email protected]>
@marcdumais-work I updated the pull-request to go a different route which should not have the same low frame rates on startup (using blueprint-spinner.mp4 |
Here I composed a busy workbench, which means lots to restore when I reload ( @vince-fugnitto should we try bigger? |
The pull-request should be ready for anyone interested in reviewing :) |
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've testing on Linux. Looks very nice. I could not observe any lags during the animation.
What it does
Fixes: #72
The following pull-request introduces a
preloadTemplate
to the application to provide a custom loading animation (splash screen) which is different than upstream, and can be used as an example for others:Videos
spinner.mp4
spinner-light.mp4
I am open to suggestions on what we might want the
svg
to be 👍How to test
Start or package the application, the new loading screen should take effect.
Review checklist
Reminder for reviewers
Signed-off-by: vince-fugnitto [email protected]