Skip to content

feat(library): implement feedback, analytics, quiz SRS, and backlog guard - #74

Merged
ahauy merged 2 commits into
mainfrom
feat/official-data-architecture
Oct 22, 2026
Merged

ahauy merged 2 commits into
mainfrom
feat/official-data-architecture

Conversation

@ahauy

@ahauy ahauy commented Oct 22, 2026

Copy link
Copy Markdown
Owner

What & Why

Implements 4 core backlog features for official deck curation, review efficiency, and practice integration:
1. Card feedback versioning & edit tracking with admin moderation workflow.
2. Official deck retention analytics widget for administrative insights.
3. Automated SRS interval updates from practice quiz performance.
4. Backlog guard banner warning users and capping large review backlogs to prevent burnout.

## Key Changes
- **Backend (`apps/api`) & Shared Types (`packages/shared-types`)**:
  - Added card feedback DTOs, entity version tracking, and admin feedback resolution endpoints.
  - Implemented retention metrics aggregation endpoint for official decks.
  - Connected practice quiz auto-grading to SM-2 SRS engine updates.
  - Added backlog guard threshold check in review session service.
- **Frontend (`apps/web`)**:
  - Implemented `ReportCardFeedbackModal` for user suggestions/typo reports.
  - Implemented `AdminLibraryAnalyticsWidget` on official deck detail view.
  - Enhanced `QuizResultsView` with SRS update indicators.
  - Added `BacklogGuardBanner` on review sessions with batch capping actions.
- **Docs & Specs (`.specify/`, `docs/`)**:
  - Added living specifications and changelogs for all 4 features.
  - Updated `docs/PRODUCT_BACKLOG_ROADMAP.md` tracking.

## Verification
- [x] All 44 backend test suites passed (417/417 tests).
- [x] All 92 frontend test suites passed (503/503 tests).
- [x] Workspace packages built cleanly (`pnpm build`).

@ahauy
ahauy merged commit a5a29df into main Oct 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant