Commit graph

6 commits

Author SHA1 Message Date
Tyler Renelle
bc4798b354 groups: big changes here i may decide to revert. GET /api/v1/groups
optionally takes ?type=guilds (guilds, party, tavern, public). this
allows us to incrementally load the app as they click through the tabs,
because guilds is really large (1.5mb!) - gotta cut this down
somehow. The big issue is requireing return values as an array, so
ngResource can work with the response (subsequent group.$postChat(),
group.$join(), etc.). The array format doesn't really work out that
well, so I may scrap
2013-08-31 22:59:35 -04:00
Tyler Renelle
524457b5d7 chat: keyup to trigger send message. ng-model on chat box is painfully
slow! using jquery as workaround for now
2013-08-31 20:52:41 -04:00
Tyler Renelle
e069718da7 rewrite: add basic chat functionality, `POST
/api/v1/groups/:gid/chat` (which returns chat list). Some bugs present
2013-08-31 19:14:58 -04:00
Tyler Renelle
45383a9630 rewrite & api: use mongoose populate to replace group.members array with
popualte member objects. this puts a load on the front-end, we'll need
to optimize! also added some duplicates sanitization.
2013-08-31 17:47:03 -04:00
Tyler Renelle
10ff61be91 rewrite: use vanilla bootstrap tabs for now, keep an eye on https://github.com/angular-ui/bootstrap/issues/783 2013-08-31 14:52:13 -04:00
Tyler Renelle
17a9469370 rewrite: start implementing groups. Note angular-bootstrap 0.4.0 required for nested tabs 2013-08-29 22:11:52 -04:00