Commit Graph

51 Commits

Author SHA1 Message Date
Calen Pennington
18d93b00ba Revert "Switch container factory to webpack" 2018-06-07 13:46:47 -04:00
Calen Pennington
b9a72a4dc9 Remove hard-coded codemirror script tags from LMS XBlock pages 2018-06-06 12:52:12 -04:00
Calen Pennington
5487230b54 Load CodeMirror from an external 2018-06-06 12:52:12 -04:00
Calen Pennington
0abe75a7c6 Re-apply the changes to convert XBlocks to Webpack
Reapplies edx/edx-platform#17509

This reverts commit 0f7e2373d0.
2018-06-06 12:52:12 -04:00
Calen Pennington
0f7e2373d0 Revert "Switch container factory to webpack" 2018-05-29 16:01:38 -04:00
Calen Pennington
b03f1422a0 Move word_cloud webpack build back into standard XModule configuration 2018-05-29 12:39:28 -04:00
Calen Pennington
8a3ad0ee4d Pull AjaxPrefix into any webpack page that uses it 2018-05-29 12:28:19 -04:00
Calen Pennington
667dbf1687 Clean up eslint failures 2018-05-29 12:28:19 -04:00
Calen Pennington
61855b2b30 Extract a new webpack-based suite of cms javascript tests 2018-05-29 12:28:19 -04:00
Calen Pennington
79cd02b001 Convert edit_tabs factory to webpack 2018-05-29 12:21:46 -04:00
Calen Pennington
ee6360543b Convert webpackified factories to es6 modules with global exports, and remove the invoke_page_factory pattern 2018-05-29 12:21:46 -04:00
Calen Pennington
12a082cf83 Convert xblock_validation.js to webpack 2018-05-29 12:19:05 -04:00
Calen Pennington
f166ee2592 Convert the Studio Library view to webpack 2018-05-29 12:19:05 -04:00
Calen Pennington
d08e199f79 Load XBlocks with webpack rather than RequireJS 2018-05-29 12:19:05 -04:00
Calen Pennington
389f4fcec9 Switch container.js to bundle using webpack 2018-05-29 12:19:05 -04:00
AlasdairSwan
bfda33da5d LEARNER-4880 added confirmation modal for account deletion 2018-04-24 15:22:00 -04:00
jaebradley
fab388ad6b add cookie policy banner with feature flag 2018-04-17 16:48:52 -04:00
Waheed Ahmed
544f7faa0d Fix program type logos.
file-loader just providing the file name and underscore printing it's
name instead of content.

LEARNER-4965
2018-04-16 12:54:56 +05:00
Michael Terry
a34c8c8233 Drop remaining coffee use
This basically commits the transpiled CoffeeScript JS (with minor
cleanup) and removes coffee build support.

A tiny amount of support for xblocks exists, because external users
may have xblocks with coffee. But no coffee in our tree anyway.
2018-04-13 14:10:40 -04:00
Michael Terry
c19d01a994 Add live validation to password reset
Adds a new React factory for that page to handle the logic. Also
cleans up the UI a little (centers it, stops using serif font, etc).
2018-04-05 11:59:26 -04:00
Alex Dusenbery
a996822094 Revert "Revert "Track viewing of individual blocks.""
This reverts commit e2675f57b5f747b6a9e21067c75911fbd0341943.
2018-03-22 10:37:40 -04:00
Michael LoTurco
3b928e3e99 Adds EntitlementSupportView, Template, and base react element 2018-03-09 14:01:12 -05:00
Ari Rizzitano
c5b199a1a2 fix linting errors and un-vendor backbone-associations
remove erroneous asset_index listing

remove indirect define

remove pageFactoryArguments index

max length seems excessive for this file

lintfix

un-vendor backbone associations
2018-03-06 15:35:47 -05:00
Calen Pennington
970bc6a50d Move the context course and sock into require_page compatible forms 2018-03-06 15:35:46 -05:00
Calen Pennington
52e7af4148 Move pattern-replacement file lists into a separate file
Move pattern-replacement file lists into a separate file

punt the react stuff for now
2018-03-06 15:35:23 -05:00
Calen Pennington
c8e1e14479 Fix all text!*.underscore import issues in webpack 2018-03-06 15:35:23 -05:00
Rabia Iftikhar
3be942bf8f upgrade backbone-associations, fix tests
Merge pull request #17559 from edx/ri/EDUCATOR-2231-remove-enrollment-dates-references

EDUCATOR-2231 remove course run enrollment dates references from studio

add NoTextbooks component

make backbone-associations work

webpackify context course

test fixup
2018-03-06 15:30:56 -05:00
Michael Terry
c9318c3e51 Convert learner_dashboard to es2015 2018-03-02 08:57:34 -05:00
Calen Pennington
c45de5c32b Revert "Revert "Revert "Merge pull request #17325 from cpennington/switch-ass…" 2018-02-28 11:06:39 -05:00
Calen Pennington
b1c9ad175d Revert "Revert "Merge pull request #17325 from cpennington/switch-asset-index-factory-to-webpack""
This reverts commit 67177ac72d.

The original PR cause a breakage on production due to webpack building two different
copies of the asset_index.js bundle. However, it is unclear whether that was a
transitory issue or not. This commit restores the original PR to validate whether
the problem is reproducible.
2018-02-27 16:18:27 -05:00
Calen Pennington
67177ac72d Revert "Merge pull request #17325 from cpennington/switch-asset-index-factory-to-webpack"
This reverts commit 1c46bd89c3, reversing
changes made to eb6064e333.
2018-02-22 14:12:32 -05:00
Calen Pennington
cb5ae11b13 Move pattern-replacement file lists into a separate file 2018-02-21 10:52:43 -05:00
Calen Pennington
a352fc47e3 Fix all text!*.underscore import issues in webpack 2018-02-21 10:29:42 -05:00
Calen Pennington
c906c186ce Move the context course and sock into require_page compatible forms 2018-02-21 10:29:41 -05:00
Calen Pennington
569066edf5 Convert cms/static/js/factories/asset_index.js to be bundled using webpack 2018-02-21 10:29:41 -05:00
Alex Dusenbery
919355cab1 Revert "Track viewing of individual blocks."
This reverts commit 4946b6b296.
2018-02-20 14:42:28 -05:00
J. Cliff Dyer
4946b6b296 Track viewing of individual blocks.
* Implement a ViewedEvent handling system which calls handlers when a
  block has been viewed for 5 seconds (configurable).
* Hook up Verticals to register their children blocks with this event,
  and submit completions once seen.

OSPR-2093
OC-3358
2018-02-15 15:13:48 -05:00
Tyler Hallada
73cffad5ce Dev in sfe container & prod use /dist of sfe 2018-02-15 13:20:18 -05:00
jaebradley
47b36c6acd implement portfolio project test upsell modal
update styles

html updates

add waffle flags

fix waffle flags
2018-02-07 07:41:33 -05:00
Calen Pennington
5772042199 Migrate login.js to webpack 2018-01-30 10:32:31 -05:00
David Ormsbee
17277ca1c2 Fix modules[moduleId] error when running JS tests
Running LMS Karma tests was causing the following error:

  TypeError: modules[moduleId] is undefined
  at /edx/app/edxapp/edx-platform/lms/static/course_experience/js/spec/Enrollment_spec.js:20

The root issue was sinon, as documented here:
  https://github.com/webpack/webpack/issues/304

I tried multiple fixes suggested from that issue until I found one that
worked: https://github.com/webpack/webpack/issues/304#issuecomment-272150177
2018-01-20 21:54:55 -05:00
jaebradley
3218f64326 implement upsell modal
update css

updated css

make modal experimental

add waffle flag
2018-01-17 11:26:57 -05:00
Diana Huang
7af52bf125 Add Learner Analytics dashboard.
Add the back-end and front-end React app for Learner Analytics.
This was mostly authored by @AlasdairSwan and @dianakhuang.

LEARNER-3376
2018-01-16 11:57:12 -05:00
Michael Youngstrom
fb387c9633 Revert "jaebradley/learner 3600 upsell modal" 2018-01-12 14:48:00 -05:00
jaebradley
4573b63018 implement modal and carousel
wip

upsell modal css

remove unnecessary newline

accidentally removed feature

update props

update modal component

update css

add additional slides

update styling

update copy
2018-01-12 01:35:15 -05:00
Ari Rizzitano
a5ab620e3e convert course/library listing to use reactrenderer 2018-01-08 13:43:06 -05:00
David Ormsbee
2568a4280b Reduce size of the commons.js bundle.
Increase the number of bundles that a chunk has to appear in to be put
into the commons.js bundle. This drastically reduces the size of the
commons.js bundle (used basically everywhere on LMS and Studio) from
953K to 188K, mostly at the cost of making AccessibilityPage and
AssetsPage (both Studio-only) larger -- 345K -> 1.1M, 91K -> 865K.
2017-12-08 12:48:28 -05:00
Ari Rizzitano
8ca0fe9dfc introduce ReactRenderer module and renderReact mako def
[FEDX-453]

[extreme wip] mako/react bridge code [FEDX-453]

more attempts

split out entry points into separate file

this works!

kill dynamic import

error handling

didn't need webpack_static

handle passing props

cleanup django-template-rendering defs

pytest monkeypatch fix

cleanup

add id arg to renderReact def

more cleanup

oops

quality xss fixes

unittest fix

kill HelloWorld
2017-12-05 17:53:46 -05:00
Michael Roytman
2afbe87723 add Accessibility Page into studio from studio-frontend 2017-12-02 08:29:15 -05:00
Gregory Martin
a990e1fee8 Add Paragon Implementation to Wiki 2017-11-06 16:33:46 -05:00