Open tanmoysrt opened 1 year ago
Can I start workiing on this?
Can I start workiing on this?
cc : @vedant-jain03
Hey @Tanmoy741127, do you think it would be UI friendly if there was no spinner blocking the view? I have added a bool function which checks if the request is finished, and then only allows the user to star the project again, what are your views on that?
@notbrood That will work. Try out how it will look, if you can add a little spinner or pulse type of loader in the box of the star icon
@Tanmoy741127 Just wanted to let you know that I'm not very comfortable with the get state management aspect of our project. I could try working on it, but I don't think I have the necessary skills to do it properly.
Regarding the bool function, I'm happy to create a PR for the function, and let someone else add the spinner.
@notbrood in the mobile-app we are using Provider for state management solution and GetX is using for different purposes. So you can give it a try.
Okay, I'll give it a try!
I was able to, It looks UI Friendly as well!
Here's how it looks! What are your views?
Here's how it looks! What are your views?
Great ! Try to make the size same as the star icon
I did, how does this look?
I did, how does this look?
It's looking good now !
Okay, I'm going to make a PR for this now!
Okay, I'm going to make a PR for this now!
I did, how does this look?
cc @manjotsidhu @aman-singh7
Is your feature request related to a problem? Please describe. In the project details screen, we have options to star/unstar the repo. Now the issue is , we can tap the button multiple time in a short span of time. If user's internet connectivity is not too good, then this will create confusion and send many unnecessary requests to server.
https://user-images.githubusercontent.com/57363826/221550927-66bf471c-967f-4590-992c-7d7875ae4a4d.mp4
Describe the solution you'd like To make that UI friendly, we can have a spinner, when the star/unstar function invoked, a spinner will be shown , as soon as the request executed successfully, we will remove spinner and update the state. During the requesting time, we need to reject further requests.
Are you working on this? (Yes/No) No