1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-08 12:56:48 +01:00
immich/web/src
faupau 7595d01956
feat(web): set asset as profile picture (#3106)
* add profile-image-cropper component

* add dom-to-image library

* add store to update user profile picture when set

* dom-to-image

* remove console.logs, add svelte binding

* fix format, unused vars

* change caching of profile image

* set hash after profile image change

* remove unnecessary store

* remove unecesarry changes

* set types/dom-to-image as devDependency

* remove unecessary type declarations
use handleError

* remove error notification
which is already handled by handleError

* Revert "set types/dom-to-image as devDependency"

This reverts commit ca8b3ed1bb.

* add types do dev dependencies

* use on:close instead of on:close={()=>...}

* add newline

* sort imports

* bind photo-viewer imgElement directly, not working

* remove console.log, fix binding

* make imgElement optional

* fix element as optional prop

* fix type

* check for transparency

* small changes

* fix img.decode

* add bg, remove publicsharedkey

* fix omit publicSharedKey

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-07-15 20:31:33 -05:00
..
api feat(server): add endpoint to get supported media types on the server (#3284) 2023-07-15 20:24:46 -05:00
lib feat(web): set asset as profile picture (#3106) 2023-07-15 20:31:33 -05:00
routes fix(web): update style of rows in user administration table (#3277) 2023-07-14 22:38:16 -05:00
test-data chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
app.css chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
app.d.ts chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
app.html chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
hooks.server.ts chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00