Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #161
Demo Video: https://www.youtube.com/watch?v=4EM2_lW2S54
Major Changes:
Minor Bug Fixes:
Summary:
Backend enhancements:
backend/app/routes/images.py
: Improved the logic for deleting images and their thumbnails, and added a new endpointdelete-thumbnails
to delete all thumbnails in a given folder. [1] [2] [3] [4]Frontend updates:
frontend/api/api-functions/images.ts
: ModifiedgenerateThumbnails
to accept an array of folder paths and added a new functiondeleteThumbnails
to call the new backend endpoint. [1] [2]frontend/src/components/AITagging/AIgallery.tsx
: Updated the component to use the newgenerateThumbnails
function and handle multiple folder paths. [1] [2] [3] [4] [5] [6] [7]Miscellaneous:
frontend/package.json
: Renamed the project from "tauri-app" to "PictoPy".frontend/src-tauri/src/services/mod.rs
: Updated the functionsget_all_images_with_cache
andget_all_videos_with_cache
to accept an array of directories instead of a single directory. [1] [2] [3] [4] [5] [6] [7]