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
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:
parent
e945f589ce
commit
76112cb4ae
8 changed files with 146 additions and 103 deletions
|
|
@ -92,12 +92,14 @@ export interface ShareGenerateUsage {
|
|||
deck: { used: number; limit: number };
|
||||
}
|
||||
|
||||
/** A quiz or flashcard set a visitor generated on a share link. */
|
||||
/** A quiz or flashcard set a visitor generated on a share link (saved into the class when done). */
|
||||
export interface SharedSet {
|
||||
id: string;
|
||||
kind: 'quiz' | 'deck';
|
||||
title: string;
|
||||
status: 'generating' | 'ready' | 'failed';
|
||||
/** ready: saved into the class as `itemId`. review: waiting in the owner's drafts. */
|
||||
status: 'generating' | 'ready' | 'review' | 'failed';
|
||||
itemId: string | null;
|
||||
progress: number;
|
||||
progressLabel: string;
|
||||
error: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue