Commit Graph

2212 Commits

Author SHA1 Message Date
c33697654a Fix up uncaught ajax error alert message 2015-02-12 14:34:07 +10:30
ffef6af403 Fix up bug with the way we hide list items
If we use an #unless condition, then when the view is removed from the
template, it is destroyed, and cannot be inserted again. So we’ll just
keep the item there the whole time, and toggle its visibility with CSS.
2015-02-10 19:55:22 +10:30
090e8c6061 Delete ember-cli README 2015-02-10 18:08:20 +10:30
c28307903b Upgrade to Ember 1.11-beta.1
HTMLBars goodness! Since there was some breakage and a lot of fiddling
around to get some things working, I took this opportunity to do a big
cleanup of the whole Ember app. I accidentally worked on some new
features too :3

Note that the app is still broken right now, pending on
https://github.com/emberjs/ember.js/issues/10401

Cleanup:
- Restructuring of components
- Consolidation of some stuff into mixins, cleanup of some APIs that
will be public
- Change all instances of .property() / .observes() / .on() to
Ember.computed() / Ember.observer() / Ember.on() respectively (I think
it is more readable)
- More comments
- Start conforming to a code style (2 spaces for indentation)

New features:
- Post hiding/restoring
- Mark individual discussions as read by clicking
- Clicking on a read discussion jumps to the end
- Mark all discussions as read
- Progressively mark the discussion as read as the page is scrolled
- Unordered list post formatting
- Post permalink popup

Demo once that Ember regression is fixed!
2015-02-10 18:05:40 +10:30
cf88fda8c8 Always add discussion state information 2015-02-10 17:53:52 +10:30
e30ae7b7b8 Don't imply order on posts relationship 2015-02-10 17:53:16 +10:30
8e5cbcd196 Add unordered list formatting 2015-02-10 17:52:13 +10:30
624d3d70bb Refresh comments count when updating metadata 2015-02-10 17:51:39 +10:30
227f19ddf6 Change API attribute for hiding/restoring posts 2015-02-10 17:51:16 +10:30
f56da376da Prevent unnecessary events from being triggered 2015-02-10 17:49:42 +10:30
8e6011e8d0 API for marking all as read 2015-02-10 17:48:58 +10:30
eec50f687c Move extractMeta override to serializer 2015-02-09 20:14:18 +10:30
071e403020 Add editorconfig 2015-02-09 20:12:42 +10:30
af94f22334 Rejig post formatting 2015-02-09 09:49:48 +10:30
3ed893b1b8 Improve LESS variable skinning (unfinished) 2015-02-08 16:00:09 +10:30
d45f2fd1ac Signup + modal refactoring 2015-02-08 15:59:39 +10:30
6c3debc79b Fix jumpy downward post loading 2015-02-08 15:58:53 +10:30
dc6a8bf08b Fix scrubber times 2015-02-08 15:58:37 +10:30
077975fb17 Fix index sorting 2015-02-08 15:57:41 +10:30
64270fd066 Fix index pane autoscroll 2015-02-08 15:57:33 +10:30
7863f0114c Make post types/components more flexible 2015-02-08 15:56:44 +10:30
59964e3b22 Implement post editing 2015-02-08 15:55:33 +10:30
2d181933ea Move alerts to their own controller 2015-02-08 15:51:40 +10:30
28d213d868 Implement discussion composition and creation 2015-02-06 14:07:15 +10:30
abd3aa2e1a Composer and replying tweaks/bug-fixes 2015-02-06 14:06:22 +10:30
e6135d60b2 It's a component, not a view! 2015-02-06 14:03:35 +10:30
b4ea3af5b4 Make discussion in view when returning to index 2015-02-06 12:22:08 +10:30
e4692e3554 Save composer height in localStorage 2015-02-06 12:21:34 +10:30
46ed231c54 Clean up scrolling code 2015-02-06 12:21:24 +10:30
73d6b17963 Fix up API default sort order 2015-02-06 12:20:58 +10:30
c8c7d94211 Update bootstrap 2015-02-06 10:36:38 +10:30
3acf247c07 Remember scroll position when returning to index 2015-02-06 10:36:30 +10:30
cab17be53a Make sure selected discussion is visible in pane 2015-02-06 10:36:16 +10:30
809a87f03f Cleanup, remove some old code 2015-02-06 10:35:46 +10:30
ca981b03f9 Better live timestamp performance 2015-02-06 10:35:27 +10:30
9571a879fc Clean up application controller 2015-02-06 10:34:59 +10:30
9c6e6f9ea0 Fix up z-indexes 2015-02-06 10:34:41 +10:30
3b375e9dc4 These are with the last commit 2015-02-06 10:34:12 +10:30
9ddc622929 Refactor index pane
So that it only loads when needed, and caches results so things are
nice and snappy
2015-02-06 10:32:45 +10:30
0365ae6c71 Load discussion and posts with one request
Speeds things up a heap.
Also fix a whole bunch of bugs with the post stream.
2015-02-06 10:30:38 +10:30
bc3aa449e7 Make discussion count jump to last when read 2015-02-03 19:06:50 +10:30
d2ef15455e Fix broken tooltip in index pane 2015-02-03 18:41:54 +10:30
03320976c3 Tweak composer styles
Make it appear above the sidepane
2015-02-03 18:41:39 +10:30
5b0c775ab4 Mark discussion as read upon reply 2015-02-03 18:41:15 +10:30
9ae0e9d470 Update discussion details upon reply 2015-02-03 18:41:03 +10:30
46c538c157 Better handling of AJAX errors 2015-02-03 18:40:34 +10:30
8c15420f95 Fix login CSS 2015-02-03 17:03:04 +10:30
0552cae1ab Add alert messages 2015-02-03 17:02:46 +10:30
b18534882b Some tweaks 2015-02-03 17:00:41 +10:30
6544052da6 Clean up/refactor composer, add escape hotkey 2015-02-03 16:59:53 +10:30