immich/mobile/lib/utils
Brandon Wees bf6211776f
fix: retain filter and sort options when pulling to refresh (#21452)
* fix: retain filter and sort options when pulling to refresh

* chore: use classes to manage state

* chore: format

* chore: refactor to keep local state of filter/sorted albums instead of a global filteredAlbums

* fix: keep sort when page is navigated away and returned

* chore: lint

* chore: format

why is autoformat not working

* fix: default sort direction state

* fix: search clears sorting

we have to cache our sorted albums since sorting is very computationally expensive and cannot be run on every keystroke. For searches, instead of pulling from the list of albums, we now pull from the cached sorted list and then filter which is then shown to the user
2025-09-04 09:08:17 -05:00
..
cache feat(mobile): platform image providers (#20927) 2025-08-20 19:36:44 +00:00
hooks chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
action_button.utils.dart refactor: bottom sheet action button (#20964) 2025-08-18 10:20:08 -05:00
album_filter.utils.dart fix: retain filter and sort options when pulling to refresh (#21452) 2025-09-04 09:08:17 -05:00
async_mutex.dart refactor(mobile): sqlite-based map view (#20665) 2025-08-06 10:05:49 -05:00
backup_progress.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
bootstrap.dart feat: beta background sync (#21243) 2025-08-28 14:11:54 +00:00
bytes_units.dart feat(mobile): share to mechanism (#15229) 2025-01-16 21:20:44 -06:00
color_filter_generator.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
database.utils.dart feat(mobile): new upload (#18726) 2025-07-19 04:58:53 +00:00
datetime_comparison.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
datetime_helpers.dart fix: handle datetime outside the valid range supported by dart (#21526) 2025-09-02 14:20:49 -05:00
debounce.dart refactor(mobile): sqlite-based map view (#20665) 2025-08-06 10:05:49 -05:00
diff.dart refactor(mobile): device asset entity to use modified time (#17064) 2025-04-03 14:42:35 -05:00
draggable_scroll_controller.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
hash.dart feature(mobile): sync assets, albums & users to local database on device (#1759) 2023-03-03 16:38:30 -06:00
http_ssl_cert_override.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
http_ssl_options.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
image_url_builder.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
immich_loading_overlay.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
isolate.dart feat: beta background sync (#21243) 2025-08-28 14:11:54 +00:00
licenses.dart feat: add license page to app bar dialog (#19971) 2025-07-16 09:36:17 -05:00
map_utils.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
migration.dart feat: migrate store to sqlite (#21078) 2025-08-21 14:58:50 -05:00
openapi_patching.dart chore: patch createdAt in AssetResponseDto (#21254) 2025-08-25 16:33:21 +00:00
people.utils.dart fix(mobile): person birthday viewing/editing (#20731) 2025-08-06 22:13:56 +00:00
provider_utils.dart fix: invalidate album api on log out (#20756) 2025-08-07 14:19:44 +00:00
selection_handlers.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
string_helper.dart chore: remove all deprecated endpoints/properties from server and mobile app (#9724) 2024-05-24 15:37:01 +01:00
throttle.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
thumbnail_utils.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
url_helper.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
user_agent.dart fix: mobile user agent set to immich_platform_version (#18478) 2025-05-22 10:35:24 -05:00
version_compatibility.dart chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00