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: Show sync status #254

Merged

Conversation

Prakhar-Agarwal-byte
Copy link
Contributor

Fixes #252

Now the sync icon rotatation indicates that sync status.

Untitled.video.-.Made.with.Clipchamp.mp4

Copy link
Owner

@thunderbiscuit thunderbiscuit left a comment

Choose a reason for hiding this comment

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

Good stuff! This had been a long-requested feature. Happy to see it being worked on. Only thing I see is that we can sort of mess with it by pressing a ton of times in a row (I even managed to get the arrows to go... backwards??? lolll don't know how that happened).

Anyway let's disable the button while it's syncing.

@thunderbiscuit
Copy link
Owner

@Prakhar-Agarwal-byte are you still working on this? If so you might need a quick rebase and small fixes, but otherwise looks good!

@thunderbiscuit
Copy link
Owner

Great stuff thanks for the work. I think we still have one small bug, but not sure if I should hold off the PR for it. The icon basically starts rotating backwards forever if you press the sync button many times really quickly. It's not really a problem for syncing (the functionality still works), but it's something in the animation. Take a look if you don't mind and see if you can reproduce it locally.

Don't spend too much effort if you can't fix it quickly, I think we can just open a new issue to keep track of it and fix it later on.

@Prakhar-Agarwal-byte
Copy link
Contributor Author

I couldn't replicate the issue on my device. I repeatedly pressed the sync button quickly but the icon was rotating just fine.

WhatsApp.Video.2023-03-22.at.11.22.12.PM.mp4

Copy link
Owner

@thunderbiscuit thunderbiscuit left a comment

Choose a reason for hiding this comment

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

Ok let's rebase this on master and merge. I can open an issue to track the backwards rotation bug.

@thunderbiscuit thunderbiscuit merged commit 2d2a8aa into thunderbiscuit:master Mar 24, 2023
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.

Add spinning sync icon to show status
2 participants