-
Notifications
You must be signed in to change notification settings - Fork 456
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
Feat job seeker UI #555
Feat job seeker UI #555
Conversation
@VineeTagarwaL-code let me know if it requires more changes or not |
Cool pr, had a good chat in discord dms ... waiting for the small addition asked then will review the whole code |
this will be little time taking and constant request response will be needed, so please bear with me for the time being Thanks again ! |
@VineeTagarwaL-code |
next.config.js
Outdated
} | ||
}, | ||
{ | ||
protocol: 'https', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this
@@ -120,6 +147,7 @@ model Project { | |||
stack ProjectStack @default(OTHERS) | |||
userId String | |||
user User @relation(fields: [userId], references: [id], onDelete: Cascade) | |||
isFeature Boolean @default(false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is "isFeature"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prisma/seed.ts
Outdated
{ id: '1', name: 'Jack', email: '[email protected]' }, | ||
{ id: '2', name: 'Admin', email: '[email protected]', role: Role.ADMIN, onBoard: true }, | ||
{ id: '3', name: 'Hr', email: '[email protected]', role: Role.HR }, | ||
{ id: '1', name: 'Jack', email: '[email protected]', username: 'jackcoder' }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add role: Role.USER
src/actions/auth.actions.ts
Outdated
@@ -42,7 +42,8 @@ export const signUp = withServerActionAsyncCatcher< | |||
await prisma.$transaction( | |||
async (txn) => { | |||
const user = await txn.user.create({ | |||
data: { ...data, password: hashedPassword }, | |||
// todo username | |||
data: { ...data, password: hashedPassword, username: 'asdif' }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
username doesnt look good ig
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
username was present in figma. changing schema leads to require username whenever user is being created. we can remove username from schema or need to add username input in signup form.
@@ -0,0 +1,86 @@ | |||
import { useState } from 'react'; | |||
import { deleteExperience } from '@/actions/user.profile.actions'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is experience delete dialog box and the name of the file is accountdeletedialog
misleading ig
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry this file is mistakenly committed
this component is not used anywhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you have a file called expdeleteDialog in which you call deleteExp()
and same you are doing here, are you sure this is correct ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry this file is mistakenly committed
this component is not used anywhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the naming of this file is not proper it should aboutMe only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay changing the name of the file
in the profile edit section make the links as optional, the users wont be able to submit the form if they didnt filled every field, |
@VineeTagarwaL-code |
@VineeTagarwaL-code gggggg.mp4 |
Test it our for every edge case you can think of and write it out here in this form
etc |
@VineeTagarwaL-code |
no results yet ? |
@VineeTagarwaL-code |
yeah yeah why not |
build failed |
@VineeTagarwaL-code |
give a video ref demonstrating the whole flow |
and fix the conflicts too |
https://drive.google.com/file/d/1lX7gi_881D86Yk3wl52jBepf2ttHJIWG/view?usp=sharing here is the video images are not showing in the video because my bunny cdn free trial is expired. |
we can improve the code quality by getting rid of repititions of delete dialogs and stuff, but do it in a other pr merging this for now great work ! |
@VineeTagarwaL-code |
closes the issue #548
fffff.mp4