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

Create a better UI for notification page #657

Merged
merged 6 commits into from
Jul 5, 2023

Conversation

Palakkgoyal
Copy link
Contributor

@Palakkgoyal Palakkgoyal commented Jul 4, 2023

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.
Screenshot (581)
Screenshot (582)
Screenshot 2023-07-05 000846

@narayan954 narayan954 linked an issue Jul 4, 2023 that may be closed by this pull request
Copy link
Owner

@narayan954 narayan954 left a 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());
Copy link
Owner

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?

@narayan954 narayan954 merged commit 6bc5202 into narayan954:master Jul 5, 2023
@Palakkgoyal
Copy link
Contributor Author

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.

@narayan954
Copy link
Owner

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?

@Palakkgoyal Palakkgoyal deleted the UINotification branch July 6, 2023 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Improve UI of Notification Page
2 participants