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

Merging Playlist Manager Feature #15

Merged
merged 7 commits into from
Oct 31, 2024
Merged

Merging Playlist Manager Feature #15

merged 7 commits into from
Oct 31, 2024

Conversation

anishsudini
Copy link
Collaborator

All back-end and API logic complete. Preset creation logic, and playlist dynamic reordering logic complete and tested.
Delay issue fixed.
Only issue left pertains to UI of the feature and permanently effecting the Spotify App instead of for just one instance on load.

Implemented getting and locally cache/storing a playlist's tracks' songIDs and those tracks' audio features as well.

Created three files so far, 2 in the services folder for handling API requests and response structure, and 1 in the components folder handling getting the playlist ID of an owned playlist on a user's screen.
Pulling down changes for testing
Preset creation logic, and playlist dynamic reordering logic complete and tested. Delay issue fixed. Only issue left pertains to UI of the feature and permanently effecting the Spotify App instead of for just one instance on load.
Modified code to include mutation observers for various aspects of the page to determine and implement permanent UI injections. Discuss style with the team, made some changes to meet overall agreeance.
Fixed some TypeScript errors (that were not affecting code functionality) but just needed to add some error handling for them.
@rrk0804
Copy link
Collaborator

rrk0804 commented Oct 30, 2024

The UI looks great. However, there is a delay reordering tracks using musical characteristics

@anishsudini
Copy link
Collaborator Author

Found issue for delay: root cause is due to not having "Custom Order" selected in the dropdown sorting options. Implementing fix to mimic this programmatically to avoid user interaction or issue.

Also removed Duration as a custom sorting option since it already is provided by Spotify.
@anishsudini
Copy link
Collaborator Author

Implemented fix for above issue^^.

Copy link
Collaborator

@skycube19 skycube19 left a comment

Choose a reason for hiding this comment

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

Briefly tested it out locally and it seems to work as intended. Great job!

@rrk0804
Copy link
Collaborator

rrk0804 commented Oct 30, 2024

New fix works on my machine. Great job!

@rrk0804 rrk0804 closed this Oct 30, 2024
@rrk0804 rrk0804 reopened this Oct 30, 2024
@anishsudini anishsudini merged commit e0b7583 into main Oct 31, 2024
9 checks passed
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.

3 participants