Closed RyanRussell00 closed 4 years ago
Hii @RyanRussell00 i want to contribute into this
Hii @RyanRussell00 i want to contribute into this
@utkarsh4321 It's all yours! Just create a new fork and open a Pull Request when it's done. You should read the GETTING_STARTED
hii @RyanRussell00 can you tell me where I can see my playlist.
@utkarsh4321 if you mean where you can see the saved playlist, that will be in your Spotify account. But before you save the playlist it will load the recommendations and you can see it there. In the code, the recommendations are being saved as an array.
@utkarsh4321 Can you please update the button to say something like "playlist successfully saved" or give some sort of other confirmation that the playlist was saved. Then if the user clicks the button again prompt them for confirmation to save a duplicate.
Let me know if you have any questions, thanks!
I will talk into this don't worry about it
On Mon 5 Oct, 2020, 10:15 AM Ryan Russell, notifications@github.com wrote:
@utkarsh4321 https://github.com/utkarsh4321 Can you please update the button to say something like "playlist successfully saved" or give some sort of other confirmation that the playlist was saved. Then if the user clicks the button again prompt them for confirmation to save a duplicate.
Let me know if you have any questions, thanks!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/RyanRussell00/personal-dj/issues/7#issuecomment-703393089, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHMA4H64GGL277VEVKNTKHTSJFFPZANCNFSM4RYNYOEA .
You mean that if there is a playlist in there Spotify account then you need to show the button text "playlist successfully saved" or if he clicks the button with same parameters then modal will prompt for confirmation.
@utkarsh4321 I think that's a multi-part question:
For the second approach, you could use some sort of flag in the save playlist function that gets reset every time the user hits the "generate recommendations" button.
Let me know if that makes sense, thanks!
ok thanks i will try to complete asap
Hi @RyanRussell00 you want that when anybody hits save playlist button without changing any recommendation then we have to show the confirmation message.
Hii @RyanRussell00 There is any way so that I get the saved playlist and match it's already saved or not.
@utkarsh4321 There is no easy way of getting the saved playlist. Instead, when they hit the "Save Playlist" button set a boolean flag to true, and if they try hitting "Save Playlist" again and the flag is true, prompt them for confirmation. Then when they hit "Get Recommendations" you can set the boolean flag to false. That's one approach that I thought of and it seems simple enough, but you're welcome to implement it however you'd like.
Thanks!
ok, no problem I will implement it according to your requirement.
Hii @RyanRussell00 can you please tell me if there is any problem with PR so I will try to fix it asap. And if there is no any problem then merge it. I try to fix as your requirement but if there is any problem tell me.
@utkarsh4321 Hey, I haven't forgotten about this! I have been caught up lately and I'm hoping that I can sit down and handle the issues/PR for this project this weekend. I will for sure get it handled before end of October to make sure you get the hacktoberfest credit! Thanks!
Thanks 😊
On Sat 24 Oct, 2020, 5:05 AM Ryan Russell, notifications@github.com wrote:
@utkarsh4321 https://github.com/utkarsh4321 Hey, I haven't forgotten about this! I have been caught up lately and I'm hoping that I can sit down and handle the issues/PR for this project this weekend. I will for sure get it handled before end of October to make sure you get the hacktoberfest credit! Thanks!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/RyanRussell00/personal-dj/issues/7#issuecomment-715632588, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHMA4H6P5AJYE2FN2ZPPXV3SMIHKZANCNFSM4RYNYOEA .
Thank you for this contribution! It's fantastic!
If the user has already created a playlist and they try creating a playlist based on the exact same parameters, we need to have a pop up that confirms that this is an intended action. Or else they could accidentally end up making a half-dozen playlists.