-
Notifications
You must be signed in to change notification settings - Fork 3
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 upload endpoint #77
Conversation
I have tested the upload image function, and it is working. However, I think you need to wait until @hhchinh2002 completed his user service integration, and you also want to polish the upload modal, can consider using the |
And another thing is the current branch is actually not working due to merge conflict and the database schema structure is accidentally changed by someone... Hence when you debug, please only run the user service and frontend. I will fix the problems when the user service integration is done. |
Tested uploading a profile pic, the upload is functioning correctly, but perhaps you forgot to update the SideBar to also include the new avatar update. |
actually yall can merge this first and I'll update the sidebar to update user new avatar later in my PR |
Ermm sure, @WillCWX can you pull from master and resolve the merge conflicts before merging the PR :) |
done, need approval, thanks |
Pull Request
Description
Creates an upload endpoint with (uploadthing)[https://uploadthing.com/] for profile pictures
Adds
uploadFiles
utility thatProfileEditor
uses duringhandleSubmit
to update profile details.Notes:
uploadthings
added as a dependency,yarn install
requireduploadthing
, might be sufficientRelated Issue(s)
Screenshots (if applicable)
Checklist
master
or any destination branch.Additional Notes/References