Skip to content

Implemented playlist rename functionality#409

Merged
Insprill merged 5 commits intojpochyla:masterfrom
kespii:master
May 5, 2023
Merged

Implemented playlist rename functionality#409
Insprill merged 5 commits intojpochyla:masterfrom
kespii:master

Conversation

@kespii
Copy link
Copy Markdown

@kespii kespii commented May 5, 2023

Added rename playlist support + tried to standardize styles for rename and unfollow dialog windows.

Copy link
Copy Markdown
Collaborator

@Insprill Insprill left a comment

Choose a reason for hiding this comment

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

Looks good, however, instead of reloading playlists from the API when they're renamed, we can just update the local name of it. That can be implemented similarly to how saved tracks and albums are updated at https://github.com/jpochyla/psst/blob/master/psst-gui/src/data/mod.rs#L293-L305. This would fix the issue of the playlist name being one-rename out of date, most likely due to Spotify's API not updating in time for the load request.

@kespii
Copy link
Copy Markdown
Author

kespii commented May 5, 2023

Gotcha, seems like it should be good now

Copy link
Copy Markdown
Collaborator

@Insprill Insprill left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you!

@Insprill Insprill merged commit 92a3c3a into jpochyla:master May 5, 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.

2 participants