Commit Graph

65 Commits

Author SHA1 Message Date
Waheed Ahmed
d7d310bc4f Course dates mobile fragment improvments.
Added new mobile css entry in css pipline and removed
dates heading for mobile view.

LEARNER-3206
2017-12-04 15:16:06 +05:00
Ned Batchelder
e23e3a0486 Fix a number of unused-import pylint violations 2017-11-21 19:57:06 -05:00
John Eskew
80d70f6ecb Run all touched files through isort. 2017-11-09 09:25:19 -05:00
John Eskew
6672f64188 Add commerce AppConfig and use to register signals. Move imports.
Add explicit 'lms.djangoapps' prefix to all commerce imports, as another
commerce Django app exists at openedx.core.djangoapps.commerce
2017-11-09 09:24:37 -05:00
Harry Rein
7091ed0f70 Merge pull request #16337 from edx/HarryRein/home-page-styling-fixes
Course home page styling with bootstrap.
2017-10-26 13:39:44 -04:00
Harry Rein
d4e93fc655 Course home page styling with bootstrap.
Updates the new bootstrap course home page to match the old course home page.
2017-10-26 09:25:58 -04:00
Gabe Mulley
f90f4276f9 fix course sock for courses without verified modes 2017-10-24 11:18:36 -04:00
Gabe Mulley
44e5afba1e Revert "Revert "Merge pull request #16260 from edx/mulby/dynamic-deadline-upgrade-messaging""
This reverts commit b541dfa3fd.
2017-10-24 11:18:06 -04:00
Eric Fischer
b541dfa3fd Revert "Merge pull request #16260 from edx/mulby/dynamic-deadline-upgrade-messaging"
This reverts commit a13595352f, reversing
changes made to 68d5fe8922.
2017-10-20 10:45:40 -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
Gabe Mulley
dafeca5770 Change upgrade deadline messaging 2017-10-19 10:59:44 -04:00
Harry Rein
ec17971a2b Orders course goals and updates styling.
LEARNER-2860
2017-10-18 16:57:57 -04:00
Waheed Ahmed
202f190104 Course dates web fragment for mobile apps.
Implement a course dates fragment as a web view, currently we are using
the course info page to get the course dates section by parsing the
whole html page.

LEARNER-2769
2017-10-17 13:09:38 +05: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
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
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
John Eskew
0890193d6b PLAT-1408: Import csrf from new path. 2017-10-05 11:12:53 -04:00
John Eskew
7dfb6cc681 Change all UTC timezones to import from pytz instead of Django. 2017-10-05 11:12:52 -04:00
Andy Armstrong
7dfe12a1f3 Show course home messages for important course dates
LEARNER-2073
2017-10-02 17:27:51 -04:00
Robert Raposa
23fbde8ef1 Refactor Goal Enum to Choices. 2017-09-26 15:59:07 -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
dcf528a597 Add new latest-update fragment and waffle flag. 2017-08-16 13:58:56 -04:00
Harry Rein
e8bae62f04 UX improvements on learner profile.
LEARNER-1857

This story constitutes a large change to the UX of the learner profile.

Some specific changes include adding a flexible learner profile card, limiting the bio entry to only 300 characters and assuring that the page is responsive.
2017-08-09 13:57:42 -04:00
Calen Pennington
384f22ff96 Add per-user metadata to course pages to make experimentation easier 2017-08-01 10:14:35 -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
Andy Armstrong
aeecf34387 Enable conditional pre-start-date access to courses
LEARNER-1854
2017-07-14 14:00:48 -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
Andy Armstrong
13854fb8ab Handle anonymous and unenrolled users on the new course home page
LEARNER-1696
2017-07-11 14:10:52 -04:00
Andy Armstrong
a815003b3b Handle anonymous and unenrolled users on the new course home page
LEARNER-1696
2017-07-10 17:52:28 -04:00
Diana Huang
378b1f86c6 Replace urls in plan html updates. 2017-07-03 15:03:29 -04:00
Robert Raposa
2e80c1e66b Refactor, enhance, and adjust unified_course_view flag.
This includes several general enhancement in addition
to the fixes for unified_course_view:
1. Add support for default when no waffle flag defined.
2. Add support for table_blacklist to assertNumQueries.
3. Rename flag to 'course_experience.course_outline_page'.
4. Change flag default to True when it is not defined.
2017-06-29 11:04:35 -04:00
Calen Pennington
29acb6c733 Merge pull request #15413 from cpennington/ret/fix-sock-pricing
Use the right helper function for finding course upgrade price for th…
2017-06-27 10:45:43 -04:00
Calen Pennington
849f24ab13 Use the right helper function for finding course upgrade price for the sock 2017-06-26 16:24:45 -04:00
Harry Rein
a34081c24b Assuring that courses without updates cannot see the updates link from the home page and that the update message does not throw an error upon loading from a direct URL without any updates. Added test to assure this behavior and fixed up welcome message tests. 2017-06-26 14:47:27 -04:00
Harry Rein
82daaa5ad3 Adding a reviews page to the course and updating the reviews module on the course about page. Removed the existing coursetalk implementation and put it in a fragment, removed the tests as well. Added configuration settings to specify the reviews template as well as the reviews provider. This is all protected by a waffle flag. 2017-06-23 11:27:48 -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
Nimisha Asthagiri
7d6ab17385 Merge pull request #15316 from edx/ret/planning-prompt-population
Planning Prompts experiment: check content availability date
2017-06-14 09:10:03 -04:00
Andy Armstrong
1592ee2b15 Merge pull request #15173 from edx/andya/course-search-page
Enable course search for the unified course experience
2017-06-13 17:41:26 -04:00
Nimisha Asthagiri
3bbeb75c58 Planning Prompts experiment: check content availability date 2017-06-13 17:32:56 -04:00
Andy Armstrong
c0007a11f3 Add new course search results page
LEARNER-1112
2017-06-13 16:36:32 -04:00
Calen Pennington
39048048da Add comments around In-course verification prompt throwaway code 2017-06-13 15:18:46 -04:00
Nimisha Asthagiri
fdafd53a66 Upsell Courses in Courseware, CourseOutline, Discussions, Progress 2017-06-08 14:29:42 -04:00
Harry Rein
6761a87bfb Fix for LEARNER-859: Updating styling on the course updates page to more clearly differentiate between multiple updates. Specifically:
- Updated styling on date in the top left corner
- Added horizontal line between updates
- Removed ability to toggle updates on and off
- Cleaned up code to always show all updates:
2017-06-01 16:43:09 -04:00
Andy Armstrong
f81c21902e Add isort to edx-platform
LEARNER-1168
2017-05-25 11:39:43 -04:00
Diana Huang
9ecbc9bf48 Replace urls in the welcome message. 2017-05-17 12:26:30 -04:00
Andy Armstrong
64de44321b Show a welcome message on the course home page
LEARNER-879
2017-05-10 16:53:15 -04:00