Skip to content

[Feature]: Show disk-persisted courses on home page #214

@AsadAliQuant

Description

@AsadAliQuant

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions