Skip to content

Fix profile image uploads - #254

Closed
arclabs561 wants to merge 5 commits into
teal-fm:mainfrom
arclabs561:fix/profile-image-uploads
Closed

arclabs561 wants to merge 5 commits into
teal-fm:mainfrom
arclabs561:fix/profile-image-uploads

Conversation

@arclabs561

@arclabs561 arclabs561 commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Onboarding and profile editing could send the wrong media type or try to upload a saved image during a text-only edit. Share the picker and profile writer so both screens preserve saved blobs and use the current record CID for updates. Users can undo a picked avatar or banner.

Tests cover MIME detection, the 1 MB limit, and preserving a saved avatar while replacing the banner. Physical-device upload and crop behavior still need verification. Follow-up to #99.

Summary by CodeRabbit

  • New Features
    • Select or replace avatar and banner images during onboarding and profile editing, and undo each selection before saving.
    • Preview selected images before saving profile changes.
    • Upload PNG and JPEG images up to 1 MB.
  • Bug Fixes
    • Image-selection and profile-save errors are displayed, and failed saves can be retried.
    • Escape-key handling now avoids errors when the document is unavailable.

@arclabs561 arclabs561 changed the title Upload picked profile images with the right media type Fix profile image uploads Nov 22, 2026
coderabbitai[bot]

This comment was marked as outdated.

@mmattbtw

Copy link
Copy Markdown
Member

see: #255 (comment)

@mmattbtw mmattbtw closed this Nov 23, 2026
@teal-fm teal-fm deleted a comment from coderabbitai Bot Nov 24, 2026
@teal-fm teal-fm deleted a comment from coderabbitai Bot Nov 24, 2026
@teal-fm teal-fm deleted a comment from coderabbitai Bot Nov 24, 2026
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.

2 participants