Skip to content
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

Add Fallback for Missing Profile Pictures #679

Closed
1 of 9 tasks
NazireAta opened this issue Dec 14, 2024 · 1 comment
Closed
1 of 9 tasks

Add Fallback for Missing Profile Pictures #679

NazireAta opened this issue Dec 14, 2024 · 1 comment
Assignees
Labels
component: frontend About frontend priority: medium Medium priority

Comments

@NazireAta
Copy link
Contributor

📌 Implement a Feature

🏡 Component

  • Backend
  • Frontend
  • Mobile
  • Design
  • Documentation
  • Other

📚 Description

Currently, some components in the application either do not have a fallback for missing profilePicture fields or rely on a generic placeholder image (e.g., https://placehold.co/640x640). This leads to inconsistent behavior and design across the platform.

The task involves updating all components that display profile pictures to find, download, and use a consistent placeholder image (frontend/src/assets/placeholder_profile.png) whenever the profilePicture is missing, null, or undefined.

📋 Acceptance Criteria

  • All components that display user avatars/profile pictures should use frontend/src/assets/placeholder_profile.png as a fallback.
  • Components without an existing fallback should now properly display the placeholder image.
  • Verify consistency across the app to ensure no broken images are displayed.

📅 Deadline

  • Estimated hours of work: 4 hours
  • Implementation Deadline: December 14
  • Review Deadline: December 17

👁‍🗨 Reviewer

@asligook

@NazireAta
Copy link
Contributor Author

closed by #680

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: frontend About frontend priority: medium Medium priority
Projects
None yet
Development

No branches or pull requests

1 participant