Favorites and the question libraries in one place. Card and Table views with the choice remembered, sort by last used / created / name / size with a direction control, a count line, and a search over name and date. Favorites leads as a fixed row: it is the one shelf nobody made and everybody has, so it cannot be renamed or deleted. Sorted by when each was last used, not when it was made — the order things were created in is nobody's mental model of their own shelf. A library nobody has opened falls back to its age, because it is newer to the learner than it is to the database. That needed `user_collections.last_used_at`: null on every existing row, since backfilling from created_at would invent a use that never happened. A shelf opens in place rather than linking away. The obvious link would have been /questions?collection=N, and there is no page there that reads it — the old bank browser was dismantled — so the card would have led nowhere. Questions can be taken back out from the open shelf, and any shelf can be sat as a session through the existing explicit_ids builder. The ⋯ menu moved out of QuizPage into components/MoreMenu; the player keeps its own look and its own children through className props. It no longer closes on any click inside, which the player's feedback form and share dialog were relying on by accident. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TqXevQJhxFrM7jJg82cgZN |
||
|---|---|---|
| .. | ||
| quiz-revamp | ||
| api-reference.md | ||
| architecture.md | ||
| deployment.md | ||
| frontend.md | ||
| migrations.md | ||
| quiz-revamp-plan.md | ||
| quiz-revamp-progress.md | ||
| README.md | ||
| services.md | ||
| study-recommendations.md | ||
| tied-conditions.md | ||
| TODO.md | ||
PedsHub Documentation
Deep technical documentation for the PedsHub pediatric learning platform.
Pages
| Document | Description |
|---|---|
| Architecture | System overview, database schema, multi-worker setup, vector search, auth, rate limiting, concurrent quiz protection |
| API Reference | Every endpoint: method, path, auth, request/response, notes |
| Services | Backend service layer: AI extraction, embedding, vector search, PDF processing, email, reminders |
| Frontend | React app structure, pages, components, state patterns, runtime config |
| Deployment | Docker setup, environment variables, HTTPS, rebuilding, monitoring, troubleshooting, scaling |
Quick Links
- Main README: ../README.md
- Backend .env template: ../backend/.env.example
- Docker Compose: ../docker-compose.yml