Problem or Motivation
The home page course list calls listStages() which reads from browser IndexedDB only. Courses stored on disk in data/classrooms/*.json are not shown on the home page.
After a server restart or in a different browser, the "Recent" section on the home page appears empty even when courses exist on disk.
Once #213 merges, users can access a persisted course in any browser by pasting the direct classroom URL (http://localhost:3000/classroom/{id}). But there is no way to discover or list courses from disk on the home page.
Environment
Proposed Solution
On home page load, read data/classrooms/*.json from disk alongside listStages() from IndexedDB, then merge and deduplicate the results by classroom ID before rendering the recent courses section. Courses found on disk should display with their title and scene count from the JSON file.
Alternatives Considered
No response
Area
UI / UX
Additional Context
No response
Problem or Motivation
The home page course list calls
listStages()which reads from browser IndexedDB only. Courses stored on disk indata/classrooms/*.jsonare not shown on the home page.After a server restart or in a different browser, the "Recent" section on the home page appears empty even when courses exist on disk.
Once #213 merges, users can access a persisted course in any browser by pasting the direct classroom URL (
http://localhost:3000/classroom/{id}). But there is no way to discover or list courses from disk on the home page.Environment
Proposed Solution
On home page load, read
data/classrooms/*.jsonfrom disk alongsidelistStages()from IndexedDB, then merge and deduplicate the results by classroom ID before rendering the recent courses section. Courses found on disk should display with their title and scene count from the JSON file.Alternatives Considered
No response
Area
UI / UX
Additional Context
No response