Commit Graph

51 Commits

Author SHA1 Message Date
Michael Terry
f8b009fecc Fix extracting i18n from jsx code
React code (in jsx files) was not being extracted at all. Fixed this
by updating to edx-i18n-tools 0.4.5.

Also, template literals (feature of es2015) don't work well with
gettext at all. So convert those instances to HtmlUtils or
StringUtils interpolation calls.

FEDX-505
2018-05-02 15:21:45 -04:00
sandroroux
3899b76929 Removes the new course outline waffle flag. 2018-04-13 12:28:14 -04:00
Alex Dusenbery
a515277251 EDUCATOR-2451 | Add expand/collapse all button to course outline. 2018-04-05 15:47:33 -04:00
Diana Huang
fe11412a29 Assume the cookie is set and don't try to get it again. 2018-02-28 11:06:48 -05:00
Simon Chen
db81dfa424 Surface vertical units in the course outline 2018-02-12 14:27:52 -05:00
Harry Rein
9dab9d2c20 a11y issues on upgrade footer.
LEARNER-3055
2018-01-22 13:14:47 -05:00
Matthew Piatetsky
277407f2a6 move course upsell 2018-01-03 13:51:55 -05:00
Harry Rein
aa853a930e Styling changes for responsive behavior on LMS. 2017-11-09 12:46:48 -05:00
Matthew Piatetsky
f015682d5d Only convert price to local currency after document is ready 2017-10-24 22:41:22 -04:00
Matthew Piatetsky
e0c739288e Do not set location cookie for USA and set cookie on top level domain 2017-10-23 17:22:37 -04:00
Andy Armstrong
e2612bdccf Merge pull request #16249 from edx/andya/responsive-discussions
Make the discussion board responsive
2017-10-19 17:09:47 -04:00
Andy Armstrong
d18022bb5d Make the discussion board responsive
LEARNER-1923
2017-10-19 14:09:22 -04:00
Harry Rein
ec17971a2b Orders course goals and updates styling.
LEARNER-2860
2017-10-18 16:57:57 -04:00
Matthew Piatetsky
c741bcbee7 Implement local currency in lms
LEARNER-2412
2017-10-11 14:37:18 -04:00
Andy Armstrong
374cdb0a3d Convert course home page to Bootstrap
LEARNER-1694

Fix a11y failure

Fix header styling

Fix layout issues

Further layout fixes
2017-10-10 20:18:27 -04:00
Harry Rein
c63020f9ce Merge pull request #16184 from edx/HarryRein/LEARNER-2784-sock-cleanup
Harry rein/learner 2784 sock cleanup
2017-10-06 14:18:58 -04:00
Harry Rein
f534e01888 Merge pull request #16096 from edx/HarryRein/LEARNER-2308-update-course-goal
Harry rein/learner 2308 update course goal
2017-10-06 14:11:23 -04:00
Harry Rein
0666ea6969 Sock upgrade message on mobile. 2017-10-06 13:15:54 -04:00
Harry Rein
f3f3edf4bd Allow user to update course goal on course home page.
LEARNER-2308

Once a goal has been set for a user on the course home message,
allow them to update it on the course home side bar. Automatically
sets a course goal for users when enrolling in a verifiable course.
2017-10-06 13:07:03 -04:00
Robert Raposa
91bf523920 Merge pull request #16175 from edx/robrap/LEARNER-2026-clean-up
LEARNER-2026: Revert remains of 'upgrade upsell to course info banner'.
2017-10-06 10:02:49 -04:00
Robert Raposa
e8945ebdc5 Course home event clean-up.
- Convert hero events to BI events.
- Upgrade click event clean-up

LEARNER-2026
2017-10-05 15:29:37 -04:00
Harry Rein
747611eaca Merge pull request #16168 from edx/HarryRein/LEARNER-2332-reviews-speed-up
Add loading icon to reviews page.
2017-10-05 14:31:54 -04:00
Harry Rein
271f3c9f3c Add loading icon to reviews page.
LEARNER-2332

Since CourseTalk doesn't allow for loading a read and write reviews
page at the same time, this commit adds a loading icon to show that
we need to grab the iframe.
2017-10-05 09:18:49 -04:00
Diana Huang
eab6363d94 Make the welcome message disappear after sevent days of first viewing. 2017-10-04 13:30:03 -04:00
Diana Huang
7f4550387c Add eventing to course home upgrade paths. 2017-10-02 17:27:51 -04:00
Gabe Mulley
d509ae1da1 change verified cert image 2017-10-02 12:21:18 -04:00
Harry Rein
2fa8fa2249 Merge branch 'master' into HarryRein/LEARNER-2471-safari-sock-issue 2017-09-22 12:17:15 -04:00
Harry Rein
afe35acf80 Fixing sock issue on master in safari. 2017-09-22 11:02:36 -04:00
Harry Rein
bc76ffe5dc Add message for setting course goal.
LEARNER-2307
2017-09-22 09:56:27 -04:00
Clinton Blackburn
0a6029f7a7 Added verified upgrade hero to course run homepage
Audit learners are now shown a prompt to upgrade to the verified track
of the course run. This message goes away after the learner upgrades.
2017-08-30 17:01:27 -04:00
Diana Huang
086e15c9b6 Update event naming for course sock.
Only show course sock to English readers.
2017-08-24 16:36:28 -04:00
Diana Huang
cb381a7cff Use an X icon instead of text. 2017-08-22 09:13:48 -04:00
Diana Huang
dcf528a597 Add new latest-update fragment and waffle flag. 2017-08-16 13:58:56 -04:00
Harry Rein
8f6aa79c1a Adds eventing to Resume/Start course on Home Page.
LEARNER-2027

Adding eventing on resume and start course button clicks as well as a single jasmine test to assure Logging is occuring as expected.
2017-08-09 14:17:12 -04:00
Diana Huang
8d3fa5432a Add in-place enrollment to course home page. 2017-08-07 16:33:20 -04:00
Harry Rein
666db5cc0d Fixing whitelabel messaging issue.
WL-1147

Switching edx.org and openedx images.
2017-07-26 17:10:07 -04:00
Harry Rein
fd22467261 Merge pull request #15637 from edx/HarryRein/LEARNER-1652-cleanup
Updating jasmine tests for course tools.
2017-07-24 16:26:24 -04:00
Harry Rein
08df53e110 Adding in course messaging to the home page.
LEARNER-1894

This commit adds in course messaging for three use cases. First,
when the user is not signed in, the user is shown a message that
provides a link to sign in or register. If the user is signed in
but not enrolled, they are given a link to do so. If the user is
enrolled but the course has not yet started, they are shown a
message explaining when the course starts and shown a link (not
yet enabled) to add a reminder to their calendar.

The implementation defines a base message class and extends it
for the course home messages as well as the previously implemented
page level messages.
2017-07-24 15:17:12 -04:00
Harry Rein
7efd5f38d4 Updating jasmine tests for course tools.
LEARNER-1652

Converting test to testing all three Logging events and removing page from the logging object that is submitted.
2017-07-24 14:21:32 -04:00
Harry Rein
f2ef2b034a Adding eventing to the course tools.
LEARNER-1652

We now send log events when the user clicks on the events in the course
toolbar, representing a change to the new page.
2017-07-19 13:51:23 -04:00
Harry Rein
5a2998fb5b Allowing writing of reviews on reviews page.
LEARNER-1628

This allows enrolled users to write reviews on the reviews page that
can be accessed through the course tools sidebar. A button in the top
corner of the page toggles the widget that is configured with a
setting in the common.py file. The reviews tool is Course Talk.
2017-07-11 16:16:05 -04:00
Diana Huang
3d09290c14 Add a dismiss button to welcome message.
Store user's preference indefinitely.
2017-06-22 18:26:50 -04:00
Harry Rein
bdf38ae00e Implemented an upgrade verification sock.
This sock sits at the bottom of both the home and the course content pages. It allows the user to click a 'Learn More' button to open a panel that allows the user to navigate to the upgrade checkout page. The sock is only shown for users that have not yet upgraded in a course that has a verification upgrade date that has not yet passed. Python tests cover the various course mode and upgrade dates.
2017-06-15 13:10:34 -04:00
Brian Jacobel
480a3ca60b Move course import JS to Webpack 2017-05-12 14:40:31 -04:00
Brian Jacobel
a2323797f5 Work on sandbox bundling for webpack 2017-05-01 17:09:32 -04:00
Brian Jacobel
3b43fb38a4 Paver runs Webpack (incl watcher) in dev and test 2017-05-01 17:09:32 -04:00
Brian Jacobel
ef4b5cb8c3 Clean up spec and feature; both pass lint and run in Karma 2017-05-01 17:09:32 -04:00
Brian Jacobel
c5df4aa6b7 Work on getting Karma to run 2017-05-01 17:09:32 -04:00
Brian Jacobel
57e8250619 Webpack in LMS 2017-05-01 17:09:32 -04:00
Brian Jacobel
ee344980f8 Add events to course outline, and add JS tests 2017-03-30 15:32:17 -04:00