Fourth revision: OpenRouter, live tool stages, Explain layout, share sections
All checks were successful
Verify and publish V2 container / build-and-push (push) Successful in 29s

- Interactive blocks are encouraged by default; Explain gets a reduced library
  and never writes practice questions.
- Assistant tool steps breathe while running, show live stages from generation
  and the Python check, and read in the past tense when done.
- The assistant asks before searching the web when class materials do not
  cover a question; clarifying questions list every class's exams and never
  ask about format (always NCLEX).
- Explain opens beside the question from 900px wide, moving the question left
  while open and back on the next one.
- Generate dialog drops the practice set/exam switch (presets cover it) and the
  Generate buttons lose their icon.
- Python check notes are green when every check passed, applied fixes neutral.
- Share pages group by exam, then Quizzes, Flashcards, Notes, Class Materials,
  hiding empty groups; the class page uses the same order. "Documents" is now
  "Class Materials".
- OpenRouter provider replaces the Ollama type; migration 6 turns Ollama
  connections into OpenAI-compatible ones at /v1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Elijah 2026-11-15 21:54:39 -07:00
parent c595e0ff2c
commit 25bc03ea75
45 changed files with 663 additions and 329 deletions

View file

@ -61,7 +61,7 @@ export function ClassDialog({ open, onOpenChange, existing }: { open: boolean; o
open={open}
onOpenChange={onOpenChange}
title={existing ? 'Edit class' : 'New class'}
description={existing ? undefined : 'A class holds the quizzes, flashcards, documents and notes for one course.'}
description={existing ? undefined : 'A class holds the quizzes, flashcards, notes and class materials for one course.'}
footer={
<>
<Button variant="ghost" onClick={() => onOpenChange(false)}>
@ -91,7 +91,7 @@ export function ClassDialog({ open, onOpenChange, existing }: { open: boolean; o
<Field label="Description" optional>
<Textarea value={description} onChange={(e) => setDescription(e.target.value)} rows={2} maxLength={2000} />
</Field>
<Field label="Divided into" hint="Each one keeps its own documents, quizzes and flashcards, and generating uses only its material.">
<Field label="Divided into" hint="Each one keeps its own quizzes, flashcards and class materials, and generating uses only its material.">
<Select value={groupLabel} onChange={(e) => setGroupLabel(e.target.value)}>
{['Exam', 'Unit', 'Module', 'Week', 'Topic', 'Folder'].map((l) => (
<option key={l} value={l}>
@ -234,7 +234,7 @@ function CommandPalette({ open, onOpenChange, onNewClass }: { open: boolean; onO
rows[index]?.run();
}
}}
placeholder="Search questions, cards, documents, classes…"
placeholder="Search questions, cards, class materials, classes…"
aria-label="Search"
role="combobox"
aria-expanded