-
-
Notifications
You must be signed in to change notification settings - Fork 19
Add Nova Platform #2228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Nova Platform #2228
Conversation
Caution Review failedThe pull request is closed. WalkthroughThe update introduces new Nova tables in the database along with associated Supabase types and migrations. A suite of new React components and pages for challenges has been added, including countdown timers, problem displays, navigation controls, and chat interfaces. Several API endpoints have been implemented for AI chat evaluation, test timer management, and user problem history reporting. Additionally, layout and login form adjustments have been made, and a common loading indicator has been modified. Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant CC as ChallengeCard
participant API as Test Timer API
participant CP as ChallengePage
participant CT as CountdownTimer
U->>CC: Click "Start/Resume Test"
CC->>API: Check test status (GET/POST)
API-->>CC: Return test status
CC->>U: Prompt confirmation for test start
U->>CC: Confirm test start
CC->>API: Send POST to initiate test
API-->>CC: Acknowledge test start
CC->>CP: Redirect to ChallengePage
CP->>CT: Mount and start countdown
CT-->>U: Display remaining time
sequenceDiagram
participant U as User
participant CB as ChatBox
participant API as AI Chat API
participant DB as Supabase DB
U->>CB: Submit answer/prompt
CB->>API: Send POST with answer and problem details
API->>API: Validate input and construct system instruction
API->>Google as Google AI: Forward evaluation request
Google-->>API: Return score and feedback (JSON)
API-->>CB: Return evaluation result
CB->>DB: Upsert/Update user's problem history
CB-->>U: Display feedback, score, and updated history
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure. 🔧 ESLint
apps/nova/src/app/[locale]/(dashboard)/[wsId]/challenges/[challengeId]/components/challengeButton.tsxOops! Something went wrong! :( ESLint: 9.20.1 Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@typescript-eslint/parser' imported from /eslint.config.mjs apps/nova/src/app/[locale]/(dashboard)/[wsId]/challenges/[challengeId]/components/prompt-form.tsxOops! Something went wrong! :( ESLint: 9.20.1 Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@typescript-eslint/parser' imported from /eslint.config.mjs apps/nova/src/app/[locale]/(dashboard)/[wsId]/challenges/[challengeId]/page.tsxOops! Something went wrong! :( ESLint: 9.20.1 Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@typescript-eslint/parser' imported from /eslint.config.mjs
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (21)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Summary by CodeRabbit
These updates work together to deliver a more engaging and responsive testing and problem-solving environment.