Add a dismiss button to welcome message.

Store user's preference indefinitely.
This commit is contained in:
Diana Huang
2017-05-24 13:27:28 -04:00
committed by Andy Armstrong
parent 72fb972288
commit 3d09290c14
16 changed files with 246 additions and 102 deletions

View File

@@ -1,6 +1,6 @@
define ["js/models/uploads", "js/views/uploads", "js/models/chapter",
define ["sinon", "js/models/uploads", "js/views/uploads", "js/models/chapter",
"edx-ui-toolkit/js/utils/spec-helpers/ajax-helpers", "js/spec_helpers/modal_helpers"],
(FileUpload, UploadDialog, Chapter, AjaxHelpers, modal_helpers) ->
(sinon, FileUpload, UploadDialog, Chapter, AjaxHelpers, modal_helpers) ->
describe "UploadDialog", ->
tpl = readFixtures("upload-dialog.underscore")

View File

@@ -1,6 +1,7 @@
define(['js/utils/drag_and_drop', 'common/js/components/views/feedback_notification',
define(['sinon', 'js/utils/drag_and_drop', 'common/js/components/views/feedback_notification',
'edx-ui-toolkit/js/utils/spec-helpers/ajax-helpers', 'jquery', 'underscore'],
function(ContentDragger, Notification, AjaxHelpers, $, _) {
function(sinon, ContentDragger, Notification, AjaxHelpers, $, _) {
'use strict';
describe('Overview drag and drop functionality', function() {
beforeEach(function() {
setFixtures(readFixtures('mock/mock-outline.underscore'));