Skip to content

Replace flashcard and quiz tools with visualization workflows - #141

Merged
phinaldoo merged 1 commit into
mainfrom
t3/study-visualizations
Oct 7, 2026
Merged

phinaldoo merged 1 commit into
mainfrom
t3/study-visualizations

Conversation

@phinaldoo

Copy link
Copy Markdown
Owner

Quiz and flashcard requests now use create_visualization. Remove their dedicated schemas, execution paths, model/admin options, icons, fixed study UI, obsolete translations, and tool-specific docs. Visualization’s automatically injected authoring guide now covers quizzes, recall ratings, review queues, accessibility, saved progress, and useful follow-up context; no separate skill installation is required.

  • Saved/imported model and BYOK tool selections resolve to Visualization, including admin editors. Legacy rate-limit keys continue to match it under existing policy precedence. Those budgets now cover other visualization activities too.
  • Historical study messages remain readable as expandable questions/cards with answers and explanations. Existing reviewed public-share projections and backup formats remain supported. Historical labels and compatibility aliases are intentionally retained.
  • Update study guides and all 11 locales. Net removal: 1,275 lines.

Validation

  • Backend suite: 4,171 passed, 11 skipped; after the final BYOK editor fix, 104 group/compatibility tests passed.
  • Frontend: 1,333 passed; JavaScript ESLint, Python Ruff E9/F821, and git diff --check passed.
  • Both example fragments passed the actual tool dispatcher’s validate and render actions.
  • Browser: correct/wrong quiz answers, duplicate submission, scoring, retry missed, completion/reset, keyboard Space/Tab/Enter, and reload restoration. Flashcards: reveal, Again/Hard bounded queues, Got it mastery, shuffle, reverse/reset, completion, and reload restoration. Both fit 320px without horizontal overflow; flashcards also checked in dark mode.

Visual proof

These are unedited browser captures of authored example fragments using the production validator, renderer, sandbox, toolbar, and saved-state service. The fixture uses SQLite and a fixed identity; this is not a live-provider generation test or an authenticated full-app session. Generated layouts depend on the selected model and request.

Screenshots and reproducible fixtures live on a separate evidence branch, so no demo or screenshot files are added to the implementation tree.

Quiz: an incorrect answer shows its explanation and saved progress.

Quiz feedback and saved answers

Flashcards: revealed answer and mastery progress restored after a page reload.

Flashcards restored after reload

320px viewport, dark theme, reversed recall direction.

Flashcards on a narrow screen in dark mode

@coderabbitai

coderabbitai Bot commented Oct 7, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0599e984-0855-46cd-8b4c-4ff5da44cece
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@phinaldoo
phinaldoo merged commit 9255534 into main Oct 7, 2026
16 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