Commit Graph

124 Commits

Author SHA1 Message Date
Stuart Long Chay Boon
2acf394da3 [offers][feat] add get user profile endpoint 2022-10-28 01:55:58 +08:00
Stuart Long Chay Boon
7e5300d9fc [offers][feat] create protected router to store user profile endpoints 2022-10-28 00:44:34 +08:00
Su Yin
45b15ac1b3 [resumes][feat] Add filter counts on browse page (#446) 2022-10-27 21:30:37 +08:00
Keane Chan
410d8712c3 [resumes][fix] add resolve resume functionality (#442)
* [resumes][fix] button getting cut off

* [resumes][feat] add resolve functionality

* [resumes][feat] replace student roles with internship

* [resumes][feat] fetch isResolved field
2022-10-27 16:08:01 +08:00
hpkoh
87354c6dea [questions][chore] Refactor routers (#435)
Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-26 19:13:28 +08:00
Jeff Sieu
87aa16929b [questions][feat] Add question lists (#438)
Co-authored-by: wlren <weilinwork99@gmail.com>
2022-10-26 18:53:09 +08:00
Terence
b3d110f90f [resumes][fix] update vote query (#436)
* [resumes][fix] update vote query

* [resumes][fix] lint issues

Co-authored-by: Terence Ho <>
2022-10-26 17:55:34 +08:00
Stuart Long Chay Boon
0db31eb0c1 [offers][fix] fix create profile bug where experience not saved 2022-10-26 17:15:39 +08:00
Yangshun Tay
f48a34e88a [portal] prettify files 2022-10-26 16:30:06 +08:00
hpkoh
352f8a03ad [questions][feat] add encounters transaction for crud (#409)
* [questions][chore] refactor question queries

* [questions][chore] destructure values from input

* [questions][feat] add sorting

* [question][fix] fix frontend

* [questions][feat] add sorting

* [questions][feat] add sorting index

* [questions][chore] push migration file

* [questions][fix] fix ci issues

* [questions][fix] fix import errors

* [questions][feat] add encounters transaction for crud

* [questions][chore] fix import

* [questions][chore] update error handling

* [questions][feat] parallelize queries

* [questions][fix] update to use corrcet client

* Update questions-question-encounter-router.ts

* Update questions-question-encounter-router.ts

Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-26 15:38:28 +08:00
Bryann Yeap Kok Keong
db19a84080 [offers][chore] Speed up fetching of dashboard offers 2022-10-25 10:40:55 +08:00
hpkoh
79b62234ea Revert "[questions][feat] add text search (#412)" (#428)
This reverts commit f70caba3f2.
2022-10-25 10:29:01 +08:00
Ai Ling
ef61793616 [offers][fix] Fix offers form experience section (#427) 2022-10-25 03:31:46 +08:00
hpkoh
f70caba3f2 [questions][feat] add text search (#412) 2022-10-25 01:22:05 +08:00
hpkoh
7589e9b078 [questions][feat] add list crud (#393)
Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-25 01:21:34 +08:00
Ai Ling
f8423afe2a [offers][fix] Fix UI and remove specialization on the backend (#426)
* [offers][fix] Remove specialization on the frontend

* [offers][fix] Rename refresh OEA button

* [offers][chore] Remove specialisation and make bonus, stocks and baseSalary optional

* [offers][fix] Fix OEA profile job title

Co-authored-by: Bryann Yeap Kok Keong <bryannyeapkk@gmail.com>
2022-10-25 00:24:44 +08:00
hpkoh
c118ed59d4 [questions][fix] fix pagination off by one (#425) 2022-10-24 23:20:51 +08:00
hpkoh
471a28be8a [questions][feat] pagination (#410)
* [questions][feat] pagination

* [questions][feat] update aggregated data

* [questions][feat] add next cursors

* [questions][fix] fix bug

* [questions][chore] fix lint error

* [questions][chore] update cursor to support adapter

* [questions][feat] paginate browse queries

* [questions][ui] change page size to 10

* [question][refactor] clean up router code

* [questions][fix] fix type errors

* [questions][feat] add upvotes tracking

* [questions][chore] add default upovte value

Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-24 22:56:50 +08:00
Stuart Long Chay Boon
c188405de0 [offers][chore] create random string generator for token 2022-10-24 21:39:49 +08:00
Stuart Long Chay Boon
3c80296253 [offers][refactor] refactor random name generator code 2022-10-24 21:27:40 +08:00
Stuart Long Chay Boon
e77bb03639 [offers][chore] integrate random name generator to create profile 2022-10-24 21:09:33 +08:00
Bryann Yeap Kok Keong
65a8618e54 [offers][chore] Add a secondary sorting by monthYearReceived descending in addition to other primary sorting filters applied 2022-10-24 18:40:20 +08:00
Yangshun Tay
f25a4d4532 [misc] prettify files 2022-10-24 10:18:49 +08:00
Bryann Yeap Kok Keong
5f546f951f [offers][fix] Remove crypto coin from currencies 2022-10-24 06:18:14 +08:00
Stuart Long Chay Boon
34538919b1 [offers][fix] fix edit profile endpoint 2022-10-24 01:30:30 +08:00
Peirong
b7f4cf93a0 [resumes][fix] search and pagination bugs (#419) 2022-10-23 22:37:16 +08:00
Ai Ling
c0f92584ef [offers][feat] Add analysis to offers profile page (#416) 2022-10-23 18:00:36 +08:00
Ai Ling
77d0714e33 [offers][fix] Refactor and fix offer analysis (#413) 2022-10-23 01:35:03 +08:00
Jeff Sieu
11aa89353f [questions][feat] add lists ui, sorting, re-design landing page (#411)
Co-authored-by: wlren <weilinwork99@gmail.com>
2022-10-22 22:14:19 +08:00
Stuart Long Chay Boon
b0329a04f0 [offers][fix] remove compulsory tc and monthly salary for past exp 2022-10-22 17:55:14 +08:00
Bryann Yeap Kok Keong
6948c2e4ee [offers][refactor] Rename currency exchanger file to follow camelCase 2022-10-22 16:25:26 +08:00
Bryann Yeap Kok Keong
78a7e88410 [offers][chore] Add monthYearReceived to the analysis generation API 2022-10-22 16:13:38 +08:00
hpkoh
b37ce69c25 [questions][feat] update question filter (#384)
* [questions][chore] refactor question queries

* [questions][chore] destructure values from input

* [questions][feat] add sorting

* [question][fix] fix frontend

* [questions][feat] add sorting

* [questions][feat] add sorting index

* [questions][chore] push migration file

* [questions][fix] fix ci issues

* [questions][fix] fix import errors

Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-22 14:31:29 +08:00
Bryann Yeap Kok Keong
be594c7513 [offers][fix] Fix analysis and offers API to accommodate new fields in OffersCurrency 2022-10-22 13:24:45 +08:00
Bryann Yeap Kok Keong
2c7f349043 [offers][chore] Add a relative base value to the currency model in schema 2022-10-22 07:48:07 +08:00
Bryann Yeap Kok Keong
b345ae0c8f [offers][refactor] Refactor the sorting to use prisma's ORDERBY api 2022-10-22 00:33:49 +08:00
Bryann Yeap Kok Keong
2729e20351 [offers][refactor] Refactor the sorting to use prisma's WHERE api 2022-10-21 23:12:55 +08:00
Bryann Yeap Kok Keong
d200793d20 [offers][feat] Allowing showing income based on selected salary 2022-10-21 21:50:01 +08:00
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