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

fix(web): search people #8955

Merged
merged 4 commits into from
Apr 23, 2024
Merged

fix(web): search people #8955

merged 4 commits into from
Apr 23, 2024

Conversation

martabal
Copy link
Member

Potential fix for #8951.
Show people searched with the searchPerson API instead of relying on people returned by the getAllPeople API.

Screenshots

image

Copy link

cloudflare-pages bot commented Apr 20, 2024

Deploying immich with  Cloudflare Pages  Cloudflare Pages

Latest commit: e16bfcd
Status: ✅  Deploy successful!
Preview URL: https://89565f1f.immich.pages.dev
Branch Preview URL: https://fix-search-people.immich.pages.dev

View logs

@martabal martabal linked an issue Apr 20, 2024 that may be closed by this pull request
3 tasks
Copy link
Member

@danieldietzler danieldietzler left a comment

Choose a reason for hiding this comment

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

Haven't tested it out yet but the code looks good so far

web/src/routes/(user)/people/+page.svelte Outdated Show resolved Hide resolved
web/src/routes/(user)/people/+page.svelte Outdated Show resolved Hide resolved
@danieldietzler
Copy link
Member

Any idea why I'm losing focus whenever I type a single character?

Screen.Recording.2024-04-22.at.20.44.23.mov

@alextran1502
Copy link
Contributor

Any idea why I'm losing focus whenever I type a single character?

Screen.Recording.2024-04-22.at.20.44.23.mov

It was fixed on main we probably need to pull main into this PR

martabal and others added 4 commits April 22, 2024 21:05
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
@danieldietzler
Copy link
Member

That was it, thank you Alex! However it still loses focus when the search field becomes empty. Is that intentional?

@alextran1502
Copy link
Contributor

That was it, thank you Alex! However it still loses focus when the search field becomes empty. Is that intentional?

Probably not, I think it is a "bug"

Copy link
Member

@danieldietzler danieldietzler left a comment

Choose a reason for hiding this comment

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

LGTM

@alextran1502 alextran1502 merged commit 99ccf28 into main Apr 23, 2024
23 checks passed
@alextran1502 alextran1502 deleted the fix/search-people branch April 23, 2024 22:03
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.

"Search people" not working with non-english queries
3 participants