Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

337 feature add user bio section in profile page #357

Merged
merged 25 commits into from
Feb 23, 2023
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
29b8323
create initial ui structure of user details
JakubChorzepa Feb 7, 2023
4dfbd2d
make user bio seperate component
JakubChorzepa Feb 9, 2023
4112a44
add toggling line clamp on description by clicking
JakubChorzepa Feb 9, 2023
4edc37c
add edit profile modal functionality
JakubChorzepa Feb 10, 2023
40a7ea4
add form to EditProfileModal with two editable fields
JakubChorzepa Feb 15, 2023
6fb7db5
change description input to textarea in EditProfileModal
JakubChorzepa Feb 15, 2023
a629572
add skills chips in edit profile form
JakubChorzepa Feb 15, 2023
bf1d4d6
remove currentNumberOfProjects prop
JakubChorzepa Feb 15, 2023
7082590
move EditProfileModal to seperate page
JakubChorzepa Feb 16, 2023
a3413f2
remove EditProfileProps export from UserBio/index
JakubChorzepa Feb 16, 2023
757f6be
add user details to prisma schema, add details endpoint with GET func
JakubChorzepa Feb 18, 2023
c0feb13
move edit profile form to seperate component, handle undefined data
JakubChorzepa Feb 18, 2023
f108214
add fetching profile data and resolving null values in UserBio
JakubChorzepa Feb 19, 2023
0c219a6
revert results destructuring
JakubChorzepa Feb 19, 2023
439c4c3
add EditProfileForm validation
JakubChorzepa Feb 20, 2023
cec4566
remove temporary user details
JakubChorzepa Feb 20, 2023
374e4bd
add sending user details data to backend and handle receiving it
JakubChorzepa Feb 20, 2023
c124310
add sending user details data to backend and handle receiving it
JakubChorzepa Feb 20, 2023
aab4c6b
add updateUserDetails with type error in where statment
JakubChorzepa Feb 21, 2023
7051e42
fix type error at updateUserDetails
JakubChorzepa Feb 21, 2023
8239a2d
correct userDetailsSchema, finish POST method in api/user/details, re…
JakubChorzepa Feb 21, 2023
b7baaf6
show dash if profile there is no profile data
JakubChorzepa Feb 22, 2023
28942f5
change description validation to have less than 80 characters
JakubChorzepa Feb 22, 2023
1ec95e2
add submit button loading animation, redirect to /user/profile after …
JakubChorzepa Feb 22, 2023
3586215
Update components/EditProfileForm/EditProfileForm.interface.ts
rohitdasu Feb 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add sending user details data to backend and handle receiving it
  • Loading branch information
JakubChorzepa committed Feb 20, 2023
commit c124310f8306fd29859971fe642ea237dbb20260
1 change: 1 addition & 0 deletions pages/api/user/details.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,5 @@ type EditableUserDetails = {

async function updateUserDetails(args: EditableUserDetails, session: Session) {
const { title, description, skills } = args;
return undefined;
}