Chandler/flesh — pull request #66 by Chandler (2013-09-08 00:38:01+00:00)
Title: Client

done:
members back on profile pages
client date handling
human codes on profiles
event feed on game page with multiple event types
different colors for different event types
register a tag with error and success popup

TODO tonight

Styling todos: w/ @sachee
1) game box on user profile page (with human codes)
2) entire game home content, player list event feed everything needs work.

Server todos: @msolomon
1) submitting an invalid human code submit returns a 500 and an html error instead of the normal 400 json errors
2) events should be a single endpoint that responds to "game_ids" or "player_ids" instead of multiple endpoints that take just an array of "ids"

/events?game_ids%5B%5D=2
instead of
/events/games?ids%5B%5D=2

I need this in order to do it all with the same model because I can't figure out how to split it into 3 models and share code in a sane way.

3) we have an N + 1 problem again when we fetch the users for all the players in a list of events. This tends to make the site pretty slow and the client unstable when those requests fail. Can be solved by sideloading users with events.

4) text to tag tonight or tomorrow afternoon

Notes
@sachee I can't figure out how to get certain models into the game content area so I think for right now we need to put the register tag box at the top of the game-home content area unfortunately. That's where I can get it to work.

we still have no password reset