0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-04-15 03:11:28 -05:00
immich/web
Justin Forseth d3a5490e71
feat(server): search unknown place (#10866)
* Allow submission of null country

* Update searchAssetBuilder to handle nulls

andWhere({country:null}) produces `"exifInfo"."country" = NULL`. We want
`"exifInfo"."country" IS NULL`, so we have to treat NULL as a special
case

* Allow null country in frontend

* Make the query code a bit more straightforward

* Remove unused brackets import

* Remove log message

* Don't change whitespace for no reason

* Fix prettier style issue

* Update search.dto.ts validators per @jrasm91's recommendation

* Update api types

* Combine null country and state into one guard clause

* chore: clean up

* chore: add e2e for null/empty city, state, country search

* refactor: server returns suggestion for null values

* chore: clean up

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-08-02 03:27:40 +00:00
..
bin
src feat(server): search unknown place (#10866) 2024-08-02 03:27:40 +00:00
static chore(web): enable prettier json key sorting recursively (#10120) 2024-06-11 12:52:20 +01:00
.dockerignore
.eslintignore
.eslintrc.cjs fix(web): require button type (#9786) 2024-05-27 14:06:15 +07:00
.gitignore
.npmrc
.nvmrc chore(deps): update dependency node to v20.16.0 (#11421) 2024-07-29 10:33:01 -04:00
.prettierignore chore(web): fix weblate conflicts (#10071) 2024-06-10 13:59:54 +01:00
.prettierrc chore(web): enable prettier json key sorting recursively (#10120) 2024-06-11 12:52:20 +01:00
Dockerfile chore(deps): update node.js to eb8101c (#11436) 2024-07-29 22:53:17 -04:00
package-lock.json chore(deps): update typescript-projects (#11437) 2024-07-31 15:40:23 +00:00
package.json fix(deps): vitest@2 (#11491) 2024-07-31 11:26:35 -04:00
postcss.config.cjs
README.md
svelte.config.js feat(web): license UI (#11182) 2024-07-18 10:56:27 -05:00
tailwind.config.cjs chore: remove unused snowburst one font (#10863) 2024-07-04 17:15:54 -04:00
tsconfig.json chore(web): enable prettier json key sorting recursively (#10120) 2024-06-11 12:52:20 +01:00
vite.config.js

Immich web project

This project uses the SvelteKit web framework. Please refer to the SvelteKit docs for information on getting started as a contributor to this project. In particular, it will help you navigate the project's code if you understand the basics of SvelteKit routing.

When developing locally, you will run a SvelteKit Node.js server. When this project is deployed to production, it is built as a SPA and deployed as part of [../server](the server project).