Dave St.Germain
7824f58777
Added a verified upgrade component ( #14 )
...
* Added a verified upgrade component
* Internationalize course sock
2020-03-04 13:06:09 -05:00
David Joy
2f90b78814
If the user does not have access to the course, then redirect to the course outline. ( #13 )
...
* If the user does not have access to the course, then redirect to the course outline.
In a subsequent PR, if this API call is made on the course outline page in the MFE, we’ll need to be able to prevent the redirect. But that view of the MFE doesn’t exist yet.
* Moving course outline redirect logic into CourseContainer.
This way, depending on the page calling fetchCourseMetadata, we can make an intelligent choice about whether we want to redirect, show a message, etc. By redirecting in the API call handler, then we took that choice away from ourselves.
2020-02-28 12:25:03 -05:00
Adam Butterworth
ba6764de43
feat: add link to unit in existing experience ( #12 )
...
* feat: add instructor toolbar with link to lms
* fix: right align user account menu dropdown
2020-02-14 13:05:25 -05:00
Adam Butterworth
46cd511e15
feat: add bookmarking for units ( #11 )
...
* feat: add bookmarking for units
* refactor: add redux for state management
2020-02-14 09:10:43 -07:00
David Joy
ab3d3e8834
fix: updating URL when unit changes.
2020-02-04 15:00:21 -05:00
David Joy
ec7166ad5d
fix: lint both js and jsx files.
...
Updating jsx to pass linter, too.
2020-02-04 14:58:19 -05:00
David Joy
437f50b261
Fixing linting errors.
2020-01-30 18:14:47 -05:00
Dave St.Germain
dc2971870f
Use the new API urls ( #10 )
2020-01-29 12:50:28 -05:00
Adam Butterworth
5d4d196e0b
fix: make iframe width better match parent page ( #9 )
2020-01-29 12:45:44 -05:00
David Joy
304850b7d1
Listen for iframe resize messages from vertical xblock.
2020-01-27 17:01:40 -05:00
Adam Butterworth
3afac3bcdc
Allow fullscreen on unit iframe
2020-01-23 17:23:40 -05:00
David Joy
cf4d63ac99
Removing stub “resume your last course” link for now.
...
Will be added in TNL-7062
2020-01-17 13:00:52 -05:00
David Joy
637af82873
Passing org, course number, and course name to the CourseHeader.
2020-01-17 11:23:27 -05:00
David Joy
740e22e4c8
Getting course tabs working.
2020-01-16 17:05:03 -05:00
David Joy
83f69dcbfc
Connect to courses endpoint and print out the result.
2020-01-16 16:30:49 -05:00
David Joy
3cf204fad3
Bit of styling and propTypes
2020-01-16 15:11:14 -05:00
David Joy
e104674bd1
Adding some missing propTypes
2020-01-16 10:45:33 -05:00
David Joy
869eb9da38
Fixing disabled-when-active unit button.
2020-01-16 10:35:30 -05:00
David Joy
501500f116
Adding hard-coded application header.
2020-01-15 15:51:18 -05:00