AOSSIE-Org / AOSSIE-Org/Ell-ena

FEATURE REQUEST: Add Profile Avatar Upload and Sync Avatar Updates Across App

Open
#102 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
Dart
Stars
54
Forks
110
PR merge metrics
No merged PRs in 30d

Description

### Is your feature request related to a problem?

- [x] Yes, it is related to a problem

### Describe the feature you'd like

🌟 Feature Description

Add profile avatar upload, update, and global synchronization support so users can personalize their profiles and see avatar changes reflected across the entire app.

🔍 Problem Statement

Currently, users either cannot change their profile avatar or, after updating it, the new avatar is not reflected consistently across all screens. This results in stale avatars appearing in places like chats, dashboards, and team member lists, leading to an inconsistent user experience.

🎯 Expected Outcome

When a user updates their profile avatar:

The user can:

- Upload a new profile photo
- Preview the image before saving
- Remove an existing avatar
- The avatar image is stored securely (e.g. Supabase Storage)
- The updated avatar:
- Is saved in the user profile (avatar_url)
- Updates immediately across the entire app
- Does not require app restart or re-login
- All screens using the user avatar reflect the latest image automatically

📷 Screenshots and Design Ideas

Display:

- Profile image when available
Image

- Fallback to user initials with a deterministic background color
Image

- Provide “Change Photo” and “Remove” actions
Image

Handle loading and error states gracefully

📋 Additional Context

- Avatar updates should propagate via a central user profile state
- All screens should rely on the same avatar_url source
- Cached avatar images should be invalidated if necessary

Relevant screens affected:

- Edit Profile
- Profile
- Chat
- Team Members
- Dashboard

This feature improves personalization, consistency, and overall user experience.

### Record

- [x] I agree to follow this project's Code of Conduct
- [x] I want to work on implementing this feature

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.