Skip to content

feat: add avatar editing support#2938

Draft
aofei wants to merge 1 commit intogoplus:devfrom
aofei:avatar
Draft

feat: add avatar editing support#2938
aofei wants to merge 1 commit intogoplus:devfrom
aofei:avatar

Conversation

@aofei
Copy link
Member

@aofei aofei commented Mar 11, 2026

Add avatar editing to the profile modal with a dedicated EditAvatarModal that lets users crop square images before upload.

Extend PATCH /user and the frontend user API types to accept avatar, then upload the exported PNG to Kodo and save the returned URL immediately from the avatar modal instead of bundling it into the rest of the profile form.

@gemini-code-assist

This comment was marked as outdated.

gemini-code-assist[bot]

This comment was marked as outdated.

Add avatar editing to the profile modal with a dedicated
`EditAvatarModal` that lets users crop square images before upload.

Extend `PATCH /user` and the frontend user API types to accept
`avatar`, then upload the exported PNG to Kodo and save the returned
URL immediately from the avatar modal instead of bundling it into the
rest of the profile form.

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant