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

Feature Request: Display username, email address, and profile photo from firebase authentication #15

Open
muzammildafedar opened this issue Sep 30, 2024 · 14 comments · May be fixed by #29
Assignees
Labels
feature request New features for Udayah hacktoberfest Issues that can win you some cool swags! help wanted Extra attention is needed

Comments

@muzammildafedar
Copy link
Owner

Description:
We need to implement a feature in the Flutter app that displays the authenticated user's profile information, including:

  • Username (display name)
  • Email address
  • Profile photo (if available)

This data should be fetched from Firebase Authentication once the user has successfully logged in and then displayed in the UI.

Acceptance Criteria:

  • Retrieve user data (display name, email, and profile photo URL) from Firebase Authentication after login.
  • Display the username and email address in the designated fields within the profile section of the app.
  • Show the user's profile photo (if available) in an avatar or circular image widget.
  • If the user does not have a profile photo, display a default avatar placeholder.

Tasks:

  1. Fetch user details from FirebaseAuth.
  2. Implement the UI to show the username, email, and profile photo.
  3. Handle cases where the profile photo is not available.

References:

@muzammildafedar muzammildafedar added feature request New features for Udayah hacktoberfest Issues that can win you some cool swags! labels Sep 30, 2024
@sowunmi-mayowa
Copy link

I can handle this if it was just for the web (react). Now that it is flutter i don't want to start what i cant finish

@muzammildafedar
Copy link
Owner Author

I can handle this if it was just for the web (react). Now that it is flutter i don't want to start what i cant finish

Thank you for your interest in contributing to Udayah. If you’re not familiar with Flutter, you’re welcome to contribute to the Node.js side. I believe your contributions will be incredibly valuable to Udayah.

@muzammildafedar muzammildafedar added help wanted Extra attention is needed and removed hacktoberfest Issues that can win you some cool swags! labels Oct 1, 2024
@xkaper001
Copy link

Hi @muzammildafedar,

I noticed that this issue is unassigned, and I'd love to work on it! I'm familiar with the technology used in this project and I believe I can help resolve it.

Could you please assign this issue to me?

Thank you!

@Atharva-Werulkar
Copy link

Hello,

I'd love to work on this issue! I have significant experience with Firebase, having integrated Firebase Authentication and Firestore in multiple projects. Implementing user profile features, such as fetching and displaying user data (display name, email, profile photo), is something I've worked on before.

I will retrieve the user's information from Firebase Authentication upon login and display the data in the app's profile section. I'll also ensure that a default avatar is shown when the user does not have a profile photo.

Looking forward to contributing!

Best regards,
Atharva Werulkar

@muzammildafedar
Copy link
Owner Author

Thanks for your interest, @Atharva-Werulkar and @xkaper001 . This issue has been assigned to @xkaper001. @Atharva-Werulkar there is an alignment issue when the we select the emails. You can observe the "status" and the "added by" section. For this, you will need to create a new issue. If you would like to add any new features or any enhancement , we always welcome your contributions. Looking forward to your contributions, guys!

@Atharva-Werulkar
Copy link

Atharva-Werulkar commented Oct 3, 2024 via email

@xkaper001
Copy link

xkaper001 commented Oct 3, 2024

@muzammildafedar, I just had a query regarding this issue.

For integrating user details from their google account into the flutter app do I have to create my own project in my firebase console, connect it with the app and then work on it? :')

@muzammildafedar
Copy link
Owner Author

@muzammildafedar, I just had a query regarding this issue.

For integrating user details from their google account into the flutter app do I have to create my own project in my firebase console, connect it with the app and then work on it? :')

Yes, you have to connect your own firebase to the app.

ref: https://firebase.google.com/docs/flutter/setup?platform=web

@muzammildafedar
Copy link
Owner Author

@Atharva-Werulkar would you like to take the issue #22

@Atharva-Werulkar
Copy link

Yes,
You can assign the issue to me

@muzammildafedar
Copy link
Owner Author

Yes, You can assign the issue to me

Not able to assign you. Could you please comment on #22 issue ?

@xkaper001
Copy link

@muzammildafedar can you please add hacktoberfest tag to this issue.

@xkaper001
Copy link

also @muzammildafedar,

Display the username and email address in the designated fields within the profile section of the app.

I don't see a profile section in the app. where should I make the profile section? Should I add another tab in the NavigationPanel by adding one more item to NavigationItems or a constant section on the topright of the page? (like google uses).

@muzammildafedar muzammildafedar added the hacktoberfest Issues that can win you some cool swags! label Oct 7, 2024
@muzammildafedar
Copy link
Owner Author

muzammildafedar commented Oct 7, 2024

You have to implement Profile section inside the NavigationPane.

also @muzammildafedar,

Display the username and email address in the designated fields within the profile section of the app.

I don't see a profile section in the app. where should I make the profile section? Should I add another tab in the NavigationPanel by adding one more item to NavigationItems or a constant section on the topright of the page? (like google uses).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New features for Udayah hacktoberfest Issues that can win you some cool swags! help wanted Extra attention is needed
Projects
None yet
4 participants