Commit Graph

21 Commits

Author SHA1 Message Date
Adam Butterworth
93a569f9ec fix: initial sequence component set 2020-01-14 15:32:58 -05:00
David Joy
f756299975 Getting gated content and “goto prereq” working.
Also allowing partially defined URLs - it will fill in the sub section or unit ID if it’s missing.
2020-01-13 16:52:19 -05:00
David Joy
d097617feb Locking the current unit and sub section nav when we’re on gated content.
Will follow up with a “locked content” UI in the next commit.
2020-01-13 11:22:30 -05:00
David Joy
afa4c51a13 Fixing camelCasing of savePosition. 2020-01-10 16:42:27 -05:00
David Joy
4f920e52d4 camelCasing metadata response. 2020-01-10 16:41:27 -05:00
David Joy
78cf72737a Merge branch 'master' of https://github.com/edx/frontend-app-learning 2020-01-10 16:39:52 -05:00
David Joy
2c009b51b0 Include gated sections in blocks API response. 2020-01-10 16:39:41 -05:00
Adam Butterworth
5a964476d3 feat: save unit position in sequence on navigate (#7) 2020-01-10 15:28:36 -05:00
David Joy
69f5abb040 Hooking up the unit buttons. 2020-01-10 13:00:27 -05:00
David Joy
78c22dfc01 Cleaning up CSS and implementing unit nav. 2020-01-10 12:52:32 -05:00
David Joy
04754e5832 Fixing previous/next buttons - were loading the wrong subsection. 2020-01-10 12:51:46 -05:00
David Joy
990cef31a3 Improving file organization. 2020-01-10 11:52:37 -05:00
David Joy
1f79bead57 SubSection nav next/previous buttons work again.
Still working on the unit button rendering.
2020-01-10 11:30:10 -05:00
Adam Butterworth
07776c2173 fix: remove missing import 2020-01-09 18:04:18 -05:00
David Joy
52e144d8a6 Refactoring data management. Using context now.
Ripped out the subSection and unit code for the moment to refactor it to use the context - breadcrumbs is currently working with it, though.
2020-01-09 16:41:28 -05:00
David Joy
69c14ab6a1 Fixing breadcrumb key warnings. 2020-01-08 15:43:26 -05:00
David Joy
76ced07513 feat: Using the page URL to inform subSections/units. 2020-01-06 16:32:45 -05:00
David Joy
446367e56c feat: sub section navigation working, allows navigating between all units 2020-01-06 15:43:13 -05:00
David Joy
580dc3b5b1 Parsing course structure and rendering breadcrumbs, subsection nav, and iframe. 2020-01-03 16:36:00 -05:00
David Joy
32db847627 Dynamically loading the right course ID / block. 2019-12-12 16:13:39 -05:00
David Joy
3e9065e963 Absorbing work from douglashall/learning_sequence 2019-12-12 16:04:41 -05:00