440 Commits

Author SHA1 Message Date
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
3d09cf4e12 [offers][feat] show location in offers table 2022-11-07 15:35:59 +08:00
cc22f23d97 [portal][fix] fix incorrect page_view events 2022-11-07 15:16:47 +08:00
3fe4f760ac [resumes][feat] update icon image 2022-11-07 14:43:15 +08:00
6926aa41cd [questions][fix] fix encounter sorting with text (#522) 2022-11-07 14:08:44 +08:00
bd9a30f1f8 [offers][chore] Add location field to dashboard offer 2022-11-07 13:49:29 +08:00
5afb0506d2 [offers][refactor] Abstract generation of analysis unit into a function 2022-11-07 04:07:14 +08:00
058765bf47 [offers][fix] Fix out of bounds bug when calculating analysis percentile 2022-11-07 03:34:53 +08:00
a421a0d98a [offers][fix] Fix analysis bug that causes percentile to go negative 2022-11-07 03:12:44 +08:00
cc035387d7 [offers][fix] Make analysis more accurate by omitting duplicate salary values when calculating percentiles 2022-11-07 02:51:49 +08:00
a7c9f58ef3 [questions][fix] fix upvotes (#521) 2022-11-07 01:51:22 +08:00
ffbb6a29f2 [questions][fix] remove default type when creating question 2022-11-07 01:51:33 +08:00
0841e5ff76 [offers][refactor] Make companyId param optional for getting similar offers 2022-11-07 00:59:53 +08:00
e32341eed2 [offers][fix] Fix company offer analysis being compared to general highest offer 2022-11-07 00:49:51 +08:00
96b1a4c23f [offers][fix] add info to about page (#520)
* [offers][fix] add info to about page

* [offers][feat] add feedback form
2022-11-06 18:44:11 +08:00
6792e20f0f [questions][fix] fix expanded typeaheads (#516) 2022-11-06 18:03:08 +08:00
c10aa15347 [portal][feat] add homepage 2022-11-06 17:17:50 +08:00
e840b3bf08 [questions][chore] add google analytics events (#513) 2022-11-06 16:40:53 +08:00
d6b03a5b46 [questions][feat] add about page 2022-11-06 16:39:46 +08:00
5625ef3f04 [resume][feat] add team members to about page 2022-11-06 16:31:37 +08:00
e1e585df23 [questions][ui] restyle landing, question pages (#517) 2022-11-06 16:11:22 +08:00
f752264101 [questions][feat] add theory questions (#519) 2022-11-06 16:10:13 +08:00
c2288ba69c [resumes][feat] Add top 10 shortcut (#518) 2022-11-06 16:04:00 +08:00
ec97ee992a [offers][feat] add about page 2022-11-06 11:27:25 +08:00
d1fc6e559c [resumes][refactor] use JobTitlesTypeahead instead 2022-11-06 11:03:14 +08:00
98465a6128 [portal][feat] pass isLoading states to typeahead components 2022-11-06 10:42:10 +08:00
c0e9b6c138 [resumes][refactor] use CountriesTypeahead instead 2022-11-06 10:05:13 +08:00
79500b8a35 [portal][feat] add ranking to job titles typeahead 2022-11-06 09:33:56 +08:00
ac215dcbff [portal][feat] improve country typeahead ranking 2022-11-06 09:16:34 +08:00
30c68afed6 [ui][typeahead] add optional minQueryLength parameter 2022-11-06 06:19:10 +08:00
d311d8dd96 [questions][feat] update threshhold for search (#515)
* [questions][feat] update text search

* [questions][feat] update threshhold for search
2022-11-06 02:40:51 +08:00
075f7bfba8 [questions][fix] ui fixes and enhancements (#514)
Co-authored-by: wlren <weilinwork99@gmail.com>
2022-11-06 02:14:58 +08:00
8f4246da6d [questions][feat] update text search (#511) 2022-11-06 01:11:51 +08:00
1ebd32ca2f [resumes][feat] migrate to use location db and role enum (#506)
* [resumes][feat] use role and countries typeaheads

* [resumes][feat] add location and role typeaheads

* [resumes][chore] locationId migration

* [resumes][fix] update upsert to take in locationId

* [resumes][refactor] use typeahead for browse filters

* [resumes][feat] use role and countries typeaheads

* [resumes][chore] locationId migration

* [resumes][feat] fetch location on resumes page

* [resumes][feat] enable edit resume form

* [resumes][misc] update namings and oredrings

* [resumes][feat] add default locations

* [resumes][fix] truncate title text in resume card

* [resumes][fix] filter out selected options

* [resumes][feat] add more countries to default search

* [resumes][feat] update default roles

* [resumes][chore] revert removal of value

* [resumes]feat] add default location for migration file

* [resumes][fix] fix merge conflicts

Co-authored-by: Wu Peirong <wupeirong294@gmail.com>
2022-11-05 21:56:46 +08:00
9815d125ff [offers][feat] Update feature page (#512) 2022-11-05 21:41:14 +08:00
8e15d49ad0 [portal][refactor] make comments appearance more consistent across offers and resume reviews 2022-11-05 19:25:30 +08:00
2979950c19 [offers][fix] Fix form typeaheads (#509) 2022-11-05 18:27:06 +08:00
ec1487b33b [resumes][refactor] make height calculation more robust 2022-11-05 18:04:44 +08:00
762b55db4f [resumes][refactor] tweak resume review page UI 2022-11-05 17:23:38 +08:00
6d3c29e6c4 Revert "[resumes][refactor] tweak resume review page UI"
This reverts commit 29abea1cd95056878735777af04391f46a0f48d3.
2022-11-05 16:28:03 +08:00
29abea1cd9 [resumes][refactor] tweak resume review page UI 2022-11-05 16:18:46 +08:00
849fa867b2 [portal][chore] update education field, education lebel, question type constants 2022-11-05 15:19:00 +08:00
32bbb45f4e [offers][feat] Add form validation for typeaheads (#508) 2022-11-05 14:33:44 +08:00
cd4ed504df [offers][fix] Fix user's offers appearing in own top relevant offers during analysis 2022-11-05 08:10:15 +08:00
fec915cffa [offers][feat] Tweak UI and add View More button to OEA (#507)
* [offers][feat] Tweak UI and minor refactoring

* [offers][feat] Add view more button to OEA
2022-11-05 00:57:09 +08:00
f4e5d2ddb1 [portal][chore] update job titles enum 2022-11-04 19:56:40 +08:00
ed4b438d33 [questions][chore] add google analytics id (#498)
* [questions][chore] add google analytics id

* [questions][fix] remove comment
2022-11-04 19:07:10 +08:00
9cb8ab3e15 [resumes][feat] embed marketing video 2022-11-04 14:56:18 +08:00
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
32302e33a5 [offers][chore] Provide more information to frontend in AnalysisUnit 2022-11-04 12:54:32 +08:00