[Proposal] Sidebar Navigation on Locked Units

Related GitHub issue: https://github.com/openedx/frontend-app-learning/issues/1403
Pull request: https://github.com/openedx/frontend-app-learning/pull/1679

Overview
Fixes sidebar behavior so learners can still see course sections even when a unit is locked due to a future course start date or unmet prerequisites.

Problem
When a course has a future start date or unmet prerequisites, the course sidebar shows no sections — even though the user should still be able to see and navigate the course outline.

Use Case
As a learner, I need to navigate to earlier sections of the course from a locked unit so I can complete prerequisite content without confusion or extra effort.

Supporting Market Data
Issue reported during Redwood testing: #1385
Reproduced in test course with future start date and prerequisites.
Additional context and test cases documented in #1403

Proposed Solution
Added resolvedSectionId method for setting sequenceIds and backButtonTitle.

Code diff and explanation in PR #1679

Other Approaches Considered
Reviewed surrounding logic and confirmed this change aligns with intended behavior and restores expected functionality. A more complex refactor isn't needed.

Competitive Research
N/A

Implementation Plan
Work is completed. PR: #1679
Pending Product Review to merge.

Ownership
Submitted by Jesse Stewart (@wgu-jesse-stewart), willing to maintain long-term.

Open Questions
None at this time.

Implementation Readiness

  • ✅ Unit tests in place

  • ❌ E2E test still needed (TBD)

  • ✅ A11y / I18n unaffected

  • ✅ No deprecation or regression issues

Related content