Commit Graph

28 Commits

Author SHA1 Message Date
Zhang Ziqing
9ee151342e [offers][fix] fix numOfOtherOffers calibration (#538) 2022-11-08 16:16:37 +08:00
Bryann Yeap Kok Keong
a47b63e7a1 [offers][chore] Add numberOfOtherOffers field for DashboardOffer 2022-11-08 15:10:30 +08:00
Bryann Yeap Kok Keong
31a166e6e0 [offers][refactor] Calculate overall and company analyses asychronously (#523)
* [offers][refactor] Calculate overall and company analyses asychronously

* [offers][refactor] Calculate overall and company analyses asychronously
2022-11-07 15:59:36 +08:00
Bryann Yeap Kok Keong
bd9a30f1f8 [offers][chore] Add location field to dashboard offer 2022-11-07 13:49:29 +08:00
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
32302e33a5 [offers][chore] Provide more information to frontend in AnalysisUnit 2022-11-04 12:54:32 +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
Bryann Yeap Kok Keong
4b327b5132 [offers][fix] Added more robust checks to distinguish full time and interns 2022-11-03 18:04:45 +08:00
Bryann Yeap Kok Keong
d708b42970 [offers][fix] Fix profile showing wrong offers after editing 2022-11-03 17:38:29 +08:00
Bryann Yeap Kok Keong
b3eb2f6d6b [offers][chore] Add profileId to AnalysisOffer 2022-11-03 16:13:32 +08:00
Bryann Yeap Kok Keong
ca17ef9162 [offers][chore] Change company field in AnalysisUnit 2022-11-03 11:56:25 +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
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
Bryann Yeap Kok Keong
91696571fe [offers][feat] Add multiple company analysis 2022-10-31 11:44:12 +08:00
Stuart Long Chay Boon
521ade6cf0 [offers][fix] sort profiles reverse chronological order 2022-10-31 01:28:09 +08:00
Zhang Ziqing
e152de2284 [offers][feat] save to user profile (#462) 2022-10-30 23:30:24 +08:00
Stuart Long Chay Boon
288a585c1a [offer][feat] add isSaved feature to get profile endpoint 2022-10-28 15:48:03 +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
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
Ai Ling
77d0714e33 [offers][fix] Refactor and fix offer analysis (#413) 2022-10-23 01:35:03 +08:00
Bryann Yeap Kok Keong
5e6482aa2e [offers][fix] Add previous companies to analysis DTO 2022-10-22 13:44:36 +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
13f40ab6ae [offers][chore] Add baseCurrency and baseValue to Valuation DTO 2022-10-22 08:01:29 +08:00
BryannYeap
fc93596c39 Return currency with income in analysis top offers 2022-10-21 13:46:36 +08:00
BryannYeap
0311ee3e6a [offers][chore] Add location to experience in the back end 2022-10-20 20:02:19 +08:00
Stuart Long Chay Boon
a879639b53 [offers][chore] add migration sql and change naming conventions 2022-10-19 18:47:03 +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