AOSSIE-Org / AOSSIE-Org/Ell-ena

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

Offen
#102 6 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Dart
Sterne
54
Forks
110
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.