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

Integrate Avatar Management with Frontend #149

Open
15 tasks
mahid797 opened this issue Dec 31, 2024 · 2 comments
Open
15 tasks

Integrate Avatar Management with Frontend #149

mahid797 opened this issue Dec 31, 2024 · 2 comments
Assignees
Labels
Frontend Frontend Related Issue New Feature New feature to be implemented UX/UI Change Highlights changes affecting user experience or interface design Wontfix This will not be worked on
Milestone

Comments

@mahid797
Copy link
Collaborator

Description

Integrate the avatar management backend with the frontend to allow users to upload, update, and display their avatars. This includes updating the existing profile page to fetch and display the avatar and adding functionality for uploading a new avatar.


Tasks

  • Fetch and Display Avatar:

    • Connect the profile page to the backend GET endpoint to fetch the avatar_url.
    • Display the user's avatar or a default placeholder if no avatar exists.
  • Upload and Update Avatar:

    • Add a file input or drag-and-drop area for users to select and upload an avatar.
    • Connect the input to the backend POST endpoint for uploading/updating avatars.
    • Show a loading indicator during the upload process.
    • Update the displayed avatar dynamically after a successful upload.
  • UI Updates:

    • Ensure the UI design aligns with the current profile page aesthetic.
    • Add error handling for failed uploads (e.g., invalid file type, server errors) using toasts or inline error messages.
    • Display a confirmation message or toast upon successful upload.
  • Edge Cases:

    • Handle cases where the user cancels an upload.
    • Prevent users from uploading files exceeding the allowed size or unsupported formats.

Notes

@mahid797 mahid797 added New Feature New feature to be implemented Frontend Frontend Related Issue UX/UI Change Highlights changes affecting user experience or interface design labels Dec 31, 2024
@mahid797 mahid797 added this to the 1.0 milestone Dec 31, 2024
@Sapna127
Copy link

Hey, I would like to work on this issue. pleas assign it to me.

@gorkem-bwl
Copy link
Contributor

@Sapna127 thanks, please go ahead. Since the codebase changes frequently, please make sure you have a good understanding of the code structure before sending a PR.

@mahid797 mahid797 added the Wontfix This will not be worked on label Jan 15, 2025
@mahid797 mahid797 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 16, 2025
@mahid797 mahid797 reopened this Jan 16, 2025
@mahid797 mahid797 reopened this Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend Frontend Related Issue New Feature New feature to be implemented UX/UI Change Highlights changes affecting user experience or interface design Wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants