The /jump_to/ LMS endpoint is used in a number of places to direct users to courseware. It currently only redirects to Legacy courseware URLs, which then conditionally may redirect to the Learning MFE. Two issues with this: 1. Performance Impact: In most cases, going to Legacy first is just an extra redirect. 2. Confusion for Privileged Users: Neither course nor global staff are auto-redirected from the Legacy experience to the MFE. Thus, these priviliged users confusingly never see the MFE by default; they must always manually click into it. This commit makes it so that /jump_to/ directs users to whatever the default courseware experience is for them. For staff of courses active in the new experience, this will impact (at a minimum) the "View Live" links in Studio, all links on the old and new LMS course outline, and the "Resume" links on the course dashboard. Learners should see no difference other than a performance improvement when following courseware links from the LMS. This also adds an optional 'experience=[legacy|new]' query param to /jump_to/, allowing us to specifically generate Legacy courseware URLs for the "View in Legacy Experience" tool. TNL-7796
11 KiB
11 KiB