Connect dashboard + quizzes + shared header#27
Conversation
|
I also left an inline comment above regarding the score overlapping with the delete icon. |
|
BE |
|
Thank you, Natalia! This is a huge piece of work. The dashboard frontend is now connected to the backend, and this PR brings together a lot of important functionality. Great! |
| finishedAt: Date; | ||
| createdAt?: Date; | ||
| }; | ||
|
|
There was a problem hiding this comment.
createdAt: Date; // Remove optional flag
This aligns the type with runtime behavior from timestamps: { createdAt: true } - line 22 - and prevents potential type errors in consuming code.
There was a problem hiding this comment.
Done. I made createdAt required in FlashCardStudySession.ts to match the timestamps behavior. Thank you Ksenia!
Ligo-code
left a comment
There was a problem hiding this comment.
BE: LGTM! Strong implementation! Great job! TY @nataliasirt
|
@AidaBur this should all align now: |
|
|
Awesome, thanks! Everything looks aligned now 👍 |


















Dashboard + Study History Updates
Connect dashboard to real backend data and add flashcard study tracking with session logging.
Added:
1 model: FlashcardStudySession
Flashcard study session endpoint to record cards reviewed + time studied
Dashboard stats now include real today activity + weekly activity based on sessions/attempts
Activity log endpoint for study history
Endpoints:
Dashboard stats, dashboard activity, flashcard study session logging