[Feature] Documents Tab - Browse all uploaded documents

Resolved 💬 2 comments Opened Jan 18, 2026 by chewwwwwwwwww Closed Jan 18, 2026

Summary

Add a Documents tab to the sidebar that allows users to browse all documents they've uploaded across all lessons.

Implementation Details

Phase 0: Full Rename (Materials → Documents) ✅

  • Database migration to rename lesson_materials table to lesson_documents
  • Backend model and API endpoint renames
  • Frontend type and component renames

Phase 1: Core Backend + Basic List ✅

  • Global documents endpoint (GET /api/documents) with pagination
  • Documents browse page with sortable list view
  • Sidebar navigation link

Phase 2: Document Viewing (Pending)

  • PDF iframe viewer
  • Image lightbox

Phase 3: Grid View (Pending)

  • Thumbnail grid view option

Phase 4: Bulk Actions & Polish (Pending)

  • Multi-select
  • Bulk delete
  • Bulk download

Phase 5: Automated Tests (Pending)

  • Backend API tests
  • Frontend component tests

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗