9 Commits
Author SHA1 Message Date
Varun Raj ea51071538 refactor: clean up imports and remove unused components
- Removed unused imports and components across various files to streamline the codebase.
- Simplified the structure of components such as AlbumImages, AlbumPeople, and others by eliminating unnecessary dependencies.
- Enhanced overall readability and maintainability of the code.
2025-03-25 22:31:40 +05:30
Varun Raj 0160b37f84 chore: update Gemini model version to 2.0-flash
- Changed the generative model used in the Gemini helper from "gemini-1.5-flash" to "gemini-2.0-flash" for improved performance and capabilities.
2025-03-25 22:15:25 +05:30
Varun Raj eab7cc7a8f refactor: improve PeopleFilters and Autocomplete components
- Refactored PeopleFilters to utilize a single context object for better readability.
- Enhanced the Autocomplete component's keyboard navigation and selection logic.
- Updated the handling of the "Create New" option to improve user experience and maintain consistent selection behavior.
2025-03-25 22:11:54 +05:30
Varun Raj 997246d937 feat: add healthcheck configuration to Docker Compose files
- Introduced healthcheck settings for services in both docker-compose.yml and docker-compose-all-immich.yml.
- Configured healthcheck to verify service availability by checking the health endpoint at http://localhost:3000/api/health.
2025-03-25 22:03:14 +05:30
Varun Raj 39e4db0f8d refactor: remove albumUsers from createAlbum function and sort orphan photos by date
- Removed the albumUsers parameter from the createAlbum function in PotentialAlbums component.
- Updated the SQL query in potential-albums-assets API to sort orphan photos by date in descending order.
2025-03-25 21:57:44 +05:30
Varun Raj d47916d786 fix: improve error handling in search API and log response from Gemini
- Wrapped the search API logic in a try-catch block to handle potential errors during query parsing.
- Added console logging for the response received from the Gemini API for better debugging.
- Ensured that a user-friendly error message is returned in case of failure.
2025-03-25 21:48:42 +05:30
Varun Raj 552cbca3b3 refactor: update autocomplete behavior and labels
- Changed the label for creating a new person in the PersonItem component from "Merge with this person" to "Create".
- Removed unnecessary focus management code in the Autocomplete component to simplify the input behavior.
- Cleaned up comments related to focus handling after selection and creation of new options.
2025-03-25 21:29:35 +05:30
Varun Raj 57c9bd2070 feat: enhance person management with merge functionality
- Added merge capability for persons in the PersonItem component using an autocomplete input.
- Introduced an AlertDialog for confirming merges.
- Updated package.json to include new dependencies for react-query and related types.
- Refactored FindInput component by removing unused styles.
- Updated AlertDialog interface for better type handling.
2025-03-25 21:25:59 +05:30
Varun Raj 5db6e414a1 feat: add search functionality to PeopleList and AlbumPeople components
- Introduced search input to filter displayed people based on name in both AlbumPeople and PeopleList components.
- Updated .env.sample to include JWT_SECRET for authentication.
- Added SHARE_LINK_DOWNLOAD_PATH to routes and corresponding handler for downloading share links.
2025-03-19 09:13:48 +05:30