740 Commits

Author SHA1 Message Date
34c8c7d605 [offers][chore] add editToken check for backend 2022-10-11 15:02:16 +08:00
0822bee33b [offers][fix] modify create profile endpoint to accept optional 2022-10-11 13:15:22 +08:00
f88e8e8409 [offers][chore] Update migration records 2022-10-11 12:22:57 +08:00
d5edb6da60 [offers][feat] Add delete OfferProfile API 2022-10-11 12:19:01 +08:00
77ad895098 [infra] add GitHub actions for linting (#357) 2022-10-11 07:43:29 +08:00
dfdd27cb85 [infra] add GitHub actions for typechecking (#356) 2022-10-11 07:27:41 +08:00
b5c930ed68 [portal] disable react query refetch on window focus 2022-10-11 06:44:29 +08:00
6ff3842d5e [offers][feat] add get one profile endpoint 2022-10-10 23:01:54 +08:00
3c90c2f7e9 [offers][chore] Add total number of offers in paging information 2022-10-10 22:43:05 +08:00
50d3386592 [question][ui] integrate backend voting (#355)
Co-authored-by: wlren <weilinwork99@gmail.com>
2022-10-10 22:23:58 +08:00
7052e8c175 [offers][fix] Fix pagination, include yoe in DTO and fix story bug 2022-10-10 22:09:38 +08:00
e6f2be64b4 [offers][fix] grant access to create offer without logging in 2022-10-10 21:01:10 +08:00
43af4b7ad6 [resumes][feat] add link to resume guide (#354) 2022-10-10 20:34:53 +08:00
356eeb6954 [offers][feat] Add Offers Schema, View Offer Profiles API, and Create Offer Profile API (#353)
* [offers][fix] fix merge conflicts

* [offers][chore] Create prisma schema

* [offers][feat] add create endpoint for profiles

* [offers][feature] Create list offers API with filter functionality

* [offers][fix] fix bugs create profile bugs

* [offers][fix] fix create profile bugs

* [offers][feat] Add sorting functionality to list offers

Co-authored-by: Stuart Long Chay Boon <chayboon@gmail.com>
2022-10-10 19:50:56 +08:00
f8031caa2f [ui][slide out] add className prop 2022-10-10 15:38:38 +08:00
cc462ab6ab [resumes][feat] Add sign in buttons on browse page (#350)
* [resumes][fix] Add gap between sections in resume list item

* [resumes][refactor] Abstract out sign in button

* [resumes][feat] Add sign in buttons on browse page
2022-10-10 14:09:01 +08:00
d3c0c21f1b [offers][feat] Add offers submission, view and list pages (#348)
* [offers][feat] add offer table and profile view

* [offers][feat] add offers submission form

* [offers][style] homepage styling

* [offers][refactor] refactor types and constants

* [offers][style] style offers form

* [offers][fix] fix import error

Co-authored-by: Zhang Ziqing <zhangziqing9926@gmail.com>
2022-10-10 13:23:22 +08:00
85d49ad4cd [questions][feat] add nested create encounter (#339)
Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-10 13:08:02 +08:00
2b68ea7c6a [resumes][fix] fix textarea registration on comment form 2022-10-10 09:52:05 +08:00
057f915b29 [resumes][feat] revert to storing fileURL instead 2022-10-10 09:44:57 +08:00
5d0c95e085 [resumes][feat] disable inputs and buttons during form submission 2022-10-10 09:34:34 +08:00
f6bbbe6b02 [chore] attempt to fix the storybook CI build issue 2022-10-10 08:34:04 +08:00
e78160d654 [questions][feat] integrate backend (#347) 2022-10-10 08:17:01 +08:00
fecb470c99 [ui][button] add danger, warning, info variants 2022-10-10 07:17:06 +08:00
0335616d57 [questions][feat] add answer comment crud (#332)
Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-10 03:46:51 +08:00
f28332ab88 [questions][feat] add question answer crud (#331)
Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-10 03:26:07 +08:00
97c4217582 [questions][feat] add question comment crud (#330) 2022-10-10 03:12:22 +08:00
cf5af1a5c7 [questions][ui] Full UI for questions/answer/comment (#346)
* [questions][ui] Add DiscardDraftModal

* [questions][ui] add question draft dialog form

* [questions][ui] refactor bottom contribute bar

* [questions][ui] landing page

* [questions][ui] add similar question card

* [questions][ui] use TIH dialog for discard

* [questions][ui] add aria-hidden for select label

* [questions][ui] extract useFormRegister hook

* [questions][ui] change landing page to component

* [questions][ui] load filter from query param

* [question][chore] add constants.ts

* [questions][ui] add app logo

* [questions][ui] remove form

* [questions][ui] fix dialog closing

* [questions][chore] minor changes

* [questions][ui] radio button

* [questions][ui] add vertical scrolling

* [questions][ui] Question age url param change

* [questions][chore] refactor and add in todo

* [questions][ui] contribute card clickable

* [questions][ui] landing page github stars

* [questions][ui] edit css for question card

* [question][ui] add question detail page

* [questions][ui] remove navbar import

* [questions][ui] css changes

* [questions][ui] hide sidebar

* [questions][ui] contribute questions form ui

* [questions][ui] question page

* [questions][bug] remove button

* [questions][ui] voting button size

* [questions][chore] add dummy data, refactor

* [questions][ui] answer card

* [questions][chore] add sample data

* [questions][ui] add hover

* [questions][ui] clean up old href

* [questions][ui] add comments & commments page

* [question][feat] cache filter options to localStorage

* [questions][fix] fix index refreshing constantly

* [questions][ui] set fixed sample date

Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-10 02:01:38 +08:00
c252f57bd5 [resumes][feat] Update resume top nav bar (#344)
* [resumes][feat] Update resume top nav bar

* [portal][fix] convert number to Month type
2022-10-09 22:26:23 +08:00
53433787eb [resumes][feat] add loading screens for resumes/comments (#342) 2022-10-09 20:46:24 +08:00
c196dcea32 [portal][ui] add MonthYearPicker 2022-10-09 20:26:59 +08:00
ebacebb26b [portal][ui] add companies filter 2022-10-09 19:49:16 +08:00
e7d08d46c8 [resumes][refactor] Package routers into folders (#341)
* [resumes][refactor] package routers into folders

* [resumes][fix] use US as value
2022-10-09 18:53:35 +08:00
e9d12dfce7 [resumes][feat] Display location text in resume browse page (#340) 2022-10-09 18:29:52 +08:00
7f3275b705 [ui][dialog] make isShown prop required 2022-10-09 18:07:04 +08:00
c3c3dfceb5 Keane/update-submit-form (#338)
* [resumes][fix] add isLoading effect on submit form

* [resumes][fix] remove useeffect on browse page
2022-10-09 17:55:06 +08:00
90f8556f8c [ui][typeahead] implementation 2022-10-09 17:52:39 +08:00
a26bd49a96 [questions][feat] update encounters schema (#337) 2022-10-09 17:36:02 +08:00
a1cd0f4e9b [resumes][feat] add submission guidelines box (#335) 2022-10-09 17:09:24 +08:00
632439dad4 [resumes][refactor] Filter comments on FE (#336)
* [resumes][fix] Fix fetch id

* [resumes][refactor] Change to filtering on FE for comments

* [resumes][fix] Fix lint errors
2022-10-09 16:45:16 +08:00
8dc967c6ec [questions][feat] add questions crud (#327) 2022-10-09 16:34:17 +08:00
b1d7a4e4e6 [portal][nav] hide global nav for resumes 2022-10-09 15:30:58 +08:00
dd08da88a0 [resumes][fix] add spinners and responsive UI for review + browse pages (#334) 2022-10-09 15:24:23 +08:00
3ccea65d2a [portal][ui] make product navigation appear in mobile menu 2022-10-09 13:51:22 +08:00
8481ab1044 [portal][ui] change app shell UI 2022-10-09 12:24:41 +08:00
35d614e582 [resumes][feat] update resume file size limit 2022-10-09 12:14:57 +08:00
e1ca8e8f78 [resumes][fix] Fix starred resumes uploader name (#333) 2022-10-09 11:35:01 +08:00
384981716d [resumes][feat] upload pdf file into file storage (#321)
* [resumes][feat] upload pdf file into file storage

* [resumes][fix] fix file upload failure

* [resumes][chore] update .env.local.example

* [resumes][fix] process file transfer over next.js

* [resumes][feat] file upload

* [resumes][chore] cleanup

* [resumes][feat] add GET method for file-storage API

* [portal[chore] Update env.example file

* [resumes][chore] cleanup

* [portal][chore] update yarn lock file
2022-10-09 10:40:22 +08:00
fbf1517901 [portal][fix] remove empty files causing compilation to fail 2022-10-09 09:24:04 +08:00
0da41c265d [ui][checkbox list] implementation 2022-10-09 09:18:30 +08:00