microsoft-graph-toolkit icon indicating copy to clipboard operation
microsoft-graph-toolkit copied to clipboard

Evaluate new property to updated User Profile Picture in Login Component

Open aaclage opened this issue 2 years ago • 4 comments

Proposal: Updated User Profile Picture in Login Component

Description

With the last Microsoft Graph update on user profile integration, presented in Microsoft 365 Platform Community Call – 1st of March, 2022 regarding the user profile picture, it's was question/ask the possibility to integrate the upload/update of user picture feature using MGT.

Rationale

There is a lot of incoherence regarding the user profile picture and with this new graph update there is a one point to update the user picture that can be uniform in all Microsoft Services, this new feature allow Developers give the option to update user profile picture using Graph that will be spread all over the Microsoft 365 Service.

Preferred Solution

Pre-Conditions

User should only be able to update his picture/user that was login.

Proposed Login Component Attribute/Property

Attribute Property Description
user-picture userPicture Set attribute to true and link to update user profile picture appear in Login component.

Mockup of option in Login Component

1- Picture with new Property activate image

2- After click "Picture profile" the following dialog box appear image

3- After "Apply" picture will be saved the Login component will reflect the new picture.

Current Microsoft Graph API

Update profilePhoto Microsoft Graph: https://docs.microsoft.com/en-us/graph/api/profilephoto-update?view=graph-rest-1.0&tabs=http

Additional Context

Update profilePhoto Microsoft Graph: https://docs.microsoft.com/en-us/graph/api/profilephoto-update?view=graph-rest-1.0&tabs=http

aaclage avatar Mar 06 '22 11:03 aaclage

Hello aaclage, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

ghost avatar Mar 06 '22 11:03 ghost

This is an amazing proposal @aaclage! This would fit nicely within the Login component as this is where we all feel natural to go for all things related to our profile! We can even think about the future of updating some of your skills, etc.

Right now we are not focused on adding new components before our next big release of MGT, but this would be absolutely possible to enable the community to deliver the capability with support from our engineering and design team! Would your be up for the challenge? 😎

I'll mark it as help-wanted and happy to collaborate with you on design and specs!

sebastienlevert avatar Mar 14 '22 15:03 sebastienlevert

@sebastienlevert yes no problem, can pick on this.

aaclage avatar Mar 17 '22 08:03 aaclage

Adding @yyiinnggzz to this thread! We need a bit of work on the design side and on the UX but you can already go ahead and start exploring! I'll be assigning you the issue but we'll be providing support!

sebastienlevert avatar Mar 18 '22 13:03 sebastienlevert

At the moment, this is not something we're likely to prioritize. That being said, the Graph Toolkit is an open source project and we'll be happy to support and review if you want to contribute to its codebase! Please let us know if you'd be happy to help and implement this capability. If not, it's absolutely fine, we'll go and close the issue and might re-open it later if we reconsider our priorities. Thanks!

sebastienlevert avatar Jan 30 '24 04:01 sebastienlevert

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.