1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-19 00:32:49 +02:00
immich/mobile/lib/shared/models
martyfuhry 9b4a770b9d
refactor(mobile): Immich image provider (#7016)
* Adds image provider

* uses image provider

* wip load preview

* wip everything but activity asset thumbnail needs some help with a remote id

* Immich provider used in gallery

* First draft of the immich image provider, working nicely!

* Removed OriginalImageProvider

* Fixes for thumbnails

* feat(mobile): thumbhash support (#7028)

* feat(mobile): thumbhash support

* perf(mobile): store bmp thumbhash bytes in Isar

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>

* Uses octoimage for fade in and placeholders

* fixes thumbnails, removes unused values, adds better thumbnail size

* removes thumbhash support for now

* Forgot one thumbhash removal

* Use big thumbnail for local image on ios

* fix(mobile): Multipart image loading for iOS double swipe (#7064)

* uses local thumb first

* Multipart thumbnail

* Clean up file delete

* await file delete

* Fynn's comments, made thumbnail smaller and doesn't crash on erroring out on thumbnail

* lint

---------

Co-authored-by: Marty Fuhry <marty@fuhry.farm>
Co-authored-by: Alex <alex.tran1502@gmail.com>

* Moves http client to global private place for reuse

* Got rid of usePreview for local image providers since we always show a thumbnail anyway first

* linter

---------

Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com>
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
Co-authored-by: Marty Fuhry <marty@fuhry.farm>
2024-02-13 15:30:32 -06:00
..
server_info refactor(mobile): use startOAuth and server features flags (#6155) 2024-01-04 14:44:40 -06:00
album.dart feat(mobile): unify asset grid multiselect actions (#5407) 2023-12-07 09:38:22 -06:00
album.g.dart feat(mobile): shared album activity disable handling (#4890) 2023-11-08 03:07:43 +00:00
android_device_asset.dart feature(mobile): hash assets & sync via checksum (#2592) 2023-06-10 13:13:59 -05:00
android_device_asset.g.dart feature(mobile): hash assets & sync via checksum (#2592) 2023-06-10 13:13:59 -05:00
asset.dart refactor(mobile): Immich image provider (#7016) 2024-02-13 15:30:32 -06:00
asset.g.dart fix(mobile): handle readonly and offline assets (#5565) 2024-01-05 21:02:16 -06:00
device_asset.dart feature(mobile): hash assets & sync via checksum (#2592) 2023-06-10 13:13:59 -05:00
etag.dart feat(mobile): efficient asset sync (#3945) 2023-09-10 14:51:18 +02:00
etag.g.dart feat(mobile): efficient asset sync (#3945) 2023-09-10 14:51:18 +02:00
exif_info.dart fix(mobile): shows asset datetime with original timezone (#4774) 2023-11-03 09:04:41 -05:00
exif_info.g.dart fix(mobile): shows asset datetime with original timezone (#4774) 2023-11-03 09:04:41 -05:00
ios_device_asset.dart feature(mobile): hash assets & sync via checksum (#2592) 2023-06-10 13:13:59 -05:00
ios_device_asset.g.dart feature(mobile): hash assets & sync via checksum (#2592) 2023-06-10 13:13:59 -05:00
logger_message.model.dart
logger_message.model.g.dart chore(mobile): update isar (#2571) 2023-05-26 08:09:44 -05:00
store.dart deps(mobile): flutter 3.16 (#6677) 2024-01-27 10:14:32 -06:00
store.g.dart chore(mobile): update isar (#2571) 2023-05-26 08:09:44 -05:00
user.dart feat(mobile): quota (#6409) 2024-01-16 20:08:31 -06:00
user.g.dart feat(mobile): quota (#6409) 2024-01-16 20:08:31 -06:00