-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add UI Toolkit to the platform #11799
Closed
Closed
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
d43f33d
Properly escape mixed content. text + html.
415c0ea
Merge pull request #11802 from edx/mzfr/notes-bug
167efea
render progress status while problem content rendering
Qubad786 31cd7af
Merge pull request #11811 from edx/mrehan/tnl-4219-progress-detail-no…
Qubad786 e2b8df7
Clear out usages of deprecated vendor prefixes.
ae0a128
Reverted rfc6266 change
aba4e58
Merge pull request #11814 from edx/clintonb/req-fix
tobz 2a5fce9
Update problem-builder to version 2.0.3
a32ee42
Revert "Fixed the other half of forgot password flow accourding to lo…
cac35ee
Merge pull request #11823 from edx/releng/revert-ecom-2947
tobz 3d95bd5
Merge pull request #11793 from edx/rc/2016-03-16
tobz 9b8ff77
Merge pull request #11824 from edx/release
tobz 79c5a79
Removed duplicate lettuce test from data_download.feature
Muddasser 079742d
Removed duplicate lettuce test from course-export.feature
Muddasser 8323811
Removed duplicate luttuce test from courses.feature
Muddasser 6883f21
Update translations (autogenerated message)
cb0bb1f
Removed duplicate lettuce test from component.feature
Muddasser 792bca8
Removed annotatable.feature and events.feature and related py files
c504029
Create a third shard for lms unit tests.
8aff51b
Merge pull request #11818 from open-craft/omar/problem-builder
bradenmacdonald 4660055
Merge pull request #11411 from edx/benp/shard2-lms
b8b7327
Revert "Make Capa problems do initial load without AJAX."
2536c58
Merge pull request #11835 from edx/ned/updated-translations
nedbat 6ad750a
Fixed accessibility issues with password reset
ebefd0d
Merge pull request #11843 from edx/clintonb/login-a11y
clintonb 6860366
Merge pull request #11842 from edx/hotfix/2016-03-17
adampalay 3893f3f
MA-2164 add youtube when mobile video encoding missing
ec57ee0
Merge pull request #11848 from edx/release
adampalay 8343bd4
Merge pull request #11791 from edx/raees/testing-one-feature-file
f3a0c58
Merge pull request #11836 from edx/muddasser/lettuce/cms/component.fe…
Muddasser ba4e9ee
Merge pull request #11833 from edx/muddasser/lettuce/cms/courses
Muddasser c9f8682
Merge pull request #11832 from edx/muddasser/lettuce/cms/course_export
Muddasser 1cef582
Merge pull request #11829 from edx/muddasser/lms/data_download
Muddasser 658348d
Merge pull request #11816 from edx/sstudent/MA-2164
f3d000e
Merge pull request #11812 from edx/PERF-276
tobz 76b8e2e
Merge pull request #11631 from edx/fedx/upgrade-libraries
andy-armstrong fd2421e
Add UI Toolkit to the platform
andy-armstrong File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../node_modules/edx-ui-toolkit/src/js |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 26 additions & 26 deletions
52
common/static/common/js/components/views/feedback_notification.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
;(function (define) { | ||
;(function(define) { | ||
'use strict'; | ||
define(["jquery", "underscore", "underscore.string", "common/js/components/views/feedback"], | ||
define(['jquery', 'underscore', 'underscore.string', 'common/js/components/views/feedback'], | ||
function($, _, str, SystemFeedbackView) { | ||
|
||
var Notification = SystemFeedbackView.extend({ | ||
options: $.extend({}, SystemFeedbackView.prototype.options, { | ||
type: "notification", | ||
closeIcon: false | ||
}) | ||
}); | ||
|
||
// create Notification.Warning, Notification.Confirmation, etc | ||
var capitalCamel, intents; | ||
capitalCamel = _.compose(str.capitalize, str.camelize); | ||
intents = ["warning", "error", "confirmation", "announcement", "step-required", "help", "mini"]; | ||
_.each(intents, function(intent) { | ||
var subclass; | ||
subclass = Notification.extend({ | ||
options: $.extend({}, Notification.prototype.options, { | ||
intent: intent | ||
var Notification = SystemFeedbackView.extend({ | ||
options: $.extend({}, SystemFeedbackView.prototype.options, { | ||
type: 'notification', | ||
closeIcon: false | ||
}) | ||
}); | ||
Notification[capitalCamel(intent)] = subclass; | ||
}); | ||
|
||
// set more sensible defaults for Notification.Mini views | ||
var miniOptions = Notification.Mini.prototype.options; | ||
miniOptions.minShown = 1250; | ||
miniOptions.closeIcon = false; | ||
// create Notification.Warning, Notification.Confirmation, etc | ||
var capitalCamel, intents; | ||
capitalCamel = _.compose(str.capitalize, str.camelize); | ||
intents = ['warning', 'error', 'confirmation', 'announcement', 'step-required', 'help', 'mini']; | ||
_.each(intents, function(intent) { | ||
var subclass; | ||
subclass = Notification.extend({ | ||
options: $.extend({}, Notification.prototype.options, { | ||
intent: intent | ||
}) | ||
}); | ||
Notification[capitalCamel(intent)] = subclass; | ||
}); | ||
|
||
// set more sensible defaults for Notification.Mini views | ||
var miniOptions = Notification.Mini.prototype.options; | ||
miniOptions.minShown = 1250; | ||
miniOptions.closeIcon = false; | ||
|
||
return Notification; | ||
}); | ||
return Notification; | ||
}); | ||
}).call(this, define || RequireJS.define); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../node_modules/edx-pattern-library/pattern-library/js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../node_modules/edx-ui-toolkit/src/js/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are no actual code changes in this file, correct?