-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When navigating gated content, the previous and next buttons stop working #1546
Comments
I could reproduce this after doing the following:
Here's a video: Screencast.from.02-12-24.18.53.14.webm |
Does this relate to #1429 at all? |
@bradenmacdonald: I'm not sure, but I asked my team for help looking into it. Hopefully, they'll have some ideas soon. |
FYI @farhaanbukhsh |
First updateAfter seeing the behavior of the URLs once you go to a gated subsection with the help of the navigation buttons, I was able to verify the following: When passing between two normal subsections, the URL of the next button is formed by adding After this, it is redirected to the vertical URL (unit) Although the next button from a normal subsection to a gated one is also formed by adding the However, in the redirection the vertical URL is not being added, but rather it is staying at the sequential URL What I imagine is that when a subsection is gated, the API does not return the units when you move towards it using the navigation buttons, which does happen when you click on the side menu, since these are supposed to be blocked and are not required to be rendered, so it does not allow the correct redirection URL to be formed and for this reason it does not know where it is in the course outline and cannot render the correct URLs in the navigation buttons. Currently, we continue reviewing the code to verify the hypothesis 100%. We will continue to notify you about progress in this same way. CC @magajh |
Description
When navigating gated content, the previous and next buttons stop working so the user can't go to previous/next subsections.
Expected behavior
As a learner, upon navigating to a gated unit, you should see a message about completing the prerequisite, and both the "Previous" and "Next" buttons should function correctly.
Actual behavior
As a learner, when you navigate to a gated unit, you see the message prompting you to complete the prerequisite, but the "Previous" and "Next" buttons do not work.
https://jam.dev/c/4f02a831-969b-4c18-beab-378b45a09e9e
Steps to reproduce
Originally reported here: openedx/wg-build-test-release#414
The text was updated successfully, but these errors were encountered: