Adding ability to blur parallax; Overlay header; Discover Featured intro playlist

This commit is contained in:
James Barnsley
2017-05-26 09:04:58 +12:00
parent 89acad7822
commit d9b501cd51
10 changed files with 105 additions and 31 deletions

View File

@ -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)