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

Add track liking/saving and store it globally to make it available in entire page #25

Open
damianstasik opened this issue Mar 21, 2023 · 2 comments

Comments

@damianstasik
Copy link
Owner

  • Maybe it could use websocket to make it "real time"? https://trpc.io/docs/links/wsLink
  • GraphQL would make it a bit easier, but it may be too late for that
  • How to make it globally available, so that even single cells in large tables can re-render if a track is liked in player for example
@damianstasik
Copy link
Owner Author

Maybe we could show a popover with playlists when a user hovers over the "save" button for 1 second?

@damianstasik
Copy link
Owner Author

Need to remember about using ID from linked_from when saving a track.
https://developer.spotify.com/documentation/web-api/concepts/track-relinking

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

No branches or pull requests

1 participant