Adding ability to blur parallax; Overlay header; Discover Featured intro playlist
This commit is contained in:
@ -316,10 +316,15 @@ export function getFeaturedPlaylists(){
|
||||
))
|
||||
}
|
||||
|
||||
// Pick the first playlist, and get the full playlist object
|
||||
// We use this as in our introduction parallax panel, and need the full playlist
|
||||
dispatch(getPlaylist(playlists[0].uri))
|
||||
|
||||
dispatch({
|
||||
type: 'PLAYLISTS_LOADED',
|
||||
playlists: playlists
|
||||
});
|
||||
});
|
||||
|
||||
dispatch({
|
||||
type: 'SPOTIFY_FEATURED_PLAYLISTS_LOADED',
|
||||
data: {
|
||||
|
||||
@ -116,6 +116,11 @@ const UIMiddleware = (function(){
|
||||
next(action)
|
||||
break
|
||||
|
||||
case 'MOPIDY_PLAY_PLAYLIST':
|
||||
ReactGA.event({ category: 'Playlist', action: 'Play', label: action.uri })
|
||||
next(action)
|
||||
break
|
||||
|
||||
case 'MOPIDY_SAVE_PLAYLIST':
|
||||
case 'SPOTIFY_SAVE_PLAYLIST':
|
||||
ReactGA.event({ category: 'Playlist', action: 'Save', label: action.key })
|
||||
@ -150,6 +155,11 @@ const UIMiddleware = (function(){
|
||||
next(action)
|
||||
break
|
||||
|
||||
case 'MOPIDY_DELETE_PLAYLIST':
|
||||
ReactGA.event({ category: 'Playlist', action: 'Delete', label: action.uri })
|
||||
next(action)
|
||||
break
|
||||
|
||||
case 'PUSHER_ERROR':
|
||||
ReactGA.event({ category: 'Pusher', action: 'Error', label: action.message })
|
||||
next(action)
|
||||
|
||||
Reference in New Issue
Block a user