Skip to content

Sidebar weird behavior when course is not completly live/scheduled #1403

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

Open
mariajgrimaldi opened this issue Jun 2, 2024 · 9 comments · May be fixed by #1679
Open

Sidebar weird behavior when course is not completly live/scheduled #1403

mariajgrimaldi opened this issue Jun 2, 2024 · 9 comments · May be fixed by #1679
Assignees
Labels
release testing Affects the upcoming release (attention needed)

Comments

@mariajgrimaldi
Copy link
Member

mariajgrimaldi commented Jun 2, 2024

Expected behavior

As a user, I want to be able to navigate between sections if I'm on the locked unit so that I can easily return to the section with the prerequisite and finish the assignment

Actual behavior

As a user, I CANNOT navigate between sections if I'm on the locked unit so that I have to return to the outline and spend additional time trying to figure out what is going on

Steps to reproduce

  1. Enrol into the course with subsections with prerequisites (I created this one for test).
  2. Start with any subsection.
  3. Go to the "locked unit" - with the pre-requisite on the subsection.
  4. There are no sections and subsections, just a "course outline".
Screen.Recording.2024-05-23.at.17.22.02.mov

Additional information

I'm testing it with the staff user, through Audit mode (maybe it affects smth).

As a student, this happened: openedx/wg-build-test-release#363 (comment). I don't think this is related to the sidebar itself.

This issue was reported as part of the redwood testing process: #1385

@mariajgrimaldi
Copy link
Member Author

@crathbun428 helped us test even further and found:

I tested this as a student and got the same error message. I went into the course in studio as staff and published and scheduled everything that had not been published or scheduled for the course (most of the locked and prerequisite units). Once everything in the course was published and scheduled, this weird behavior did not appear for either the learner account or the staff/admin account. This behavior only appears when there are locked or prerequisite units that haven't been scheduled in the course.

So I'm opening this issue in case this shouldn't be happening.

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

FYI @arbrandes @brian-smith-tcril @openedx/2u-infinity, please tag anyone you think can help. Thanks!

@mariajgrimaldi
Copy link
Member Author

@GlugovGrGlib: do you have any insights on this issue? We'd much appreciate it!

@GlugovGrGlib
Copy link
Member

Sorry, missed this one, will look into it latter next week

@mariajgrimaldi
Copy link
Member Author

mariajgrimaldi commented Aug 23, 2024

Hey @GlugovGrGlib, let me know if you have any updates on this issue. I'll assign it to you for the time being. If you can't work on it, you can unassign yourself. Thanks!

@wgu-jesse-stewart
Copy link

wgu-jesse-stewart commented Apr 15, 2025

@mariajgrimaldi @GlugovGrGlib
I think I may have a fix for this.

Image

@wgu-jesse-stewart
Copy link

wgu-jesse-stewart commented Apr 30, 2025

I can see that it is displaying after publishing. But it also will display after changing and saving the Section or Module name.

Steps to reproduce.
1 - change unit name and save (do not publish).
2 - refresh course and notice unit name is not changed.
3 - change section or module name (do not publish).
4 - refresh course and notice the until name DID change.
5 - go back to course authoring tool and notice the unit changes have not been published.

This is only true for the Unit title. the Unit content does not update until the unit changes are "published".
The title always updates when section and module are saved, no publishing required.

course-sidebar-issue-1403-pr-1679.mp4

@mariajgrimaldi
Copy link
Member Author

mariajgrimaldi commented May 15, 2025

@wgu-jesse-stewart: thank you for taking this on! Is this comment also related to this issue or to a different one?

Also, does this PR #1679 fixes the navigation between locked sections?

@wgu-jesse-stewart
Copy link

wgu-jesse-stewart commented May 15, 2025

@mariajgrimaldi I do not think my PR fixes this issue. However, it does fix the locked sections navigation issue.

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: Backlog
Development

Successfully merging a pull request may close this issue.

3 participants