Issue Statement:
The right-side course navigation menu incorrectly auto-expands Chapter 1 on every page load, regardless of the user’s current position, resulting in multiple chapters being expanded simultaneously and inconsistent navigation behavior.
Issue Detailed Description:
The right-side navigation menu does not properly manage or persist the expanded state of chapters based on user context.
Actual behavior observed:
- When a user is in a later chapter (e.g., Chapter 4), the correct chapter is expanded in the menu.
- However, Chapter 1 is also always expanded by default, regardless of where the user is in the course.
- This results in multiple chapters (Chapter 1 + current chapter) being expanded at the same time.
This occurs consistently across:
- Page refresh
- Clicking “Next” between lessons
- Navigating between chapters (e.g., moving to Chapter 5)
As a result:
- The navigation menu becomes cluttered and less intuitive.
- Chapter 1 is persistently forced open, even when irrelevant to the user’s current location.
- The UI does not accurately reflect a clean, context-aware navigation state.
Steps to Replicate the Issue:
- Open a course in Frappe LMS.
- Navigate to a lesson in a later chapter (e.g., Chapter 4).
- Observe the right-side menu:
- Chapter 4 is expanded (expected)
- Chapter 1 is also expanded (unexpected)
- Refresh the page.
- Observe that:
- You remain on Chapter 4 content
- Both Chapter 1 and Chapter 4 are expanded
- Click “Next” to navigate to another lesson or chapter (e.g., Chapter 5).
- Observe that:
- Chapter 5 expands
- Chapter 1 remains expanded
- Repeat and confirm Chapter 1 is always expanded regardless of location.
Desktop (please complete the following information):
- Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
Server:
Frappe Cloud, hosted by Frappe, Falkenstein, Germany
Issue Statement:
The right-side course navigation menu incorrectly auto-expands Chapter 1 on every page load, regardless of the user’s current position, resulting in multiple chapters being expanded simultaneously and inconsistent navigation behavior.
Issue Detailed Description:
The right-side navigation menu does not properly manage or persist the expanded state of chapters based on user context.
Actual behavior observed:
This occurs consistently across:
As a result:
Steps to Replicate the Issue:
Desktop (please complete the following information):
Server:
Frappe Cloud, hosted by Frappe, Falkenstein, Germany