Problem Description
Currently, folder navigation inside a course is managed purely via in-memory Redux state while keeping the browser URL fixed at /browse/:code. As a result:
- Browser Back Button Misbehavior: Pressing the browser's back button (or mouse/mobile back gesture) navigates away from the course page entirely (e.g., back to Dashboard) instead of stepping out of the current subfolder.
- Lack of Deep Linking: Users cannot bookmark or share direct URLs to specific folders within a course.
- Loss of Context on Refresh: Reloading the page (
F5) resets folder navigation back to the top-level course root.
Proposed UX Enhancement
Enable individual URL routes for subfolders (e.g., /browse/:code/:folderId) so that folder navigation updates browser history natively.
Key Goals
- Native browser back and forward button support for stepping through subfolders.
- Shareable and bookmarkable direct links to specific subfolders.
- Page refresh resilience preserving the current folder location.
Problem Description
Currently, folder navigation inside a course is managed purely via in-memory Redux state while keeping the browser URL fixed at
/browse/:code. As a result:F5) resets folder navigation back to the top-level course root.Proposed UX Enhancement
Enable individual URL routes for subfolders (e.g.,
/browse/:code/:folderId) so that folder navigation updates browser history natively.Key Goals