Skip to content

Commit

Permalink
feat: deltahacks 10 applications (#159)
Browse files Browse the repository at this point in the history
* Update README.md (#138)

* feat: MacID auth (#137)

* fix: updated dependencies

* feat: MacID login

* fix: deprecated property

* fix: lint and prettier

---------

Co-authored-by: Krish <[email protected]>

* feat: add prisma migration for nextauth ext_expires_in

* chore: Migrate trpc v9 to v10 (#140)

* init

* run codemod

* more

* lint

* chore: fix useQuery in grade endpoint

* chore: update naming

* chore: lint

* chore: use better logic for priority query

* chore: lint

---------

Co-authored-by: Arian Ahmadinejad <[email protected]>

* chore: add format on save as a config (#142)

Co-authored-by: Krish <[email protected]>

* fix: Changed date of hackathon and version TECH-43 (#141)

* changed date of hackathon and version number

* format

* changed all occurences of DeltaHacks IX -> X

* format

* added s by accident

* chore: upgrade to node 20 (#148)

* chore: add nvmrc

* feat: .nvmrc to v20

* chore: upgrade to prisma v5 (#150)

* chore: upgrade prisma packages

* chore: adjust schema for v5

* chore: baseline db

* fix(TS): warnings/errors messages (#146)

* fixed QRScanner warnings

* fixed QRScanner2.tsx warnings and fixed bug with QRScanner.tsx

* commented everything out of middleware.ts

* removed router from admin.tsx

* fixed error on middleware.ts that dissallowed not having an export keyword

* fixed scanner.tsx warnings and errors

---------

Co-authored-by: Felix Fong <[email protected]>
Co-authored-by: Krish <[email protected]>

* feat: create custom application form (#149)

* feat: init react form hook

* chore: run prettier

* feat: add schema for dh10 applications

* chore: worked on basics of forms

* poc form element component

* ...

* fix: cleanup social buttons

* fix: update faq link

* feat: add layout

* fix: remove for now because we need to migrate away from typeform

* feat: add zod schema for prisma make easy types

* feat: add zod generation from schema

* feat: use DH10 Application zod type

* feat: add form

* chore: migrate to pnpm

* chore: fix CI for pnpm

* lint

* feat: add basic styling

* feat: add more styling

* fix: remove zod prisma

* fix: remove generated zod types

* feat: add questions, update schema

* feat: university select

* chore: print errors for now

* feat: add og

* feat: add autofill, application submission route, and more select stuff

* fix: university select width

* fix: add light mode

* feat: allow for collapsable university section

* feat: multiselect component

* chore: cleanup unused code

* feat: add appropirate select components

* Update src/schemas/application.ts

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* feat: show when form was autofilled

* Update apply.tsx

* fix: build error, add apostrophe

* fix: update workshop type to array

* fix: make fields optional

* Update src/pages/apply.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix: update question text

* fix: pass field prop to component

* corrected wasAuoFilled -> wasAutoFilled

* fix: can scroll on side of forums

* fix: application.getPrevAutofill no more exceptions if the user has no autofill information

* fix: adjusted first and last name boxes to flex-row for smaller form factors

* fix: make previous hackathon count always positive

* add: react-hook-form-persist for localStorage

* fix: limited the year field in dates to 4 digits

* feat: added localstorage to everything except date fields

* added link to resume field on application FE

* fixed page

* chore: form mostly done 😭

Co-authored-by: Krish <[email protected]>

* chore: cleanup code, add errors

* feat: significantly improve dashboard speed by prefetching status

* fix: date autofill

* feat: upgrade to daisyui v4, responsive form

* feat: light mode. redefined. (I redid everything)

* fix: add back commented gssp

* chore: cleanup

* chore: better error messags

* feat: add word limit indicators

* chore: migrate database

* chore: remove random gitignore

* chore: add bg animation back

* chore: remove unused component

* fix: remove race condition

---------

Co-authored-by: Krish120003 <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Felix Fong <[email protected]>
Co-authored-by: jeffreychan <[email protected]>
Co-authored-by: Krish <[email protected]>

* chore: downgrade next version

* fix: multi select vertical spacing (#152)

* feat: mobile phone validation (#153)

* fix: save forms with persist ids, and remove on load (#151)

* fix: detect invalid dates (#154)

* fix: detect invalid dates

* fix: set possible as const

* feat: show submission error

* fix: use use effect for local storage manipulation

* fix: remove extra type

* chore: remove unnecessary type def

---------

Co-authored-by: Arian Ahmadinejad <[email protected]>

* fix: og image (#155)

* fix: change image

* feat: add meta tags

* fix: title

* feat: add theme colors

---------

Co-authored-by: Krish120003 <[email protected]>

* fix: fix faq link

* feat: collect mcmaster EV information (#156)

* feat: collect mcmaster EV information

* feat: collect mcmaster EV information

* chore: update text

* fix: typo

* feat: install logrocket (#157)

* feat: install logrocket

* fix: update id

* feat: add logrocket identification

* fix: identity tracking from session

* feat: disable tracking in dev

* feat: add an application killswitch (#158)

* chore: scaffold page

* chore: prelimnary setup for killswitch feature

Co-authored-by: Krish <[email protected]>

* feat: add config for killswitch

* feat: addd killswitch buttons

---------

Co-authored-by: Arian Ahmadinejad <[email protected]>

---------

Co-authored-by: Arian Ahmadinejad <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Jeffrey Chan <[email protected]>
Co-authored-by: Felix Fong <[email protected]>
Co-authored-by: Felix Fong <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: jeffreychan <[email protected]>
Co-authored-by: Rachelle DeMan <[email protected]>
  • Loading branch information
9 people authored Nov 17, 2023
1 parent b1826aa commit aaaff44
Show file tree
Hide file tree
Showing 69 changed files with 7,552 additions and 6,165 deletions.
6 changes: 5 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@
"project": "./tsconfig.json"
},
"plugins": ["@typescript-eslint"],
"extends": ["next/core-web-vitals", "plugin:@typescript-eslint/recommended"]
"extends": ["next/core-web-vitals", "plugin:@typescript-eslint/recommended"],
"rules": {
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "off"
}
}
9 changes: 6 additions & 3 deletions .github/workflows/PR-CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install prettier
- run: npm run format:check
node-version: 20
- run: pnpm install prettier
- run: pnpm run format:check
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.9.0
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"cSpell.words": ["Serverside"]
"editor.formatOnSave": true
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ In the past, the DeltaHacks team has used a variety of different tools to manage

- [x] OAuth2 Authentication
- [x] Hacker Applications
- [ ] Attendee Acceptence Dashboard
- [x] Attendee Acceptence Dashboard
- [ ] Administration Dashboard
- [ ] Judging Portal
- [ ] Sponsor Portal
- [ ] QR Code encoded meal tickets
- [x] QR Code encoded meal tickets

## The Stack

Expand Down
Loading

0 comments on commit aaaff44

Please sign in to comment.