Commit Graph

371 Commits

Author SHA1 Message Date
Ibrahim Awwal
1be378e697 Render comment replies properly, and update them after receiving a response. 2012-09-11 14:31:03 -07:00
Ibrahim Awwal
a91a5df499 Use regular javascript attributes for parent reference rather than setting
Backbone.Model attributes because Model attributes get serialized into
JSON which is wasteful.
2012-09-11 13:57:51 -07:00
Ibrahim Awwal
2c6c64d533 Sort comment replies in chronological order, keeping the parent references. 2012-09-11 13:12:01 -07:00
Carlos Andrés Rocha
2900c169cc Load inline comments templates at render time and not during page load 2012-09-11 15:58:16 -04:00
Matthew Mongeau
f4ba65c5d5 Show and hide search correctly. Added loading icon. 2012-09-11 13:30:00 -04:00
Tom Giannattasio
a0eefd1ea2 tweaked inline responses and new response toolbar 2012-09-11 10:59:40 -04:00
Ibrahim Awwal
2d105265f9 Add @references for deeply nested (3+) comments. 2012-09-11 05:43:21 -07:00
Ibrahim Awwal
fc459f7e44 Displays deeply nested comments inline.
This just puts them in three traversal order rather than chronological order.
Not sure which makes the most sense, but I'll implement both ways.
2012-09-11 05:08:55 -07:00
Ibrahim Awwal
ce16d22451 Fix anonymous posts on the inline discussion view. 2012-09-11 04:09:53 -07:00
Ibrahim Awwal
8b7940f413 Fixed context links after searching for real, and removed some more dead code. 2012-09-11 03:40:33 -07:00
Arjun Singh
a49b638027 Edit post works now. 2012-09-11 01:07:03 -07:00
Matthew Mongeau
79775c6ea8 Remove all number. Toggle search and dropdown. 2012-09-10 21:51:25 -07:00
Ibrahim Awwal
0da2f60a5e [Fixes #35791223] Clear the WMD preview after posting a new post. 2012-09-10 17:29:34 -07:00
Ibrahim Awwal
96eb40384f Fix markdown in thread view. 2012-09-10 16:45:48 -07:00
Arjun Singh
7ad9b39b98 Merge master 2012-09-10 15:33:59 -07:00
Ibrahim Awwal
042ab6d2ef Suppress underscore errors when not on the right page. Ideally page specific JS execution would take care of this. 2012-09-10 14:08:18 -07:00
Ibrahim Awwal
259e6e46ad Fix discussion module
It worked in Chrome because Chrome appears to magically infer some missing
arguments to methods. This is the second time this happened, should be more
careful about it in the future, because it causes confusion when features
work for some students but not others.
2012-09-10 12:59:14 -07:00
Tom Giannattasio
19bd60e905 tightened dropdown topic name treatment 2012-09-10 12:23:47 -07:00
Matthew Mongeau
5e0913547f Add backbone checks. 2012-09-10 12:23:29 -07:00
Tom Giannattasio
d0c2d31558 new show/hide button for inline discussions 2012-09-10 12:12:46 -07:00
Tom Giannattasio
9c85be9d5e fixed show/hide glitch on inline discussion button 2012-09-10 12:12:07 -07:00
Tom Giannattasio
8b64dd6a27 new inline thread styles 2012-09-10 12:11:43 -07:00
Arjun Singh
aa7af4e6fe Make thread view with subview work 2012-09-10 11:40:52 -07:00
Tom Giannattasio
4f4f35f59e prevent defaults added 2012-09-07 17:04:06 -04:00
Tom Giannattasio
891a223f72 tweaked styling of inline pagination 2012-09-07 16:50:32 -04:00
Tom Giannattasio
a0c887cd5f new inline post styles 2012-09-07 16:24:25 -04:00
David Ormsbee
db0549be78 Merge pull request #594 from MITx/feature/ibrahim/discussion_distinguish_instructors
Feature/ibrahim/discussion distinguish instructors
2012-09-07 06:52:15 -07:00
David Ormsbee
0b4ef7e5d9 Merge pull request #640 from MITx/feature/kfiedler/autofocus
Added outofocus for sign in and log in forms
2012-09-07 06:27:24 -07:00
Ibrahim Awwal
0cb2517207 Pagination urls now work for deep linking, although the discussion isn't automatically shown yet. 2012-09-07 04:16:39 -07:00
Ibrahim Awwal
b2f3eee93b Pagination in inline discussion views. 2012-09-07 03:37:19 -07:00
Ibrahim Awwal
a40c8fad2d Fix inline thread rendering when expanding and contracting. 2012-09-06 19:04:56 -07:00
Ibrahim Awwal
b33ef47d20 Clear body textarea after a successful post. 2012-09-06 18:35:03 -07:00
Ibrahim Awwal
0022efb7e4 Add loading animation to discussion module. 2012-09-06 18:08:28 -07:00
Matthew Mongeau
366e9c674b Code for displaying endorsed checkmark. 2012-09-06 17:46:04 -04:00
Tom Giannattasio
9923323fdc styled new post error messages 2012-09-06 17:22:00 -04:00
Kyle Fiedler
d923be0786 Added outofocus for sign in and log in forms 2012-09-06 16:29:51 -04:00
David Ormsbee
bea6db620a Merge pull request #533 from MITx/feature/halogenandtoast/calculator
Put in calculator in courseware
2012-09-06 13:00:09 -07:00
David Ormsbee
1acb7dc24f Add a short delay to calculator input focus so it doesn't jump to the bottom of the screen when you open it. 2012-09-06 15:52:31 -04:00
Tom Giannattasio
2b5718a98b fixed blank slate sidebar resize glitch 2012-09-06 14:02:23 -04:00
Tom Giannattasio
92e9edc05b focus search on drop 2012-09-06 11:49:57 -04:00
ichuang
56951e9961 put try-catch around histogram coffeescript code 2012-09-06 11:18:00 -04:00
Ibrahim Awwal
e77e5a4e52 Modify jquery.tagsinput plugin to allow filtering tags, and filter tags by converting them to lowercase so the service doesn't just error when you submit. 2012-09-06 04:12:29 -07:00
Ibrahim Awwal
4354afe1b5 Fix markdown in thread bodies and comments. 2012-09-06 03:40:10 -07:00
Ibrahim Awwal
2811822b93 Attach the discussion_id to posts made from the embedded discussion forum. 2012-09-06 02:11:47 -07:00
Ibrahim Awwal
00d21acd79 Add newly posted threads to the inline thread list. 2012-09-06 01:33:40 -07:00
Ibrahim Awwal
2eb763e4ce New post form on inline discussion, works, with some bugs in styling. 2012-09-06 00:25:54 -07:00
Ibrahim Awwal
00a6526fd0 Make voting render properly in inline discussions. Also might have fixed
following if it wasn't working before.
2012-09-05 17:58:18 -07:00
Tom Giannattasio
64d9db8497 fixed variable height filter drop items bug 2012-09-05 17:14:28 -04:00
Arjun Singh
e70673cf07 add loading callback back in for new post 2012-09-05 13:05:59 -07:00
Matthew Mongeau
df8256085c Update display when creating new post. 2012-09-05 15:56:58 -04:00