Commit Graph
211 Commits
Author SHA1 Message Date
sai80082 df452d849d fix: DB schema update to support latest immich release 2026-02-05 15:49:02 +05:30
sai80082 cfd8e40c81 feat: transition to new repo. 2026-02-04 12:35:33 +05:30
sai80082 a24ccb178a fix: improve buffer handling in uploadAssetBuffer function 2026-01-09 16:37:05 +05:30
sai80082 0821e164ef fix: ensure error messages are properly typed in API handlers 2025-12-29 21:39:21 +05:30
sai80082 ac8267b431 feat: Importing shared assets
- Implemented `upload.ts` for handling the upload of shared assets, including validation and error handling.
- Created `video.ts` for proxying video playback requests from shared assets.
- Developed `import-shared.tsx` page for importing shared albums, including UI for asset selection and album creation options.
- Updated album asset schema to use more descriptive field names (`albumId` and `assetId`).
2025-12-29 21:31:41 +05:30
Varun Raj 38cf14b93d refactor: simplify asset mapping in MissingLocationAssets component
- Removed the additional tags for assets in the MissingLocationAssets component, returning only the sorted assets.
- Updated AssetGrid to include Immich link tags for each asset, utilizing the exImmichUrl from the configuration context.
- Enhanced the dependency array for the asset mapping effect to include exImmichUrl for proper updates.
2025-10-29 23:19:20 +05:30
Varun Raj 6a041ff012 feat: enhance asset deletion functionality with trash option
- Updated the deleteAssets function to accept an options parameter for forced deletion.
- Introduced a new handleTrash function to move selected assets to trash instead of permanent deletion.
- Added a confirmation dialog for moving assets to trash, improving user experience and providing recovery options.
- Updated the UI to reflect the new trash functionality with appropriate button and alert dialog integration.
2025-10-29 23:13:02 +05:30
Varun Raj 65d6c90707 feat: add new analytics endpoints and charts for enhanced data visualization
- Introduced new API routes for people names, geo photos, and album photos statistics.
- Updated analytics handler to include functions for fetching new statistics.
- Added new chart components for visualizing people names, geo photos, and album photos data in the Exif data analytics page.
- Modified asset deletion function to accept an options parameter for forced deletion.
2025-10-29 23:10:55 +05:30
Varun Raj c0d51998b6 feat: enhance bulk duplicate finder with auto-selection and keyboard shortcuts
- Added functionality to auto-select assets based on criteria: lowest quality and smallest size.
- Implemented keyboard shortcut (Escape) to unselect all assets.
- Updated UI to include an auto-select dropdown in the floating bar for better user experience.
- Enhanced toast notifications to inform users about the auto-selection results.
2025-10-29 23:03:49 +05:30
Varun Raj ea1142801b feat: enhance bulk duplicate management with asset deletion functionality
- Added a floating bar to display selected assets information in discard mode.
- Implemented logic to calculate and display the count and total size of selected assets.
- Introduced a delete confirmation dialog for removing selected assets, including success and error feedback via toast notifications.
- Updated the state management to handle asset deletion and clean up empty duplicate records.
2025-10-29 22:56:10 +05:30
Varun Raj afb2fb09d4 feat: implement selection mode for managing duplicate assets
- Added a `selectionMode` prop to `DuplicateAssetRecord`, `DuplicateAssetItem`, and `VirtualizedDuplicateList` components to toggle between "keep" and "discard" modes.
- Updated UI elements to reflect the current selection mode, including button states and labels.
- Enhanced the logic for keeping or deleting selected assets based on the selected mode in the `BulkDuplicatePage` component.
- Improved user experience by providing clear visual feedback for asset selection actions.
2025-10-29 22:52:18 +05:30
Varun Raj 6259481d3e feat: enhance person merging functionality with name filtering
- Updated the `listSimilarFaces` API to accept a name parameter for filtering results.
- Modified the `PersonMergeDropdown` component to include a new select input for choosing between "nameless", "tagged", and "all" options.
- Adjusted the API handler to filter similar faces based on the selected name criteria.
- Improved the UI layout for the threshold and name selection inputs.
2025-10-29 22:35:38 +05:30
Varun Raj 2dba053b86 refactor: update album selection logic and add merge functionality
- Changed the `onSelect` prop in `AlbumThumbnail` to accept the entire album object instead of just the album ID.
- Introduced new API routes for merging albums and added the corresponding handler.
- Removed the `useAlbumSelection` hook and integrated selection logic directly in the `AlbumList` component.
- Added a `MergeAlbumDialog` component for merging albums.
- Updated the album list page to handle album merging and selection state more effectively.
2025-10-29 22:09:07 +05:30
Varun Raj 0349646953 feat: moved from google maps to open street maps for heatmaps
Signed-off-by: Varun Raj <varun@skcript.com>
2025-08-27 08:30:42 +05:30
Varun Raj 21e950ff78 fix: build fixes
Signed-off-by: Varun Raj <varun@skcript.com>
2025-08-23 18:21:59 +05:30
Varun Raj ed411ae68e fix: data table fixes
Signed-off-by: Varun Raj <varun@skcript.com>
2025-08-23 18:07:10 +05:30
Varun Raj c64959f6d6 fix: design and performance fixes in album list
Signed-off-by: Varun Raj <varun@skcript.com>
2025-08-23 17:41:45 +05:30
Varun Raj 53fa52cfd7 fix: selection is unified across the tool
Signed-off-by: Varun Raj <varun@skcript.com>
2025-08-23 17:24:00 +05:30
Varun Raj 0ea429578e fix: share link album sort fix
Signed-off-by: Varun Raj <varun@skcript.com>
2025-08-23 16:57:48 +05:30
Varun Raj dcac170d7b fix: share link to show assets which are not in any of the album
Signed-off-by: Varun Raj <varun@skcript.com>
2025-08-23 16:57:06 +05:30
Varun Raj f1e0130232 fix: unified asset grid across the tool
Signed-off-by: Varun Raj <varun@skcript.com>
2025-08-23 16:50:01 +05:30
Varun Raj d443da7df2 feat: manage duplicates in bulk
Signed-off-by: Varun Raj <varun@skcript.com>
2025-08-23 16:34:44 +05:30
Varun Raj 2746fe0938 Merge branch 'prerelease' of https://github.com/varun-raj/immich-power-tools into feat-august-release 2025-08-23 15:43:03 +05:30
Varun Raj cd804d04ec feat: added empty videos option
Signed-off-by: Varun Raj <varun@skcript.com>
2025-08-23 15:42:38 +05:30
Max Heidinger 0d93734183 fix: width styling of tag missing location dialog recent searches 2025-08-16 21:03:53 +02:00
Varun Raj 9589be8821 fix: table view for albums
Signed-off-by: Varun Raj <varun@skcript.com>
2025-07-29 10:30:11 +05:30
Varun Raj cf59b4fa3f feat: album multi select using select
Signed-off-by: Varun Raj <varun@skcript.com>
2025-07-29 10:01:59 +05:30
Varun Raj 263212c8b9 fix: album creation flow
Signed-off-by: Varun Raj <varun@skcript.com>
2025-07-27 18:04:35 +05:30
Varun Raj aef4e6ee86 feat: better ux for tagging people in album 2025-07-27 17:30:23 +05:30
Varun Raj 7c6b75ebd9 feat: select and tag face from album images 2025-07-27 12:47:53 +05:30
Varun Raj b9d7e54c8a feat: remember the last location used 2025-07-27 11:44:35 +05:30
Varun Raj 3cad04255a feat: select all unknown people in album details 2025-07-27 11:11:00 +05:30
Varun Raj 8dab4ced5b refactor: improve AlbumPeople component to categorize known and unknown individuals
- Introduced useMemo to separate known and unknown people based on their names.
- Enhanced rendering logic to display known and unknown people distinctly.
- Updated UI elements for better layout and usability, including search input and person rendering.
- Adjusted padding and spacing for a more consistent design across the component.
2025-07-27 10:56:54 +05:30
Varun Raj e8b1076603 Merge branch 'main' of https://github.com/varun-raj/immich-power-tools into feat-cleanup 2025-07-27 10:42:16 +05:30
Varun Raj 177fecffaf fix: updated db schema based on new immich schema
Signed-off-by: Varun Raj <varun@skcript.com>
2025-07-27 10:39:20 +05:30
Varun Raj 917f694db7 refactor: enhance AlbumImages and AssetOffsetDialog components for improved asset management
- Integrated PhotoSelectionContext into AlbumImages for better state management of selected assets.
- Replaced local asset state with context-driven updates, allowing for seamless asset fetching and selection.
- Added image gallery functionality using react-grid-gallery and yet-another-react-lightbox for enhanced user experience.
- Updated AssetOffsetDialog to include timezone options for date adjustments, improving flexibility in asset date management.
- Refactored UI elements for better layout and usability across both components.
2025-07-21 09:40:27 +05:30
Varun Raj e9fe68e08a fix: updates according to the new api
Signed-off-by: Varun Raj <varun@skcript.com>
2025-05-23 17:12:58 +05:30
Varun Raj f7ae586ed1 feat: made lat and long into single input field 2025-04-27 17:02:05 +05:30
Varun Raj b0075082e2 feat: added image gallery to album assets 2025-04-27 15:24:55 +05:30
Varun Raj 094a2a6e57 refactor: enhance FindInput and AssetGrid components for better media handling
- Updated FindInput to accept value and onChange props for improved state management.
- Modified AssetGrid to support video assets by integrating Video plugin in Lightbox and adding isVideo property to asset objects.
- Enhanced LazyGridImage to display video duration and a play icon for video assets.
- Introduced humanizeDuration helper function to format video duration for better user experience.
- Updated search API to include download URL for video assets, ensuring consistent asset handling.
2025-04-27 13:56:35 +05:30
Varun Raj a583c8250c refactor: integrate PhotoSelectionContext for asset management in FindPage
- Replaced local state management for selected asset IDs and assets with PhotoSelectionContext to streamline state handling.
- Updated asset fetching and selection logic to utilize context state, improving consistency across components.
- Enhanced user feedback with toast notifications for album actions and error handling.
- Wrapped the main content in PhotoSelectionContext.Provider to ensure context availability throughout the component.
2025-04-27 13:15:06 +05:30
Varun Raj 0f77c32f2f refactor: migrate from PotentialAlbumContext to PhotoSelectionContext
- Replaced instances of PotentialAlbumContext with PhotoSelectionContext across multiple components to unify state management for photo selection.
- Updated context usage in AlbumSelectorDialog, PotentialAlbumsAssets, PotentialAlbumsDates, and MissingLocation components.
- Enhanced loading and error handling in asset fetching functions.
- Improved user feedback by updating UI elements to reflect the number of selected assets.
- Removed unused PotentialAlbumContext and related files to streamline the codebase.
2025-04-27 13:08:20 +05:30
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