Commit Graph

24859 Commits

Author SHA1 Message Date
Ben McMorran
e4635aaa69 Don't release date if it hasn't been changed.
STUD-2056
2014-08-07 12:27:35 -04:00
Ben McMorran
391ab8469e Open "View Live Version" and "Preview Changes" in a new window
STUD-2058
2014-08-07 12:27:35 -04:00
Ben McMorran
9b6c9fead9 Remove staff lock field when removing staff lock 2014-08-07 12:27:35 -04:00
Mark Hoeber
3c0612a8b8 Help changes for bulk publishing 2014-08-07 12:27:34 -04:00
Ben McMorran
91c1fa0207 Restore set_input_value 2014-08-07 12:27:34 -04:00
Daniel Friedman
206e4a954d Disable ajax caching in IE to fix backbone fetching 2014-08-07 12:27:34 -04:00
cahrens
04be309ec4 Cleanup from rebase. 2014-08-07 12:27:28 -04:00
Ben McMorran
36afbfbdde Add test for expand collapse while editing name 2014-08-07 12:27:28 -04:00
cahrens
fbc886aab9 Store the expanded locators on the page.
STUD-2038
2014-08-07 12:27:28 -04:00
cahrens
0083cfc450 Always call refresh on parent of drag and drop operation.
STUD-2048
2014-08-07 12:27:27 -04:00
Frances Botsford
b392e96d7d explicitly set transparent bg on flat outline button to prevent browser defaults 2014-08-07 12:27:27 -04:00
Brian Talbot
b83c3976bc scoping staff only color to .status-message icons 2014-08-07 12:27:27 -04:00
Daniel Friedman
f3173c7875 Don't use click_css in add_unit. 2014-08-07 12:27:27 -04:00
Tim Babych
ef9cf87b01 Compute graders just once per Course. 2014-08-07 12:27:26 -04:00
cahrens
bba03a51d7 Show "Not Graded" for non-graded content with due date. 2014-08-07 12:27:26 -04:00
Ben McMorran
d514f363fc Integrate UI text strings from doc
STUD-1856

Display "IS VISIBLE TO" when released and published

Reword staff lock prompt and notifications

Change "View Published Version" to "View Live Version"

Change "Unit Tree Location" to "Unit Location in Course"

Switch live content warning based on unpublished changes

Reword discard changes confirmation prompt

Reword unit location tip

Add "Edit the name" popup text for sections and subsections

Fix popup text for section and subsection titles

Add popup text for new section, subsection, and unit buttons

Reword popup for View Live button and add tests

Reword notification when removing staff lock

Update MessageView when has_changes changed

Change "Published" to "Published (not yet released)"

Change "Unpublished (Staff only)" to "Visible to Staff Only"
2014-08-07 12:27:26 -04:00
Tim Babych
d7f75778dd Pass parent_xblock to xblock_studio_url to avoid unnecessary calls to get_parent_xblock. 2014-08-07 12:27:26 -04:00
Alexander Kryklia
5dbfd1087b Add styling to due date and grading format of subsection. 2014-08-07 12:27:25 -04:00
Frances Botsford
8b78eefe97 fixing long names on outline, unit, container 2014-08-07 12:27:25 -04:00
Frances Botsford
22ead5d766 styling for unit location module on container page 2014-08-07 12:27:25 -04:00
Tim Babych
8d0e469cd3 Remove code and template responsible for subsection edit page 2014-08-07 12:27:25 -04:00
cahrens
819c94688a Increase "fudge" factor for dragging to top of list with only 1 element. 2014-08-07 12:27:24 -04:00
Brian Talbot
8ca3f28f16 resolving mid-drop unit marign issue in Firefox 2014-08-07 12:27:24 -04:00
Brian Talbot
988324d0a0 Studio: re-implemeting visual styling for drag and drop:
* adding back in drag and drop indicators to outline DOM
* correcting visual display of drag action in outline UI
* adjusting styling of outline drag and drop indicators
* adjusting styling of drag and drop was-dropped state
2014-08-07 12:27:24 -04:00
cahrens
650bdc2fe7 Drag and drop support on the course outline page. 2014-08-07 12:27:24 -04:00
polesye
e8ae3d1b4a Fix Group Configuration Page after rebase. 2014-08-07 12:27:23 -04:00
polesye
61c417f7f4 STUD-2021: Fix Multiple Choice Options in Studio. 2014-08-07 12:27:23 -04:00
cahrens
121922a316 Fix rebase issue. 2014-08-07 12:27:17 -04:00
Alexander Kryklia
a63cc0b30f Edit section/subsection release dates and grading types.
Fix bok_choy test by changing course separator.
Change format of the modal title to '[Subsection/Section Name] Settings'.
Improve bok_choy test stability.
Studio: correcting modal window size name for outline settings editor
Specify full date in bok_choy tests.
Refactor bok_choy tests.
Remove .modal-editor from basic-modal.underscore
Set classes in modal window dynamically.
Studio: revising outline edit modal tip content and overall size
Rename isEditable to isEditableOnCourseOutline.
Interpolate display name.
Use graded instead of format as flag.
Studio: revising outline settings edit modal size
Fix selectors in bok_choy tests.
2014-08-07 12:27:17 -04:00
Daniel Friedman
8ca4c68580 Reduce parent/child lookups in create_xblock_info
STUD-1997
2014-08-07 12:27:16 -04:00
Daniel Friedman
529672ac0c Reduce calls to expensive methods in create_xblock_info
Special-case the outline page requests.

STUD-1997
2014-08-07 12:27:16 -04:00
Ben McMorran
ce06e7f7e7 Fix delete messages in course outline
STUD-2019
2014-08-07 12:27:16 -04:00
Ben McMorran
9d44417ccb Add tests for course outline warning messages
Fix failing bokchoy tests
2014-08-07 12:27:15 -04:00
Daniel Friedman
2118453e00 Include edited/published_by for container page only 2014-08-07 12:27:15 -04:00
Brian Talbot
9d6d98b326 Studio: further outline UI revisions + PR feedback
* syncing up status-release hover states for outline units
* adjusting in-context editor UI for longer outline titles
* corrects outline incontext editor display regression
* cleaning up unit/container sidebar styling
* removing redundant margin on Outline UI subsections
* selecting text when a user focuses into an incontext-editor input - STUD-2032
2014-08-07 12:27:15 -04:00
Ben McMorran
4ee8256c97 Add test fixes and fix expand collapse behavior
Stop propagation of clicks in XBlockStringFieldEditor
Fix collapsed subsections expanding when creating or deleting subsections
Prevent clicking in display name textbox from toggling expand collapse
Add test for published title when not live
2014-08-07 12:27:15 -04:00
Brian Talbot
f194b9c483 Studio: addressing outline UI PR feedback:
* correcting visual display of outline UI without content
* temporarily resolving page actions that should be hidden by default
2014-08-07 12:27:14 -04:00
cahrens
6d82cf09a4 Correct publish titles, code review feedback. 2014-08-07 12:27:14 -04:00
Andy Armstrong
ef581e1146 Apply code review comments and fix tests 2014-08-07 12:27:14 -04:00
Ben McMorran
9b98604975 Fix most bokchoy tests 2014-08-07 12:27:13 -04:00
Brian Talbot
c433d2b48c Studio: outline UI revisions:
* syncing up unit publishing state UI with stateful names/styles
* revising outline item status message display logic to show release status
* fixing publishState value typo in outline UI template
* refining and syncing incontext editor styling
* maintaining visual alignment of collapsed/expanded sections in outline UI
* simplifying page-level action styles on outline UI
2014-08-07 12:27:13 -04:00
Andy Armstrong
a359065329 Integrate visual styling into the course outline 2014-08-07 12:27:13 -04:00
Brian Talbot
c027f90dbc Studio: course outline revised styling with reference templates 2014-08-07 12:27:12 -04:00
Ben McMorran
fdc79b3050 Adds edit info to instantiated xblock in update_item 2014-08-07 12:27:12 -04:00
Mark Hoeber
9524c212d6 Fix help test
organizing_course -> outline
2014-08-07 12:27:12 -04:00
Mark Hoeber
5edd7651cd Help changes for Publishing Feature 2014-08-07 12:27:12 -04:00
Ben McMorran
73bd863712 Fix staff outline bug 2014-08-07 12:27:11 -04:00
Ben McMorran
f31475a2fd Add bokchoy tests for outline page 2014-08-07 12:27:11 -04:00
cahrens
327a97f7c6 Failing test for create_item populating edit information. 2014-08-07 12:27:11 -04:00
cahrens
49e4ffbeb0 Work around for JQuery sortable bug (placeholder smaller than component).
STUD-1967
2014-08-07 12:27:11 -04:00