Commit Graph

58 Commits

Author SHA1 Message Date
BryannYeap
0edcfb7af3 [offers][fix] Fix generate analysis API by deleting analysis if exists before creating 2022-10-15 05:18:52 +08:00
BryannYeap
c12c318a0b [offers][chore] Save the generate offer profile analysis into db 2022-10-15 05:04:38 +08:00
BryannYeap
490d11e249 [offers][chore] Add OffersAnalysis into database 2022-10-15 03:23:44 +08:00
Stuart Long Chay Boon
0f2f0dc64d [offers][chore] return user object in get comments 2022-10-15 01:44:22 +08:00
Keane Chan
dccc68b710 [resumes][feat] add edit form functionality (#379)
* [resumes][feat] add edit form functionality

* [resumes][chore] remove comment
2022-10-15 01:35:49 +08:00
BryannYeap
b7e0d8ff90 [offers][feat] Create Offer Analysis API 2022-10-14 22:15:04 +08:00
Su Yin
ff9cffa715 [resumes][fix] Fix browse page bugs (#377)
* [resumes][fix] Update job level labels

* [resumes][fix] Fix browse page misc UI

* [resumes][feat] Add coloured star if resume is starred

* [resumes][fix] Remove unnecessary import
2022-10-14 15:42:54 +08:00
BryannYeap
6c41118785 [offers][chore] Add error handling to list offers API 2022-10-14 05:45:39 +08:00
Stuart Long Chay Boon
1dd083e236 [offers][chore] improve crud endpoints for comments 2022-10-14 03:21:30 +08:00
Stuart Long Chay Boon
1ec0a4f20f [offers][feat] add get comments endpoint 2022-10-14 02:57:11 +08:00
Stuart Long Chay Boon
9c9f625c53 [offers][feat] add add to user profile endpoint 2022-10-14 02:14:29 +08:00
Stuart Long Chay Boon
fc27afc529 [offers][chore] return user info of comments 2022-10-14 02:00:34 +08:00
Stuart Long Chay Boon
49bf414ce9 [offers][feat] add update and delete endpoints for comment 2022-10-14 01:56:22 +08:00
Stuart Long Chay Boon
fa3e456271 [offers][chore] fix error messages 2022-10-14 01:23:02 +08:00
Stuart Long Chay Boon
68d0956cba [offers][feat] add edit profile endpoint 2022-10-14 00:40:40 +08:00
Terence
fd67a20a2b [resumes][fix] Fix bugs in comments section (#363)
* [resumes][fix] left-align all comments

* [resumes][fix] add comment owner OP tag

* [resumes][fix] render multi-line text in comments

* [resumes][feat] add see more/less for overflow comments

* [resumes][refactor] prefix comments section with Resume

* [resumes][refactor] Refactor routers from reviews -> comments

* [resumes][refactor] use Vote enum in ResumesCommentVote

* [resumes][refactor] add comment count to tabs

* [resumes][refactor] combine resume-card and resume-body into resume-list-item

Co-authored-by: Terence Ho <>
2022-10-13 11:57:45 +08:00
Stuart Long Chay Boon
a47c0761d2 [offers][chore] add user to replies and return error if profile not found 2022-10-13 00:23:03 +08:00
BryannYeap
29af9f692f [offers][chore] Make totalYoe compulsory in create offer profile API 2022-10-13 00:08:07 +08:00
BryannYeap
d1fa6c6170 [offers][chore] Change filter field from company name to company id 2022-10-12 23:43:17 +08:00
Stuart Long Chay Boon
e8ef133a88 [offers][chore] standardise input fields for delete and get profile 2022-10-12 23:03:00 +08:00
BryannYeap
335413fdcd [offers][chore] Validate edit token before allowing deletion of offer profile 2022-10-12 20:28:12 +08:00
Stuart Long Chay Boon
ee9e2ba257 [offers][chore]remove edit token when return single profile 2022-10-12 16:15:44 +08:00
Stuart Long Chay Boon
4e2d599d4e [offers][chore] refactor isEditable code 2022-10-12 16:07:02 +08:00
BryannYeap
00896853e1 [offers][refactor] Shift test pages under a route 2022-10-12 15:47:09 +08:00
Peirong
a905f31b2c [resumes][fix] fix resumes starring lag + add zoom controls (#359)
* [resumes][fix] Fix star button delay

* [resumes][feat] add zoom controls for pdf
2022-10-11 16:36:09 +08:00
Stuart Long Chay Boon
6a6c939953 [offers][fix] fix create endpoint no company bug 2022-10-11 15:25:42 +08:00
Stuart Long Chay Boon
34c8c7d605 [offers][chore] add editToken check for backend 2022-10-11 15:02:16 +08:00
Stuart Long Chay Boon
0822bee33b [offers][fix] modify create profile endpoint to accept optional 2022-10-11 13:15:22 +08:00
BryannYeap
d5edb6da60 [offers][feat] Add delete OfferProfile API 2022-10-11 12:19:01 +08:00
Stuart Long Chay Boon
6ff3842d5e [offers][feat] add get one profile endpoint 2022-10-10 23:01:54 +08:00
BryannYeap
3c90c2f7e9 [offers][chore] Add total number of offers in paging information 2022-10-10 22:43:05 +08:00
Jeff Sieu
50d3386592 [question][ui] integrate backend voting (#355)
Co-authored-by: wlren <weilinwork99@gmail.com>
2022-10-10 22:23:58 +08:00
BryannYeap
7052e8c175 [offers][fix] Fix pagination, include yoe in DTO and fix story bug 2022-10-10 22:09:38 +08:00
Stuart Long Chay Boon
e6f2be64b4 [offers][fix] grant access to create offer without logging in 2022-10-10 21:01:10 +08:00
Bryann Yeap Kok Keong
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
hpkoh
85d49ad4cd [questions][feat] add nested create encounter (#339)
Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-10 13:08:02 +08:00
Jeff Sieu
e78160d654 [questions][feat] integrate backend (#347) 2022-10-10 08:17:01 +08:00
hpkoh
0335616d57 [questions][feat] add answer comment crud (#332)
Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-10 03:46:51 +08:00
hpkoh
f28332ab88 [questions][feat] add question answer crud (#331)
Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-10 03:26:07 +08:00
hpkoh
97c4217582 [questions][feat] add question comment crud (#330) 2022-10-10 03:12:22 +08:00
Yangshun Tay
ebacebb26b [portal][ui] add companies filter 2022-10-09 19:49:16 +08:00
Keane Chan
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
Su Yin
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
hpkoh
8dc967c6ec [questions][feat] add questions crud (#327) 2022-10-09 16:34:17 +08:00
Su Yin
e1ca8e8f78 [resumes][fix] Fix starred resumes uploader name (#333) 2022-10-09 11:35:01 +08:00
Keane Chan
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
Yangshun Tay
fbf1517901 [portal][fix] remove empty files causing compilation to fail 2022-10-09 09:24:04 +08:00
hpkoh
a818e7d820 [questions][feat] add questions models (#323)
* [questions] [feat] add questions models

* [questions][feat] add question types

* [questions][chore] update schema naming scheme

* [questions][chore] update naming scheme

* [questions][chore] updating naming scheme

* [questions][feat] add location, role and comapny

* [questions][feat] update vote enum
2022-10-09 01:36:21 +08:00
Su Yin
2f50694016 [resumes][feat] Fetch resumes for browse tabs (#326)
* [resumes][fix] Change browse list item styling

* [resumes][feat] Add protected tabs router for browse page

* [resumes][feat] Fetch all, starred and my resumes in browse page

* [resumes][fix] Fix overflow y scrolling

* [resumes][fix] Use date-fns to format upload time text
2022-10-08 20:57:04 +08:00
Terence
d9880dbff1 [resumes][feat] fetch comments from database (#320)
* [resumes][feat] Add resume-comments type

* [resumes][feat] Add resume-comments type

* [resumes][feat] Filter comments

* [resumes][feat] Add comments render

* [resumes][refactor] rename variables

* [resumes][refactor] update invalidateQueries

* [resumes][refactor] Use resumeId in [resumeId].tsx

* [resumes][fix] fix invalidateQuery

Co-authored-by: Terence Ho <>
2022-10-08 00:42:27 +08:00