W9D4 - Albums
Clean up
The first half of the day was spent finishing up some work from yesterday.
You now get a warning before deleting a photo, and the confirmation modal dialog looks quite nice.
The site now has a title and a fun font for a welcome. I picked out one of Google's fonts and used their CDN
The supposed "demo account" offered to users at the sign up page now actually exists. Using an ajax request, the form is filled out for you with an existing demo user who has seed data (fake data that is set automatically behind the scenes to look like a real user's data).
Albums
Then came the afternoon. I created a new table in the database, a new model and controller, some new Flux actions, constants, the album api, and album store. I also fixed the links to albums and paintings in the navbar. They actually work now! Moreover, the database has been seeded with a fake album containing photos. The app does not yet have the functionality to display this album, but tomorrow is on its way!









