Skip to content
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

Open
mariajgrimaldi opened this issue Dec 2, 2024 · 4 comments
Labels
release testing Affects the upcoming release (attention needed)

Comments

@mariajgrimaldi
Copy link
Member

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

  1. Log in as a learner and navigate to a unit that is gated by the prerequisite.
  2. Observe the message about completing the prerequisite and attempt to use the "Previous" and "Next" buttons.

Originally reported here: openedx/wg-build-test-release#414

@mariajgrimaldi
Copy link
Member Author

mariajgrimaldi commented Dec 2, 2024

I could reproduce this after doing the following:

  1. Configuring a subsection as a prerequisite
  2. Making that subsection the prerequisite of another subsection
  3. Go to the prerequisite subsection and navigate to the gated subsection
  4. If I try to go to the previous unit right before the gated subsection, the sequence buttons stop working for some reason
  5. If from the sidebar I try entering one of the units in the gated subsection, and the previous button works

Here's a video:

Screencast.from.02-12-24.18.53.14.webm

@bradenmacdonald
Copy link
Contributor

Does this relate to #1429 at all?

@mariajgrimaldi mariajgrimaldi added the release testing Affects the upcoming release (attention needed) label Dec 3, 2024
@mariajgrimaldi
Copy link
Member Author

mariajgrimaldi commented Dec 3, 2024

@bradenmacdonald: I'm not sure, but I asked my team for help looking into it. Hopefully, they'll have some ideas soon.

@mariajgrimaldi
Copy link
Member Author

FYI @farhaanbukhsh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release testing Affects the upcoming release (attention needed)
Projects
Status: No status
Development

No branches or pull requests

2 participants