Tabs, and some groundwork for testing

Shufflizer now sports Angular Material tabs along the bottom edge of the window. This provides a more conventional way to navigate between the app’s pages and also gives me a place to implement an options/features page when I get to working on that.

In addition, under the hood I put all the http calls to Spotify into their own service. This is what the Angular documentation’s HTTP page recommends. It helped me implement better error handling, and better positions the code to take advantage of Jasmine and Karma testing (which I learned how to do at the Angular Denver 2018 conference, and am looking forward to trying out in Shufflizer).

One other thing: immediately upon upload Shufflizer will start playing the playlist in Spotify, if you have a device active, running Spotify.

Leave a Reply

Your email address will not be published. Required fields are marked *