-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Add rotation animation on settings button when loading #96704
Conversation
Some changes occurred in HTML/CSS/JS. |
☔ The latest upstream changes (presumably #96720) made this pull request unmergeable. Please resolve the merge conflicts. |
ec47932
to
13b45aa
Compare
Fixed merge conflict. |
Can you put up a demo? |
Unless you block the JS to be downloaded, you won't be able to see the rotation. Do you want me to put up a demo in any case? |
Yep - devtools can do various things to simulate slow or offline loading. There's also a very simple expedient to test such things - turn of your Wi-Fi. :-) |
Such ancient dark magic. A world where you can turn off the internet. This is too scary to even imagine it. 😨 (uploading the demo 😆 ) |
The demo is now up here. |
@bors r+ rollup Nice! |
📌 Commit 13b45aa has been approved by |
…r=jsha Add rotation animation on settings button when loading As discussed, I added an animation when the settings JS file is loading (I voluntarily made the timeout at the end of the `settings.js` super long so we can see what the animation looks like): https://user-images.githubusercontent.com/3050060/166693243-816a08b7-5e39-4142-acd3-686ad9950d8e.mp4 r? ``@jsha``
…r=jsha Add rotation animation on settings button when loading As discussed, I added an animation when the settings JS file is loading (I voluntarily made the timeout at the end of the `settings.js` super long so we can see what the animation looks like): https://user-images.githubusercontent.com/3050060/166693243-816a08b7-5e39-4142-acd3-686ad9950d8e.mp4 r? ```@jsha```
…piler-errors Rollup of 7 pull requests Successful merges: - rust-lang#96174 (mark ptr-int-transmute test as no_run) - rust-lang#96639 (Fix typo in `offset_from` documentation) - rust-lang#96704 (Add rotation animation on settings button when loading) - rust-lang#96730 (Add a regression test for rust-lang#64173 and rust-lang#66152) - rust-lang#96741 (Improve settings loading strategy) - rust-lang#96744 (Implement [OsStr]::join) - rust-lang#96747 (Add `track_caller` to `DefId::expect_local()`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
As discussed, I added an animation when the settings JS file is loading (I voluntarily made the timeout at the end of the
settings.js
super long so we can see what the animation looks like):Peek.2022-05-04.15-38.mp4
r? @jsha