harvard-lil/shlvme — pull request #2 by imakewebthings (2012-03-26 15:59:16+00:00)
Title: User profile page + more

First thing's first, the biggest change. The user profile page is included as far as showing all the information in its *potential* location. There's no JS anywhere, so when the user is logged in you see any would-be hidden forms that will later require some "Edit" interaction to show.

You might notice straight away that this layout doesn't match the wireframes from the video. There's no shelf selector on the left and all the shelves are displayed on the right. You had expressed concerns about the page feeling sparse, and rather than force more unneeded information on the page I figured it might work better to just unpack that list, remove the need for an extra click from the user, and show all the shelves straight away. This also frees up room in that sidebar if you want to add any more user meta-information later down the road (favorited shelves, people they follow, recent addition timeline, who knows...) and puts emphasis on the shelves themselves. Let me know what you think. Oh, and don't fear the giant user profile image area. I have plans to shrink that and limit the size further down the design process.

I made a slight change to the project structure for views. Simple enough I guess, the `views.py` file was getting a little lengthy and hard to navigate, so I split the views into separate files inside a views directory. Since we're using the name reversal thing our other code doesn't change much, the only difference now is that when setting up a url instead of pointing to the view as `some_view_method` it's now `thefilename.some_view_method`

As I mentioned in email, I've been putting in error messages and such for the auth forms and the user profile edit form. (The add shelf form isn't hooked up to anything yet.) There may be one or two minor other changes I'm forgetting, but that's the gist of it. Cheers!