Commit Graph

28 Commits

Author SHA1 Message Date
9938c346a1 Only load posts once when entering a discussion 2015-01-30 12:12:30 +10:30
fea84e5ed1 JsonApiAdapter fix to make index "load more" work 2015-01-30 12:05:57 +10:30
49a28eca14 Change forum title for demo 2015-01-26 12:06:54 +10:30
9c02ad518b Fix bug when dragging the scrubber 2015-01-26 11:58:49 +10:30
774b74dd0f Convert to int before checking start 2015-01-26 11:45:21 +10:30
1f23cbaf20 Allow custom icon HTML in dropdown-button
Also rename title to label
2015-01-23 15:22:58 +10:30
d13ef6f1fc More flexible API URL (necessary for testing) 2015-01-23 12:48:21 +10:30
ea1b01e6b3 Clean up load more 2015-01-23 12:47:19 +10:30
df7da9338d Fix JSHint errors 2015-01-21 14:29:00 +10:30
74e80ea2df Implement redesign, refactor everything
- Write CSS for everything, update templates.
- Refactor discussion view. Stream is split into two components
(content and scrubber) which have their own responsibilities.
- Extract pane functionality into a mixin.
- Implement global “back button” system. You give a “paneable” target
to the application controller, the back button will modulate its
pane-related properties as necessary, and call an action when the
button is clicked.
- Extract welcome-hero into its own component.
- Lots of other general improvements/refactoring. The code is quite
well-commented so take a look!
2015-01-16 17:26:18 +10:30
abc794c966 Change the way we fetch multiple posts by ID
JSON-API specifies that multiple resources should be fetched with a
comma-separated list of IDs, i.e. discussions/1,2,3,4. But this is
problematic because if we do a findQuery with only one ID, then a
single object will come back from the API where the serializer is
expecting an array containing a single object.

Instead, I’ve just implemented an ids “filter” on the discussions index
API route (which is the default way that the adapter finds multiple
IDs.)
2015-01-16 17:26:17 +10:30
5e288f55f5 Change the way post count metadata is stored
We care about the number of “comment” posts, not the number of posts in
total.
2015-01-16 17:26:17 +10:30
7334a58db1 Clean up composer components 2015-01-07 17:25:41 +10:30
087eb098ea Update to ember-data b14, comment out bug for now 2015-01-07 17:25:40 +10:30
2800a7e0cc Rename/fix post stream 2015-01-07 17:25:40 +10:30
ff6c7455f5 Rework discussion/post components 2015-01-07 17:25:40 +10:30
d4e573b629 Use layoutName instead of templateName 2015-01-07 17:25:40 +10:30
f62e8e2541 Big component restructure/overhaul 2015-01-03 21:51:47 +10:30
0ed141d49e Clean up routes 2015-01-03 12:26:22 +10:30
9375f605a8 Working on interface components. 2015-01-03 12:26:14 +10:30
89c8f80f3f Working on responsive dropdown menu components. 2015-01-02 11:46:40 +10:30
690174297d Rejigging templates for redesign.
- Componentize more stuff, heading in the direction of Ember 2.0
- Start CSS from scratch
- Everything is broken atm!
2015-01-01 20:08:38 +10:30
ea00d1b2bb Fixed partially showing discussions pane
Referencing the discussions pane which slides out from the sidebar.

Fixed styles for pinned state of dicussions pane

Fixed padding in discussions pane
2014-12-24 23:31:01 +05:30
24617b7e1e Fix up LESS compilation. 2014-12-24 09:36:47 +10:30
238bb40360 Upgrade ember-cli to 0.1.4 and fix related breakage. closes #18 2014-12-23 12:45:07 +10:30
a8d84934ff Fix invalid inverse relationship. 2014-12-20 21:14:10 +10:30
1d8cda3c17 Get rid of some troublesome dependencies for now. 2014-12-20 21:06:15 +10:30
74db323f83 Hello world! 2014-12-20 16:56:46 +10:30