immich/mobile/lib
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
..
constants feat(mobile): optimized thumbnail widget (#21073) 2025-08-21 18:06:02 +00:00
domain chore: log name and createdAt of asset on hash failures (#21546) 2025-09-03 09:58:03 -05:00
entities chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
extensions fix(mobile): use cached thumbnail in full size image provider (#20637) 2025-08-05 10:20:25 -04:00
infrastructure fix: local sync task never runs on iOS (#21491) 2025-09-03 02:05:58 +05:30
interfaces refactor(mobile): interfaces refactor (#19415) 2025-06-23 11:27:44 -05:00
mixins chore: flutter 3.29.1 (#16730) 2025-03-10 21:46:36 -05:00
models chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
pages refactor: simplify background worker (#21558) 2025-09-03 09:57:30 -05:00
platform refactor: simplify background worker (#21558) 2025-09-03 09:57:30 -05:00
presentation fix: retain filter and sort options when pulling to refresh (#21452) 2025-09-04 09:08:17 -05:00
providers fix: retain filter and sort options when pulling to refresh (#21452) 2025-09-04 09:08:17 -05:00
repositories fix: show "preparing" when sharing in beta timeline (#21390) 2025-08-30 13:51:32 -05:00
routing feat: show remainder assets info (#21114) 2025-08-21 17:18:31 +00:00
services fix(mobile): ensure current asset is set in asset viewer (#21504) 2025-09-02 11:03:44 -04:00
theme chore: bump dart sdk to 3.8 (#20355) 2025-07-28 14:04:03 -05:00
utils fix: retain filter and sort options when pulling to refresh (#21452) 2025-09-04 09:08:17 -05:00
widgets fix(mobile): pinch + move scale (#21332) 2025-09-04 09:01:39 -05:00
main.dart refactor: simplify background worker (#21558) 2025-09-03 09:57:30 -05:00