deltahacks / portal

The attendee & admin portal for DeltaHacks, the hackathon for change.
https://portal.deltahacks.com
MIT License
10 stars 2 forks source link

feat: collect mcmaster EV information #156

Closed Krish120003 closed 1 year ago

Krish120003 commented 1 year ago

Summary by CodeRabbit

netlify[bot] commented 1 year ago

Deploy Preview for profound-kringle-30b3e4 ready!

Name Link
Latest commit 0d06b2acf46170163f998a0155dbf67597fb509e
Latest deploy log https://app.netlify.com/sites/profound-kringle-30b3e4/deploys/6557ab16ec188e00083b1c21
Deploy Preview https://deploy-preview-156--profound-kringle-30b3e4.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

coderabbitai[bot] commented 1 year ago

Walkthrough

The recent updates involve adding a new Boolean field macEv to the DH10Application model to track participation in the McMaster Experience Venture Program. This field is integrated into the database schema, application form, and validation schema, with conditional rendering on the application page based on the user's email domain.

Changes

File Path Change Summary
prisma/migrations/.../migration.sql (2 files) Added macEv column to DH10Application table with a default value of false.
prisma/schema.prisma Added macEv Boolean field with a default value of false to DH10Application model.
src/pages/apply.tsx Added conditional rendering for a checkbox related to the McMaster Experience Venture Program based on persistId and isMacEv.
src/schemas/application.ts Added macEv Boolean field with a default value of false to the application schema.

🐇 In the brisk November air, we hop and tweak, 🍂
Adding checkboxes with logic unique.
A field for ventures, a Boolean flair,
Our code now tracks the McMaster affair. 🎓


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - If you reply to a *review comment* from CodeRabbit, the bot will automatically respond. - To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment - Note: Review comments are made on code diffs or files, not on the PR overview. - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Note: For conversation with the bot, please use the review comments on code diffs or files. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.v2.json). - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json`