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

Improve user profile page #73

Open
vinsdragonis opened this issue Aug 13, 2022 · 18 comments
Open

Improve user profile page #73

vinsdragonis opened this issue Aug 13, 2022 · 18 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@vinsdragonis
Copy link
Owner

What is needed?

The current user profile page seems to be pretty minimalistic. It would be nice if it could both show more details about the user and also display that user's posts on their profile page.

What needs to be done?

  • Modify the client-side page, and add required components to display as many essential details about a user as possible.
  • Show that users posts on their profile page.
@vinsdragonis vinsdragonis added enhancement New feature or request good first issue Good for newcomers labels Aug 13, 2022
@Lydia02
Copy link

Lydia02 commented Aug 14, 2022

Hello, I would love to solve it
Did you mean this user profile UI?
osp

@vinsdragonis
Copy link
Owner Author

That panel certainly looks like it can get some enhancement. But what we need is more than just that. If you've noticed, you can currently only view your profile when you click on your profile pic.

We want to create a page that can similarly display other users' profiles and their posts. You could consider how Facebook designed its user profile pages. While we don't want to make a replica of that, you could consider that as a reference.

@vinsdragonis
Copy link
Owner Author

If you are interested, then you can go ahead with it @Lydia02

@Lydia02
Copy link

Lydia02 commented Aug 15, 2022

Great!
I would work on it.

@Lydia02
Copy link

Lydia02 commented Aug 15, 2022

The task is to create the a profile page, which will similarly show other users' post and profile.

Task outline

  1. Edit the profile.jsx and design the UI.
  2. Add the home features i.e to be able to view other users' post and profile.
    I am willing and ready to learn. Anyone willing to work me through this project?
    I am just learning reactJs.
    Thank you.

@vinsdragonis
Copy link
Owner Author

Yes, you're right on that. But in order to fetch other user's data, you'll need to modify the routes on the server side. Then you can fetch it and display on the client application.

@Sam-Takahashi
Copy link
Contributor

Hi. I'm trying to improve my reactJs skills. I mainly dabble in the frontend. I'd love to offer any help I can. @Lydia02

@Lydia02
Copy link

Lydia02 commented Aug 15, 2022

Okay, Great!
Hello @Sam-Takahashi, I don't mind.
Let's get it done together.

@vinsdragonis
Copy link
Owner Author

Hi. I'm trying to improve my reactJs skills. I mainly dabble in the frontend. I'd love to offer any help I can. @Lydia02

Sure, you can collaborate with @Lydia02 on this

@Lydia02
Copy link

Lydia02 commented Aug 15, 2022

Hello @Sam-Takahashi I have reached out already. Kindly check your mail.
Thank you.

@Lydia02
Copy link

Lydia02 commented Aug 15, 2022

Yes, you're right on that. But in order to fetch other user's data, you'll need to modify the routes on the server side. Then you can fetch it and display on the client application.

Hello @vinsdragonis ,in order to fetch other users' data, we would need the dotenv file or let me know what you think

@vinsdragonis
Copy link
Owner Author

Yes, you're right on that. But in order to fetch other user's data, you'll need to modify the routes on the server side. Then you can fetch it and display on the client application.

Hello @vinsdragonis, in order to fetch other users' data, we would need the dotenv file or let me know what you think

Yes, you will need the dotenv file for this. I think you could create a separate copy of the DB on your local machine if possible. Else, I can share the MONGO_URL with you.

@Lydia02
Copy link

Lydia02 commented Aug 15, 2022

You can kindly share the MONGO_URL with me
Thanks

@vinsdragonis

This comment was marked as resolved.

@vinsdragonis
Copy link
Owner Author

@Lydia02 @Sam-Takahashi issue #72 involves part of what you're currently working on. I would request you to focus on that as well as it can solve both issues, and analyzing the work later during review becomes easier.

@Lydia02
Copy link

Lydia02 commented Aug 17, 2022

@Lydia02 @Sam-Takahashi issue #72 involves part of what you're currently working on. I would request you to focus on that as well as it can solve both issues, and analyzing the work later during review becomes easier.

Okay Great!.
would do that also

@vikashjajra
Copy link
Contributor

Yes, you're right on that. But in order to fetch other users' data, you'll need to modify the routes on the server side. Then you can fetch it and display it on the client application.

Hello @vinsdragonis, in order to fetch other users' data, we would need the dotenv file let me know what you think

Yes, you will need the dotenv file for this. I think you could create a separate copy of the DB on your local machine if possible. Else, I can share the MONGO_URL with you.

How do I create a copy of DB? or copy all the data to my own mongo_url so that whatever changes I make, won't break the original database, if that makes any sense?

@vinsdragonis
Copy link
Owner Author

Yes, you're right on that. But in order to fetch other users' data, you'll need to modify the routes on the server side. Then you can fetch it and display it on the client application.

Hello @vinsdragonis, in order to fetch other users' data, we would need the dotenv file let me know what you think

Yes, you will need the dotenv file for this. I think you could create a separate copy of the DB on your local machine if possible. Else, I can share the MONGO_URL with you.

How do I create a copy of DB? or copy all the data to my own mongo_url so that whatever changes I make, won't break the original database, if that makes any sense?

Hey! You can't replicate the whole database. And making your own database copy should be possible provided you've got through all the schemas we have until now.
I, however, would highly recommend making the copy as a local version for experimental purposes only and switching back to the original one right after that, provided the code works fine. You can do this by changing the domain of the url to https://localhost:3000.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants