Share-link sets save into the class; flashcards up to 75
All checks were successful
Verify and publish V2 container / build-and-push (push) Successful in 28s

- Sets visitors generate show in the owner's Drafts while being written, then
  save into the class (and exam, for an exam link) automatically, as if
  approved. If the save fails, the draft waits in Drafts for review.
- Deleting a share link keeps what was made on it; running jobs finish and save.
- Visitor flashcard sets go up to 75 cards (default 30); quizzes stay at 50.
- The visitor page links finished sets to the class items; the separate
  AI-set view is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Elijah 2026-11-15 22:11:07 -07:00
parent e945f589ce
commit 76112cb4ae
8 changed files with 146 additions and 103 deletions

View file

@ -153,8 +153,10 @@ Tests: `tests/revision4.test.ts`; OpenRouter cases in `server/ai/providers/provi
Follow-up the same day: visitors of class and exam links can generate quizzes (default and
maximum 50 questions, 25% select-all, optional 5 med math questions) and flashcards from chosen
class materials, 4 quizzes and 2 flashcard sets per link per day with a reset in the share
dialog (`server/routes/shares.ts`, `web/src/features/SharedGenerate.tsx`, migration 7). The
class materials (flashcards up to 75), 4 quizzes and 2 flashcard sets per link per day with a
reset in the share dialog (`server/routes/shares.ts`, `web/src/features/SharedGenerate.tsx`,
migration 7). Sets show in Drafts while written, then save into the class or exam
automatically, and stay when the link is deleted. The
owner's Generate dialog gained "Include med math" with a count (default 5).
## Verification status