cahrens
a170c6f4e7
Change save_item and create_item to RESTful URL.
...
Part of STUD-847.
2013-11-14 11:03:31 -05:00
Don Mitchell
45453fae61
Change expect_json to put parsed json in new attr
2013-10-29 16:13:58 -04:00
cahrens
52f4f6afbc
Pull modal cover and date utils into their own files.
...
Move overview-specific functions into overview.js.
2013-10-23 15:44:58 -04:00
cahrens
28dd142758
Only change the collapse/expand state on the first child.
...
There are possibly children nested below that.
2013-10-09 13:25:36 -04:00
Brian Talbot
bbe906f77f
Studio: changes drag and drop container to new .wrapper-dnd on outline/subsection views
2013-10-08 17:24:00 -04:00
cahrens
1de194aaa4
Use RequireJS for test dependencies, and use domReady.
2013-10-08 09:55:15 -04:00
cahrens
61cfb91218
Cleanup to drag and drop implementation.
...
Also includes RequireJS changes.
Fixes bugs:
STUD-755, STUD-152, STUD-700, STUD-699
2013-10-07 17:18:40 -04:00
Brian Talbot
14b4b6a24e
Adds in minimally revised drag and drop styling.
...
Add CSS classes and fix drop destination bug.
2013-10-07 17:17:46 -04:00
Peter Fogg
85be9b4265
Jasmine tests for drag/drop.
2013-10-07 17:17:46 -04:00
Peter Fogg
7640ade481
Fix not being able to expand an empty subsection.
2013-10-07 17:17:46 -04:00
Peter Fogg
cbd066da04
Address PR comments.
...
Remove unused variables; some changes to match existing BDD spec for
drag/drop (expand-on-hover timeout and dropping with mouse outside of
element); bugfix for section expand; some code cleanup; update and
re-enable acceptance test.
2013-10-07 17:17:46 -04:00
Peter Fogg
1c9fbec94b
CSS classes for drop targets.
2013-10-07 17:17:46 -04:00
Peter Fogg
a0deac0399
Make all of section/subsection/unit draggable.
2013-10-07 17:17:46 -04:00
Peter Fogg
fd2f720adb
Add auto-expand to overview lists.
2013-10-07 17:17:46 -04:00
Peter Fogg
2d3cba06d2
Rework course overview drag and drop.
...
Failed drags bring the element back to where it started; elements are
locked to the y-axis, states are represented as CSS classes for
styling, elements can be dragged across section/subsection borders,
and dragging to the top/bottom of a section Just Works™.
Needs some styling love to give visual representation of where the
dragged element will drop, though.
TODO: It'd be good to have auto expand/collapse for subsections.
2013-10-07 17:17:46 -04:00
David Baumgold
d97921e6e2
Convert Studio JS to use require.js
2013-10-04 13:43:50 -04:00
David Baumgold
fd8b375f3a
Translated …
2013-09-06 09:17:19 -04:00
David Baumgold
55b68168e7
Cleanup/reformatting
2013-08-06 11:29:45 -04:00
Peter Fogg
4a77693f4a
Show notification on course outline reorder.
2013-08-01 09:41:27 -04:00
David Baumgold
7f69e45b9e
whitespace changes
2013-05-08 09:29:20 -04:00
Don Mitchell
8bc9564d92
clean up note to self
2013-02-11 16:45:36 -05:00
Don Mitchell
777e0ef9c5
The other one was too inclusive
2013-02-11 16:36:34 -05:00
Don Mitchell
565f5f0adc
Stop simple clicks from paging to top w/o disrupting dnd
2013-02-11 16:28:22 -05:00
Don Mitchell
ae4a854e18
Bug 180
2013-02-11 15:46:58 -05:00
Don Mitchell
902cdefefa
Added comments for unused 2nd arg on generateCheckHoverState
2013-02-04 12:05:49 -05:00
Don Mitchell
50eced5b32
Attempt to patch the dnd hesitation fixes onto master
2013-02-04 11:34:59 -05:00
Don Mitchell
1595bd9b0e
Move dnd code from base.js to a js file only loaded by overview.html
2013-02-01 17:20:58 -05:00