Remove image from session, add /api/me, update Avatar component (#493)

* Remove image from session, add /api/me, update Avatar component

* Fixed Avatar on Desktop

* Added emailMd5 to session + load md5 from props on /settings/profile

* Explicitly select which fields to expose in /api/me

* Abstracted Gravatar, defaults avatar for /api/me, removed session dep from UserDropdown

* Delete md5.js :)

Co-authored-by: Bailey Pumfleet <[email protected]>
This commit is contained in:
Alex van AndelandBailey Pumfleet authored and GitHub committed 2021-08-22 14:16:42 +01:00
1 parent 3894ee12d1
commit bc97237858
13 files changed
+193 -291

No files matched your search

+1
View File
@@ -17,6 +17,7 @@
"@heroicons/react": "^1.0.4",
"@jitsu/sdk-js": "^2.2.4",
"@prisma/client": "^2.29.1",
"@radix-ui/react-avatar": "^0.0.15",
"@radix-ui/react-collapsible": "^0.0.17",
"@radix-ui/react-dialog": "^0.0.20",
"@radix-ui/react-slider": "^0.0.17",