Commit Graph

27 Commits

Author SHA1 Message Date
Yangshun
d2fdffbace portal: update deps 2024-06-25 09:07:03 +08:00
Yangshun
167bd5e308 chore: pin turbo@1.5.6 2024-06-25 08:20:03 +08:00
Yangshun
0801d64457 misc 2024-06-07 16:00:10 +08:00
Yangshun Tay
316c696b63 [portal][misc] add US companies 2022-11-09 13:17:39 +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
Stuart Long Chay Boon
ef5892a0d6 [offers][feat] add random name generator 2022-10-24 20:56:28 +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
Bryann Yeap Kok Keong
d200793d20 [offers][feat] Allowing showing income based on selected salary 2022-10-21 21:50:01 +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
7b51ee7e88 [resumes][feat] drag and drop for file upload (#378)
* [resumes][feat] drag and drop for file upload

* [resumes][chore] use .tsx instead for landing page

* [resumes][feat] use expandable text for additionalnfo

* [resumes][refactor] clean up submit form

* [resumes][fix] fix file upload error

* [feat][resumes] change button to Submit Resume

* [resumes][fix] fix expandable text
2022-10-14 21:47:05 +08:00
Keane Chan
384981716d [resumes][feat] upload pdf file into file storage (#321)
* [resumes][feat] upload pdf file into file storage

* [resumes][fix] fix file upload failure

* [resumes][chore] update .env.local.example

* [resumes][fix] process file transfer over next.js

* [resumes][feat] file upload

* [resumes][chore] cleanup

* [resumes][feat] add GET method for file-storage API

* [portal[chore] Update env.example file

* [resumes][chore] cleanup

* [portal][chore] update yarn lock file
2022-10-09 10:40:22 +08:00
Peirong
2e947f5fb0 [resumes][feat] Fetch resume details from database (#322)
* [resumes][feat] Add resume details router

* [resumes][feat] Change review page to dynamic routing

* [resumes][feat] Toggle resume star button

* [resumes][refactor] Revert routers to User model
2022-10-07 23:33:24 +08:00
Terence
1441fc90af [resumes][feat] Add Resume Review Page (#306)
* [resumes][feat] WIP: Add scaffold

* [resumes][refactor] Shift comments section to its own component

* [resumes][feat] Add resume pdf view

* [resumes][feat] Add CommentsForm

* [resumes][refactor] Refactor comments form

* [resumes][fix] Fix viewport height not set

* [resumes][feat] Add form validation

* [resumes][refactor] Remove unused CommentsSection

* [resumes][fix] Manually calculate height for pdf view instead

* [resumes][refactor] Remove @tih/ui styles.scss import

Co-authored-by: Wu Peirong <wupeirong294@gmail.com>
Co-authored-by: Terence Ho <>
2022-10-06 20:09:40 +08:00
Yangshun Tay
64c5275062 [portal][feat] add company model 2022-10-06 10:49:09 +08:00
Keane Chan
3a4183cd48 [resumes][feat] submit resume form (#307)
* [resumes][feat] Add submit form

* [resumes][feat] add submit and clear buttons

* chore: add react-hook-form

* [resumes][[feat] add validations for resume form
2022-10-05 21:59:20 +08:00
Yangshun Tay
e93cc73d51 ui: add components 2022-10-04 14:23:20 +08:00
Yangshun Tay
842837fb4e storybook: add Button and Spinner examples 2022-10-04 09:04:08 +08:00
Yangshun Tay
de33d38e1b ui: share tailwind config across packages 2022-10-03 20:33:35 +08:00
Yangshun Tay
06bdab6440 chore: add prettier-plugin-tailwindcss 2022-10-01 09:36:27 +08:00
Yangshun Tay
7f621eb8a2 website: move into monorepo 2022-10-01 08:22:46 +08:00
Yangshun Tay
089625715d chore: upgrade Yarn 2022-10-01 07:43:29 +08:00
Yangshun Tay
ef83bcc0b2 chore: regenerate lock files 2022-10-01 07:04:08 +08:00
Yangshun Tay
fa1dc71a36 chore: fix package lock 2022-09-30 08:53:29 +08:00
Yangshun Tay
dee60943d0 feat: add application shell 2022-09-29 20:14:50 +08:00
Yangshun Tay
523d91f920 feat: scaffold monorepo 2022-09-29 18:21:39 +08:00
Yangshun Tay
1e832774c7 website: use clsx instead of classnames 2022-08-04 10:25:06 +08:00
Yangshun
835eb4d830 website: upgrade to docusaurus@2.0.0-beta.18 2022-04-04 06:56:43 +08:00