230 Commits

Author SHA1 Message Date
6948c2e4ee [offers][refactor] Rename currency exchanger file to follow camelCase 2022-10-22 16:25:26 +08:00
78a7e88410 [offers][chore] Add monthYearReceived to the analysis generation API 2022-10-22 16:13:38 +08:00
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
5e6482aa2e [offers][fix] Add previous companies to analysis DTO 2022-10-22 13:44:36 +08:00
be594c7513 [offers][fix] Fix analysis and offers API to accommodate new fields in OffersCurrency 2022-10-22 13:24:45 +08:00
bb97c4dea6 [resumes][fix] fix nouns singular/plural (s) 2022-10-22 10:23:26 +08:00
b2237f97f2 [resumes][feat] add spinner to browse page 2022-10-22 10:05:15 +08:00
13f40ab6ae [offers][chore] Add baseCurrency and baseValue to Valuation DTO 2022-10-22 08:01:29 +08:00
2c7f349043 [offers][chore] Add a relative base value to the currency model in schema 2022-10-22 07:48:07 +08:00
f8d22632ec Merge branch 'main' of github.com:yangshun/tech-interview-handbook
* 'main' of github.com:yangshun/tech-interview-handbook:
  [resumes][feat] use overflow-auto instead
  [resumes][fix] invalidate fetch query on submit
  [resumes][fix] fix reply comments (#407)
2022-10-22 00:34:04 +08:00
b345ae0c8f [offers][refactor] Refactor the sorting to use prisma's ORDERBY api 2022-10-22 00:33:49 +08:00
2414deb624 [resumes][feat] use overflow-auto instead 2022-10-22 00:09:48 +08:00
7d0dba9669 [resumes][fix] invalidate fetch query on submit 2022-10-22 00:09:27 +08:00
dac178e712 [resumes][fix] fix reply comments (#407)
Co-authored-by: Terence Ho <>
2022-10-21 23:14:57 +08:00
2729e20351 [offers][refactor] Refactor the sorting to use prisma's WHERE api 2022-10-21 23:12:55 +08:00
8b8fffdab1 [resumes][feat] Add mobile filters (#408) 2022-10-21 22:18:12 +08:00
d200793d20 [offers][feat] Allowing showing income based on selected salary 2022-10-21 21:50:01 +08:00
587e80b1bf [resumes][fix] unauthenticated browse page show only sign-in prompt 2022-10-21 20:52:32 +08:00
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
817f1d5705 [offers][chore] add remove offers/experience/education/specificyoe in editprofile 2022-10-21 16:28:24 +08:00
35494dc7ea [resumes][fix] fix expandable text bug 2022-10-21 15:56:50 +08:00
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
6a665bc976 [offers][chore] remove profileName and discussion from editprofile 2022-10-21 15:46:23 +08:00
18d2a10708 [resumes][feat] update top upvoted comment count 2022-10-21 15:33:07 +08:00
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
fc93596c39 Return currency with income in analysis top offers 2022-10-21 13:46:36 +08:00
910cc15148 [resumes][fix] fix tooltip 2022-10-21 10:17:53 +08:00
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
0adec461d0 [offers][feat] add filters for table and fix pagination (#402)
* [offers][feat] add filters for table and fix pagination

* [offers][fix] display currency
2022-10-20 23:39:07 +08:00
7c467d2e0e [resumes][feat] add helpful text when no resume shown 2022-10-20 22:35:52 +08:00
4526867601 [resumes][feat] add query for max resume upvote count 2022-10-20 22:15:54 +08:00
10d23fe464 [resumes][feat] add resume badges 2022-10-20 22:01:27 +08:00
89f55bc132 [resumes][feat] add useDebounceValue hook 2022-10-20 21:30:15 +08:00
707161380f [resumes][feat] fix resume badge UI (#400)
* [resumes][feat] update badge icon

* [resumes][refactor] update resume badge names

* [resumes][refactor] update to title

* [resumes][fix] disable horizontal scroll in comments
2022-10-20 20:47:46 +08:00
0311ee3e6a [offers][chore] Add location to experience in the back end 2022-10-20 20:02:19 +08:00
111b078147 [offers][fix] Fix the sort and filter checks in list offers API 2022-10-20 19:40:26 +08:00
283333e1ee [resumes][fix] browse tabs updates on tab shift 2022-10-20 19:26:26 +08:00
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
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
9741bf83b9 [resumes][refactor] add staleTime to browse page queries 2022-10-20 17:54:36 +08:00
94e2b1c01e [resumes][feat] add reviewer badge icons 2022-10-20 11:05:26 +08:00
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
4fa350964f [questions][feat] add question encounter crud (#343) 2022-10-20 00:32:42 +08:00
c8b1e43337 [resumes][feat] misc updates (#397)
* [resumes][feat] only load comments on initial fetch

* [resumes][feat] update dropzone for form
2022-10-19 21:56:02 +08:00
cf1852a302 [resumes][feat] Update vote animation (#396)
Co-authored-by: Terence Ho <>
2022-10-19 20:28:07 +08:00
a879639b53 [offers][chore] add migration sql and change naming conventions 2022-10-19 18:47:03 +08:00
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
d8213639d3 add spinner (#394)
Co-authored-by: Terence Ho <>
2022-10-19 18:14:33 +08:00
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
410bf290c9 [resumes][chore] disable pdf highlighting 2022-10-19 18:02:09 +08:00