-
Notifications
You must be signed in to change notification settings - Fork 7
update user #185
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
base: main
Are you sure you want to change the base?
update user #185
Conversation
| @@ -0,0 +1,43 @@ | |||
| import React from 'react'; | |||
| import { Box, LinearProgress } from '@mui/material'; | |||
| import './PasswordStrength.scss'; | |||
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.
reorder the imports, style files should be the last ones
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.
קשור לאפרת הרטמן
| } | ||
|
|
||
| .password-strength-meter { | ||
| height: 10px; |
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.
replace with %
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.
קשור לאפרת הרטמן
| height: 10px; | ||
| border-radius: 5px; | ||
| right: 3%; | ||
| background-color: #D3D3D3; |
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.
colors should be saved in variable, fix all occurrences
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.
קשור לאפרת הרטמן
| } | ||
|
|
||
| .password-strength-message { | ||
| margin-top: 1px; |
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.
replace with %
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.
קשור לאפרת הרטמן
| @@ -0,0 +1,149 @@ | |||
| import React, { useEffect, useState } from 'react'; | |||
| import { useDispatch, useSelector } from 'react-redux'; | |||
| // import ReCAPTCHA from 'react-google-recaptcha'; | |||
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 all comments
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.
בקוד של אפרת יש את זה כשזה עובד. זה אמור להיות באמת בקוד. למחוק? או להשאיר בהערה?
| { value: 1, text: "edit user profile", iconSrc: '/images/pencil.svg' }, | ||
| { value: 2, text: "manage notifications", iconSrc: 'images/notification.svg' }, | ||
| ]} | ||
| title="edit user" |
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.
move all texts to constants file
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.
ok
| return next(error); | ||
| } | ||
| if (same) { | ||
| user.password = "****"; |
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.
why is the password constant?
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.
קשור לאפרת הרטמן
No description provided.