-
-
Notifications
You must be signed in to change notification settings - Fork 184
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
Create a better UI for notification page #657
Conversation
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.
looks good to me!
just one doubt i have expressed in review comment.
Merging this
@@ -57,7 +57,7 @@ const SignupScreen = () => { | |||
if (!regex.test(name)) { | |||
setUsernameAvailable(false); | |||
} else { | |||
debounce(findUsernameInDB); | |||
debounce(findUsernameInDB()); |
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.
aren't we passing function reference to the debounce function instead of actually calling the function?
Yes, I did this intentionally, cause I checked that the debounce function is not calling the findUsername function. It was just a quick fix but, we need to make it correct. |
It's correct now, right? |
This PR closes issue no. #636
The badge above shows the number of notifications.
I have given styling to the name of friend-request sender. But, that will not show up in this notif as I have updated the notif doc and make it such that it will recieve the sender name seperately so that user can click on it and check their profile and the notif in the screenshot is based on old doc.