Skip to content

Comments

Sorting and Filtering#100

Open
hwakeman wants to merge 7 commits intomensadilabs:devfrom
hwakeman:sorting-and-filtering
Open

Sorting and Filtering#100
hwakeman wants to merge 7 commits intomensadilabs:devfrom
hwakeman:sorting-and-filtering

Conversation

@hwakeman
Copy link

Added sorting and filtering options to the all photos tab. Mostly vibe coded (not familiar with Swift), definitely needs some optimization when fetching all devices and when fetching the filtered assets (Takes about 10 seconds to load filtered assets for my ~13k asset instance). Also added a timezone setting for displaying datetimes in local time. Not ready to be merged but could be a good start for full implementation.

@mensadilabs
Copy link
Owner

I'll take a look. Thank you!

@mensadilabs
Copy link
Owner

Sorry been a bit busy. I'll try and get to it before end of the week.

@hwakeman
Copy link
Author

All good. One bug I found was that navigating from the sort/filter buttons to the assets does not work if there are only 1-2 assets that exist after filtering. Just something to keep in mind. Thanks!

@mensadilabs
Copy link
Owner

OK, I'm going split this into smaller PRs. Starting with sorting and filtering by time buckets and cities first. They have almost no performance bottleneck. I have to do a bit of thinking about how we can improve performance of the other filters, or load them only when the user explicitly requests. Hope that makes sense!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants