Commit Graph

158 Commits

Author SHA1 Message Date
Stuart Long
8864a47400 [offers][feat] add script to seed salaries from tech salaries excel sheet (#501)
* [offers][feat] add file to read tech salaries sheet WIP

* [offers][chore] read from correct file while seeding

* [offers][chore] Add company seed

* [offers][feat] add data seeding code to fetch from excel

* [offers[chore] Generate analysis for seeded data

* [offers][chore] Merge main into branch

* [offers][fix] Fix incorrect name

* [offers][fix] integrate random name generator to profile seeding

* [offers][chore] Set job title in seeding

* [offers][chore] Removed specialization

* [offers][chore] Add yoe ranges for seeded data

* [offers][chore] Rename level params

* [offers][chore]normalise salaries

* [offers][fix] add checks for data.income

* [offers][chore] Allow analysis to analyse all companies in the backend

* [offers][chore] Add createdAt and updatedAt to analysis

* [offers][chore] Add company name to analysis unit

* [offers][feat] Add multiple company analysis UI

* [offers][fix] Fix bug where company analysis shows wrong company

* [offers][fix] Fix company analysis percentile calculation

* [offers][fix] Fix empty analysis

* [offers][chore] Change user relation in OffersProfile from one-to-many to many-to-many

* [offers][chore] Change location in schema

* Include City, State, and Country in profileDtoMapper params

* [offers][fix] Fix merge conflict

* [offers][chore] Change backend endpoints to new location field

* [offers][feat] integrate cityId into create profile endpoint

* [offers][feat] integrate location with update profile endpoint

* [offers][fix] update seeding issue where fulltime base is not year

* [offers][fix] update seed script to integrate with city

* [offers][feat] integrate location for offer table and profile

* [offers][chore] fix import of cities typeahead

* [offers][feat] Use city typeahead for location field

* [offers][fix] fix merge conflict

* [offers][fix] fix incorrect salary normalisation

* [offers][fix] fix base salary for fulltime

* [offers][fix] fix bonus

* [offers][chore] add console log to print status while seeding

* [offers][feat] normalise sheet to incorporate slug

* [offers][feat] read companies from salary sheet

* [offers][fix] remove prisma/companySeed.ts from tsconfig.json

* [offers][refactor] standardise seed script with question

* [resume][refactor] tweak resume submission UI

* [offers][chore] Provide more information to frontend in AnalysisUnit

* [offers][fix] fix import for salaries script

* [offers][feat] add file to read tech salaries sheet WIP

* [offers][chore] read from correct file while seeding

* [offers][chore] Add company seed

* [offers][feat] add data seeding code to fetch from excel

* [offers[chore] Generate analysis for seeded data

* [offers][chore] Merge main into branch

* [offers][fix] Fix incorrect name

* [offers][fix] integrate random name generator to profile seeding

* [offers][chore] Set job title in seeding

* [offers][chore] Removed specialization

* [offers][chore] Add yoe ranges for seeded data

* [offers][chore] Rename level params

* [offers][chore]normalise salaries

* [offers][fix] add checks for data.income

* [offers][chore] Allow analysis to analyse all companies in the backend

* [offers][feat] Add multiple company analysis UI

* [offers][fix] Fix empty analysis

* [offers][chore] Change user relation in OffersProfile from one-to-many to many-to-many

* [offers][fix] Fix merge conflict

* [offers][fix] update seeding issue where fulltime base is not year

* [offers][fix] update seed script to integrate with city

* [offers][chore] Change backend endpoints to new location field

* [offers][feat] integrate location for offer table and profile

* [offers][chore] fix import of cities typeahead

* [offers][feat] Use city typeahead for location field

* [offers][fix] fix merge conflict

* [offers][fix] fix incorrect salary normalisation

* [offers][fix] fix base salary for fulltime

* [offers][fix] fix bonus

* [offers][chore] add console log to print status while seeding

* [offers][feat] normalise sheet to incorporate slug

* [offers][feat] read companies from salary sheet

* [offers][fix] remove prisma/companySeed.ts from tsconfig.json

* [offers][refactor] standardise seed script with question

* [offers][fix] fix import for salaries script

* [offers][fix] fix merge conflicts

* [offers][feat] add file to read tech salaries sheet WIP

* [offers][chore] read from correct file while seeding

* [offers][chore] Add company seed

* [offers][feat] add data seeding code to fetch from excel

* [offers[chore] Generate analysis for seeded data

* [offers][chore] Merge main into branch

* [offers][fix] Fix incorrect name

* [offers][fix] integrate random name generator to profile seeding

* [offers][chore] Set job title in seeding

* [offers][chore] Removed specialization

* [offers][chore] Add yoe ranges for seeded data

* [offers][chore] Rename level params

* [offers][fix] add checks for data.income

* [offers][chore] Allow analysis to analyse all companies in the backend

* [offers][fix] Fix merge conflict

* [offers][fix] update seed script to integrate with city

* [offers][feat] integrate location for offer table and profile

* [offers][feat] Use city typeahead for location field

* [offers][chore] add console log to print status while seeding

* [offers][feat] normalise sheet to incorporate slug

* [offers][feat] read companies from salary sheet

* [offers][fix] remove prisma/companySeed.ts from tsconfig.json

* [offers][refactor] standardise seed script with question

* [offers][fix] fix merge conflicts

Co-authored-by: Bryann Yeap Kok Keong <bryannyeapkk@gmail.com>
Co-authored-by: Ai Ling <hong-ailing@hotmail.com>
Co-authored-by: Zhang Ziqing <zhangziqing9926@gmail.com>
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
2022-11-04 14:55:00 +08:00
Bryann Yeap Kok Keong
80fd274662 [offers][chore] Add reference to analysed offer in analysis unit (#504)
Co-authored-by: Bryann Yeap Kok Keong <bryannyeapkk@gmail.com>
2022-11-04 12:32:50 +08:00
Stuart Long Chay Boon
acc9ab00e1 [offers][fix] fix change experience type edit bug 2022-11-03 20:52:21 +08:00
Bryann Yeap Kok Keong
ca17ef9162 [offers][chore] Change company field in AnalysisUnit 2022-11-03 11:56:25 +08:00
Stuart Long Chay Boon
7419cb4608 [offers][fix] fix create offer bug 2022-11-03 11:06:54 +08:00
Stuart Long
0c9dfd7658 [offers][feat] return base bonus stocks for dashboard 2022-11-03 01:17:10 +08:00
Bryann Yeap Kok Keong
b47cfceb09 [offers][chore] Change location filter from city to country 2022-11-03 01:05:53 +08:00
Bryann Yeap Kok Keong
6881fe8bd5 [offers][chore] Make all filters optional (#493)
Co-authored-by: Bryann Yeap Kok Keong <bryannyeapkk@gmail.com>
2022-11-03 00:59:11 +08:00
Bryann Yeap Kok Keong
c0615baf5c [offers][chore] Change location fields (#491)
* [offers][chore] Change location in schema

* Include City, State, and Country in profileDtoMapper params

* [offers][chore] Change backend endpoints to new location field

* [offers][feat] integrate cityId into create profile endpoint

* [offers][feat] integrate location with update profile endpoint

* [offers][feat] integrate location for offer table and profile

* [offers][chore] fix import of cities typeahead

* [offers][feat] Use city typeahead for location field

* [offers][fix] Fix test pages

* [offers][fix] Fix ui error

* [offers][fix] Delete test pages

Co-authored-by: Bryann Yeap Kok Keong <bryannyeapkk@gmail.com>
Co-authored-by: Stuart Long Chay Boon <chayboon@gmail.com>
Co-authored-by: Zhang Ziqing <zhangziqing9926@gmail.com>
Co-authored-by: Ai Ling <hong-ailing@hotmail.com>
2022-11-02 23:20:18 +08:00
Yangshun Tay
48dccb821e [offers][refactor] tweak submit and analysis steps UI 2022-11-02 17:11:12 +08:00
Stuart Long Chay Boon
ab7f064734 [offers][fix] use upsert to remove id in valuation 2022-11-02 15:33:20 +08:00
Stuart Long Chay Boon
c3e8490656 [offers][fix] fix unable to update BBS in offer bug and remove valuation id 2022-11-02 15:22:26 +08:00
hpkoh
397ea3f4aa [questions][feat] add content search (#478)
Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-31 19:24:07 +08:00
Jeff Sieu
3cc238b0ce [questions][fix] fix landing page location params (#482) 2022-10-31 18:09:41 +08:00
Bryann Yeap Kok Keong
8f0f4e928d [offers][refactor] Move analysis generation into a util method so that seeding can use the same method 2022-10-31 16:19:36 +08:00
Zhang Ziqing
8798958f3d [offers][feat] integrate isSaved API (#475) 2022-10-31 15:42:51 +08:00
Stuart Long Chay Boon
0f1e46bd7e [offers][feat] add isSaved endpoint 2022-10-31 14:45:02 +08:00
Bryann Yeap Kok Keong
fe94c9d2da [offers][fix] Prevent user's offers from appearing in his own analysis 2022-10-31 14:37:24 +08:00
hpkoh
6bfa1ff61e [questions][feat] add encounters sorting (#458)
Co-authored-by: Bryann Yeap Kok Keong <bryannyeapkk@gmail.com>
Co-authored-by: Ai Ling <hong-ailing@hotmail.com>
Co-authored-by: Zhang Ziqing <zhangziqing9926@gmail.com>
Co-authored-by: Bryann Yeap Kok Keong <77266823+BryannYeap@users.noreply.github.com>
2022-10-31 12:56:45 +08:00
Bryann Yeap Kok Keong
91696571fe [offers][feat] Add multiple company analysis 2022-10-31 11:44:12 +08:00
Jeff Sieu
8fdea6b5bc [questions][feat] add similar questions check (#468)
Co-authored-by: wlren <weilinwork99@gmail.com>
2022-10-31 10:47:27 +08:00
hpkoh
1ea1afc8a2 [questions][feat] sort answers, comments (#457)
Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-31 02:48:56 +08:00
Stuart Long Chay Boon
bd3d1594b7 [offers][fix] fix error bug in delete comment 2022-10-31 00:34:32 +08:00
hpkoh
42e990f180 [questions][feat] add text search (#456) 2022-10-30 19:51:49 +08:00
Yangshun Tay
ed4cea1b11 [portal][feat] add locations 2022-10-30 16:52:00 +08:00
Keane Chan
27fb277a98 [resumes][feat] preserve filter count when unticked 2022-10-30 13:28:21 +08:00
Keane Chan
2a4045cbcc [resumes][fix] fix filter count bug 2022-10-30 10:03:57 +08:00
Stuart Long Chay Boon
a103879b5c [offers][feat] add isValidToken endpoint 2022-10-30 00:18:17 +08:00
Stuart Long Chay Boon
6bed79f1fd [offers][fix] change get endpoint to query instead of mutation 2022-10-29 21:46:22 +08:00
Su Yin
8dfe6b0bdd [resumes][feat] Add dynamic filters and unreviewed shortcut (#455) 2022-10-29 17:27:05 +08:00
Bryann Yeap Kok Keong
10a049f627 [offers][fix] Fix bug where full timers when getting sorted by monthly salary instead of TC 2022-10-29 12:18:10 +08:00
Stuart Long Chay Boon
288a585c1a [offer][feat] add isSaved feature to get profile endpoint 2022-10-28 15:48:03 +08:00
Keane Chan
632e79e9c6 [resumes][feat] auto-resolve resume when comments >= 5 2022-10-28 11:49:40 +08:00
Stuart Long Chay Boon
a1fc43242e [offer][feat] add remove from user profile endpoint 2022-10-28 02:25:25 +08:00
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