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

Edit Profile in UserProfile #84

Open
aitikgupta opened this issue Apr 8, 2021 · 6 comments · May be fixed by #140
Open

Edit Profile in UserProfile #84

aitikgupta opened this issue Apr 8, 2021 · 6 comments · May be fixed by #140
Assignees
Labels
client Related to client-side code (Frontend) enhancement New feature or request

Comments

@aitikgupta
Copy link
Member

We can reuse CreatePost with the right handler to Edit a user's profile Bio and Profile Picture.
Currently #82 does not implement this yet.

@aitikgupta aitikgupta added enhancement New feature or request client Related to client-side code (Frontend) labels Apr 8, 2021
@Sameerkash
Copy link
Member

Hey!, me and @suhanichawla would like to work on this. Please assign us.

@aitikgupta
Copy link
Member Author

Sure @Sameerkash!
Relevant entrypoint would be https://github.com/MLH-Fellowship/SocioMark/blob/main/frontend/src/Components/UserProfile.js

And this specific line:

<CreatePost handleCreatePost={handleCreatePost} />

@Sameerkash
Copy link
Member

@aitikgupta Can we use this endpint? @router.patch("/update", response_description="Update user from the database")

@Sameerkash
Copy link
Member

And we're a bit stuck with the styling, what resources should we use? we're guessing its tailwind, but not entirely sure as we don't see any CSS. Could you help? @aitikgupta

@aitikgupta
Copy link
Member Author

Yes, it's Tailwind! Their docs are pretty extensive I believe.

Ping @bodhisha, could you send some useful links?

@bodhisha
Copy link
Member

@Sameerkash Yea.. Its same as normal css just that we use shortcuts inside the classname="" of div. Say, if we need to add padding to a div just add classname="p-4". Similarly everything works.. Their official documentation is pretty good..
If you need any help with this.. Just let me know

@suhanichawla suhanichawla linked a pull request Apr 16, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client Related to client-side code (Frontend) enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants