1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-21 01:39:59 +02:00
immich/mobile/lib/modules/home/ui/asset_grid
Matthias Rupp 7a1ae8691e
feat(mobile): Various minor performance improvements (#1176)
* Improve scroll performance by introducing repaint boundaries and moving more calculations to providers.

* Add error handing for malformed dates.

* Remove unused method

* Use compute in different places to improve app performance during heavy tasks

* Fix test

* Refactor `List<RenderAssetGridElement>` to separate `RenderList` class and make `fromAssetGroups` a static method of this class.

* Fix loading indicator bug

* Use provider directly

* `RenderList` refactoring

* `AssetNotifier` refactoring

* Move `combine` to static private method

* Extract compute methods in cache services to static private methods.

* Use `tryParse` instead of `parse` with try/catch for dates.

* Fix bug in caching mechanism.

* Fixed state not being used to trigger conditional rendering

* styling

* Corrected state

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-01-18 09:59:23 -06:00
..
asset_grid_data_structure.dart feat(mobile): Various minor performance improvements (#1176) 2023-01-18 09:59:23 -06:00
daily_title_text.dart feat(mobile): Various minor performance improvements (#1176) 2023-01-18 09:59:23 -06:00
disable_multi_select_button.dart feat(mobile): Add selected assets to album (#901) 2022-11-05 20:21:55 -05:00
draggable_scrollbar_custom.dart Make new asset grid the default 2022-10-01 10:38:11 +02:00
immich_asset_grid.dart feat(mobile): Various minor performance improvements (#1176) 2023-01-18 09:59:23 -06:00
monthly_title_text.dart Get rid of home page state provider 2022-10-06 22:41:56 +02:00
thumbnail_image.dart feat(mobile): show local assets (#905) 2022-11-08 11:00:24 -06:00