Commit Graph

32 Commits

Author SHA1 Message Date
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
Eric Fischer
3fc342e6e8 Webpack config prod/dev split
EDUCATOR-1448

Modifies paver webpack task to use production configuration in all
non-devstack environments, and a development config in devstack.
2017-10-26 14:03:53 -04:00