immich/web/src/lib/stores
ilyaChuk 7f7fec2cea
feat(web): image editor - panel and cropping (#11074)
* cropping, panel

* fix presets

* types

* prettier

* fix lint

* fix aspect ratio, performance optimization

* improved tool selection, removed placeholder

* fix the mouse's exit from canvas

* fix error

* the "save" button and change tracking

* lint, format

* the mini functionality of the save button

* fix aspect ratio

* hide editor button on mobiles

* strict equality

Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>

* Use the dollar sign syntax for stores inside components

* unobtrusive grid lines, circles at the corners

* more correct image load, handleError

* more strict equality

* fix styles. unused and tailwind

Co-Authored-By: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>

* dont store isShowEditor

* if showEditor - hide navbar & shortcuts

* crop-canvas decomposition (danger)

I could have accidentally broken something.. but I checked the work and it seems ok.

* fix lint

* fix ts

* callback function as props

* correctly disabling shortcuts

* convenient canvas borders

• you can use the mouse to go beyond the boundaries and freely change the crop.
• the circles on the corners of the canvas are not cut off.

* -the editor button for video files, -save button

* hide editor btn if panoramic || gif || live

* corners instead of circles (preview), fix lint&format

* confirm close editor without save

* vertical aspect ratios

* recovery after merge. editor's closing shortcut

* fix format

* move from canvas to html elements

* fix changes detections

* rotation

* hide detail panel if showing editor

* fix aspect ratios near min size

* fix crop area when changing image size when rotate

* fix of fix

* better layout - grouping

https://github.com/user-attachments/assets/48f15172-9666-4588-acb6-3cb5eda873a8

* hide the button

* fix i18n, format

* hide button

* hide button v2

---------

Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-08-14 09:54:50 -05:00
..
activity.store.ts feat(server, web): Album's options (#4870) 2023-11-07 04:37:21 +00:00
album-asset-selection.store.ts chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
asset-editor.store.ts feat(web): image editor - panel and cropping (#11074) 2024-08-14 09:54:50 -05:00
asset-interaction.store.ts refactor(web): simplify some stores (#11695) 2024-08-11 08:01:16 -04:00
asset-viewing.store.ts refactor(web): simplify some stores (#11695) 2024-08-11 08:01:16 -04:00
asset.store.spec.ts fix(web): prevent new uploads from temporarily showing in trash (#10348) 2024-06-15 13:44:18 -04:00
assets.store.ts feat(web): add more translations (#10700) 2024-06-30 17:29:10 -05:00
context-menu.store.ts feat(web): keyboard accessible context menus (#10017) 2024-06-17 20:52:38 -07:00
download.ts refactor(web): simplify some stores (#11695) 2024-08-11 08:01:16 -04:00
drag-and-drop-files.store.ts chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
memory.store.ts chore: enum support for new API (#7110) 2024-02-14 06:38:57 -08:00
people.store.ts feat(web): re-assign person faces (2) (#4949) 2023-12-05 09:43:15 -06:00
preferences.store.ts feat(web): use browser language by default (#10849) 2024-07-04 22:56:54 -05:00
purchase.store.ts refactor(web): simplify some stores (#11695) 2024-08-11 08:01:16 -04:00
search.store.ts feat(web): search improvements and refactor (#7291) 2024-02-21 09:50:50 -06:00
server-config.store.ts feat(server): near-duplicate detection (#8228) 2024-05-16 18:08:37 +01:00
server-info.store.ts refactor: deprecate /server-info and replace with /server-info/storage (#9645) 2024-05-22 10:25:55 +01:00
slideshow.store.ts feat(web): new look option for slideshow (#8924) 2024-04-20 23:06:49 -05:00
upload.ts refactor(web): simplify some stores (#11695) 2024-08-11 08:01:16 -04:00
user.store.ts chore(web): change license wording and other things (#11309) 2024-07-26 10:34:35 -05:00
websocket.ts fix(web): websocket over ipv6 (#11508) 2024-08-01 07:36:31 -04:00
zoom-image.store.ts feat: photo-viewer; use <img> instead of blob urls, simplify/refactor, avoid window.events (#9883) 2024-06-07 13:22:46 -05:00