Amsterdam-Music-Lab / MUSCLE

An application to easily set up and run online listening experiments for music research.
https://www.amsterdammusiclab.nl/
MIT License
4 stars 1 forks source link

Remove `playlists` array from `block` request? #1247

Open BeritJanssen opened 1 month ago

BeritJanssen commented 1 month ago

Right now, the playlists of a given block will be passed when first requesting the block from the backend. Arguably, in 90% of the cases we won't do anything with this playlists array. So perhaps instead we can let the Playlist component query this information directly when needed? Disadvantage: some delay when loading this component. Advantage: leaner & easier to understand object on first request to block.