Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(mobile): search enhancement #8392

Merged
merged 45 commits into from
Apr 1, 2024
Merged

Conversation

alextran1502
Copy link
Contributor

@alextran1502 alextran1502 commented Mar 30, 2024

This PR adds the advanced search filters feature to the mobile app.

The result is fetched in batches of 1000, the infinite scrolling is janky due to the way the asset grid is built, so when a new batch is fetched, it rerenders the whole page. I might open a subsequent PR to address this issue

searchmobiledemo.mp4

Copy link

cloudflare-pages bot commented Mar 30, 2024

Deploying immich with  Cloudflare Pages  Cloudflare Pages

Latest commit: 91baeac
Status: ✅  Deploy successful!
Preview URL: https://0c9e8fed.immich.pages.dev
Branch Preview URL: https://mobile-search-enhancement.immich.pages.dev

View logs

};
}

factory SearchLocationFilter.fromMap(Map<String, dynamic> map) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we use/need to/fromMap and to/fromJson at all for the filter classes?
I think they are never used.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, they are not used. It is auto-generated. I use this extension on vscode to help generate these classes

https://marketplace.visualstudio.com/items?itemName=dotup.dart-data-class-generator

@alextran1502 alextran1502 merged commit 27be813 into main Apr 1, 2024
24 checks passed
@alextran1502 alextran1502 deleted the mobile/search-enhancement branch April 1, 2024 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants