Commit Graph

86 Commits

Author SHA1 Message Date
Terence
f123ffa7e2 [resumes][refactor] Comment UI touchup (#405)
* [resumes][refactor] add vertical line to replies

* [resumes][refactor] sort replies ascending

Co-authored-by: Terence Ho <>
2022-10-21 17:56:35 +08:00
Stuart Long Chay Boon
817f1d5705 [offers][chore] add remove offers/experience/education/specificyoe in editprofile 2022-10-21 16:28:24 +08:00
Terence
d10377e0f9 [resumes][feat] replying comments (#401)
* [resumes][feat] add resume comment parent

* [resumes][refactor] Abstract comment edit form and votes to their components

* [resumes][feat] Add reply form

* [resumes][feat] Render replies

* [resumes][feat] add collapsible comments

* [resumes][chore] remove comment

Co-authored-by: Terence Ho <>
2022-10-21 15:55:59 +08:00
Stuart Long Chay Boon
6a665bc976 [offers][chore] remove profileName and discussion from editprofile 2022-10-21 15:46:23 +08:00
Keane Chan
18d2a10708 [resumes][feat] update top upvoted comment count 2022-10-21 15:33:07 +08:00
Keane Chan
22d5f54a47 [resumes][feat] add padding and hide scrollbar for comments (#404)
* [resumes][feat] add padding and hide scrollbar for comments

* [resumes][feat] add findUserTopUpvotedCommentCount query
2022-10-21 15:25:14 +08:00
Keane Chan
910cc15148 [resumes][fix] fix tooltip 2022-10-21 10:17:53 +08:00
Ai Ling
11df1e1f1c [offers][feat] Integrate offers profile edit (#403)
* [offers][fix] Fix offer analysis and save

* [offers][fix] Fix profile view page

* [offers][feat] Add offers profile edit
2022-10-21 02:19:29 +08:00
Keane Chan
4526867601 [resumes][feat] add query for max resume upvote count 2022-10-20 22:15:54 +08:00
Wu Peirong
89f55bc132 [resumes][feat] add useDebounceValue hook 2022-10-20 21:30:15 +08:00
BryannYeap
0311ee3e6a [offers][chore] Add location to experience in the back end 2022-10-20 20:02:19 +08:00
BryannYeap
111b078147 [offers][fix] Fix the sort and filter checks in list offers API 2022-10-20 19:40:26 +08:00
Keane Chan
41d5170225 [resumes][feat] scaffold for resume badges (#399)
* [resumes][fix] reduce font size in comments

* [resumes][feat] add queries for resume badges

* [resumes][feat] add scaffold for resume badges

* [resumes][chore] remove unused query
2022-10-20 18:25:26 +08:00
BryannYeap
a5c300c9b2 [offers][fix] Align the range of Junior, Mid, and Senior SWE in the backend with the frontend 2022-10-20 18:12:30 +08:00
Ai Ling
992d457b8a [offers][feat] Integrate offers analysis into offers submission (#398)
* [offers][fix] Fix minor issues in form

* [offers][fix] Use companies typeahead in form

* [offers][feat] Fix types and integrate offers analysis

* [offers][fix] Fix generate analysis API test
2022-10-20 02:46:50 +08:00
hpkoh
4fa350964f [questions][feat] add question encounter crud (#343) 2022-10-20 00:32:42 +08:00
Stuart Long Chay Boon
a879639b53 [offers][chore] add migration sql and change naming conventions 2022-10-19 18:47:03 +08:00
Su Yin
a53c10483e [resumes][feat] Add pagination on browse page (#388)
* [resumes][feat] Add pagination on browse page

* [resume][fix] Remove unused type
2022-10-19 18:37:41 +08:00
hpkoh
2f12a900e6 [questions][chore] update to use company table values (#351)
Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-19 18:08:51 +08:00
Stuart Long Chay Boon
bde445859a [offers][chore] return comments in reverse chronological order 2022-10-19 17:06:06 +08:00
Terence
22805022a9 [resumes][feat] Add resume comment upvote/downvote (#389)
* [resumes][feat] Add upvote/downvote

* [resumes][refactor] abstract comment votes fetching from comments

* [resumes][chore] remove votes from comments query

Co-authored-by: Terence Ho <>
2022-10-19 16:48:03 +08:00
hpkoh
925ba937b4 [questions][refactor]: refactor queries (#383) 2022-10-19 15:12:56 +08:00
Zhang Ziqing
bc424bee33 [offers][refactor] add types for interfaces (#390)
* [offers][chore] Create types for API responses

* [offers][fix] fix get comments bug

* [offers][fix] make offers api open to unauthenticated users

* [offers][chore] add return types to comment api

* [offers][chore] add types to get comments api

* [offers][chore] Refactor profile and analysis APIs to return defined types

* [offers][chore] Add typed response for get offers API

* [offers][chore] Changed delete offer API response

* [offers][fix] Fix type definitions for OffersCompany in types/offers

* [offers][fix] fix list some offer frontend

Co-authored-by: BryannYeap <e0543723@u.nus.edu>
Co-authored-by: Stuart Long Chay Boon <chayboon@gmail.com>
2022-10-19 14:36:38 +08:00
Terence
25039b52de [resumes][feat] add comment edit (#386)
* [resumes][feat] add comment edit

* [resumes][fix] use react-hook-form validation

Co-authored-by: Terence Ho <>
2022-10-18 18:45:22 +08:00
Keane Chan
0666c99151 [resumes][feat] add isStarredByUser field to Resumes (#381) 2022-10-15 12:41:38 +08:00
BryannYeap
8a4a627f80 [offers][fix] Fix offer analysis API percentile calculation 2022-10-15 08:21:01 +08:00
BryannYeap
e99e580d5e [offers][feat] Add get offers analysis API 2022-10-15 08:01:13 +08:00
BryannYeap
56632892ce [offers][chore] Simplify offer analysis API response 2022-10-15 07:17:03 +08:00
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