37 Commits

Author SHA1 Message Date
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
839eb31d65 [questions][fix] remove erronous migration file (#437) 2022-10-26 18:17:12 +08:00
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
79b62234ea Revert "[questions][feat] add text search (#412)" (#428)
This reverts commit f70caba3f20e4d224e6e86aad9b05b66375d8aa3.
2022-10-25 10:29:01 +08:00
f70caba3f2 [questions][feat] add text search (#412) 2022-10-25 01:22:05 +08:00
7589e9b078 [questions][feat] add list crud (#393)
Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-25 01:21:34 +08:00
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
471a28be8a [questions][feat] pagination (#410)
* [questions][feat] pagination

* [questions][feat] update aggregated data

* [questions][feat] add next cursors

* [questions][fix] fix bug

* [questions][chore] fix lint error

* [questions][chore] update cursor to support adapter

* [questions][feat] paginate browse queries

* [questions][ui] change page size to 10

* [question][refactor] clean up router code

* [questions][fix] fix type errors

* [questions][feat] add upvotes tracking

* [questions][chore] add default upovte value

Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-24 22:56:50 +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
2c7f349043 [offers][chore] Add a relative base value to the currency model in schema 2022-10-22 07:48:07 +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
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
a879639b53 [offers][chore] add migration sql and change naming conventions 2022-10-19 18:47:03 +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
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
0edcfb7af3 [offers][fix] Fix generate analysis API by deleting analysis if exists before creating 2022-10-15 05:18:52 +08:00
c12c318a0b [offers][chore] Save the generate offer profile analysis into db 2022-10-15 05:04:38 +08:00
490d11e249 [offers][chore] Add OffersAnalysis into database 2022-10-15 03:23:44 +08:00
b7e0d8ff90 [offers][feat] Create Offer Analysis API 2022-10-14 22:15:04 +08:00
fd67a20a2b [resumes][fix] Fix bugs in comments section (#363)
* [resumes][fix] left-align all comments

* [resumes][fix] add comment owner OP tag

* [resumes][fix] render multi-line text in comments

* [resumes][feat] add see more/less for overflow comments

* [resumes][refactor] prefix comments section with Resume

* [resumes][refactor] Refactor routers from reviews -> comments

* [resumes][refactor] use Vote enum in ResumesCommentVote

* [resumes][refactor] add comment count to tabs

* [resumes][refactor] combine resume-card and resume-body into resume-list-item

Co-authored-by: Terence Ho <>
2022-10-13 11:57:45 +08:00
a47c0761d2 [offers][chore] add user to replies and return error if profile not found 2022-10-13 00:23:03 +08:00
f88e8e8409 [offers][chore] Update migration records 2022-10-11 12:22:57 +08:00
d5edb6da60 [offers][feat] Add delete OfferProfile API 2022-10-11 12:19:01 +08:00
356eeb6954 [offers][feat] Add Offers Schema, View Offer Profiles API, and Create Offer Profile API (#353)
* [offers][fix] fix merge conflicts

* [offers][chore] Create prisma schema

* [offers][feat] add create endpoint for profiles

* [offers][feature] Create list offers API with filter functionality

* [offers][fix] fix bugs create profile bugs

* [offers][fix] fix create profile bugs

* [offers][feat] Add sorting functionality to list offers

Co-authored-by: Stuart Long Chay Boon <chayboon@gmail.com>
2022-10-10 19:50:56 +08:00
85d49ad4cd [questions][feat] add nested create encounter (#339)
Co-authored-by: Jeff Sieu <jeffsy00@gmail.com>
2022-10-10 13:08:02 +08:00
e78160d654 [questions][feat] integrate backend (#347) 2022-10-10 08:17:01 +08:00
a26bd49a96 [questions][feat] update encounters schema (#337) 2022-10-09 17:36:02 +08:00
a818e7d820 [questions][feat] add questions models (#323)
* [questions] [feat] add questions models

* [questions][feat] add question types

* [questions][chore] update schema naming scheme

* [questions][chore] update naming scheme

* [questions][chore] updating naming scheme

* [questions][feat] add location, role and comapny

* [questions][feat] update vote enum
2022-10-09 01:36:21 +08:00
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
b2b8f3b553 [resumes][feat] add resumeprofiles model (#316)
* [resumes][feat] add resumeprofiles model

* [resumes][fix] fix typo

* [resumes][chore] update migration file
2022-10-07 14:30:27 +08:00
9f61ecf9c2 [resumes][feat] submit resume mutation (#310) 2022-10-06 17:40:11 +08:00
7c40353f6b [resumes][feat] add resumes schema (#308)
* [resumes][feat] add resumes schema

* [resumes][feat] rename to ResumesSection

* [resumes][feat] update resume schema
2022-10-06 14:59:14 +08:00
64c5275062 [portal][feat] add company model 2022-10-06 10:49:09 +08:00
02f1ce8b96 chore: scaffold directories for each project 2022-10-02 19:42:25 +08:00
6d212b4561 feat: add todo example 2022-10-02 14:32:14 +08:00
523d91f920 feat: scaffold monorepo 2022-09-29 18:21:39 +08:00