Skip to content

feat: add flashcard system with decks, cards, and study mode#8

Open
tpaulshippy wants to merge 1 commit intomainfrom
flashcards
Open

feat: add flashcard system with decks, cards, and study mode#8
tpaulshippy wants to merge 1 commit intomainfrom
flashcards

Conversation

@tpaulshippy
Copy link
Copy Markdown
Owner

Summary

  • Add flashcard system with Deck and Flashcard models for storing flashcard decks per profile
  • Implement CRUD operations via REST API endpoints
  • Add AI tool calls (create_flashcard_deck, create_flashcard) for bot to create flashcards during chat
  • Add frontend screens: flashcard list, deck detail, card edit, and study mode with flip animation
  • Add hamburger menu to toggle between Chat and Flashcards views

Features

  • Users can create, edit, and delete flashcard decks
  • Each deck contains multiple flashcards with front/back text
  • Bot can create flashcards via tool calls during chat
  • Study mode with flip card animation to reveal answers
  • Navigate between cards in a deck (prev/next)

- Backend: Add Deck and Flashcard models with proper relationships
- Backend: Add serializers and viewsets for CRUD operations
- Backend: Add flashcard tool calls for bot AI (create_flashcard_deck, create_flashcard)
- Frontend: Add API module for flashcards
- Frontend: Add flashcard screens (list, deck detail, card edit, study mode)
- Frontend: Add hamburger menu to toggle between chat and flashcards
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 16, 2026

Warning

Rate limit exceeded

@tpaulshippy has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 29 minutes and 4 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 29 minutes and 4 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d4304604-17ba-417b-a90a-8041438fd137

📥 Commits

Reviewing files that changed from the base of the PR and between 60c58f9 and 64a9118.

📒 Files selected for processing (15)
  • back/bots/migrations/0035_deck_flashcard.py
  • back/bots/models/__init__.py
  • back/bots/models/chat.py
  • back/bots/models/flashcard.py
  • back/bots/serializers/__init__.py
  • back/bots/serializers/flashcard_serializer.py
  • back/bots/viewsets/__init__.py
  • back/bots/viewsets/flashcard_viewset.py
  • back/server/urls.py
  • front/api/flashcards.ts
  • front/app/_layout.tsx
  • front/app/flashcards.tsx
  • front/app/flashcards/cardEdit.tsx
  • front/app/flashcards/deck.tsx
  • front/app/flashcards/study.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch flashcards

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 and usage tips.

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