microsoft / DevHomeAzureExtension

Dev Home Azure Extension
MIT License
68 stars 15 forks source link

Add Avatar caching and display #116

Closed dkbennett closed 4 months ago

dkbennett commented 4 months ago

Summary of the pull request

The widgets were previously missing user avatars due to the widget renderer not having access to the avatar links since it was a public web client, not an authenticated client. This change adds avatar caching to the data sync for a user record and stores the avatar in the datastore. This works around the permission issue as all of the data is being pulled from the Datastore instead of trying to fetch the icons from the web. This is also a performance improvement since each icon is only cached once and infrequently updated.

References and relevant issues

Closes #115

Detailed description of the pull request / Additional comments

Validation steps performed

PR checklist