Commit Graph

455 Commits

Author SHA1 Message Date
Innei
793ed1ae14 chore: update package manager and dependencies across multiple packages
- Upgraded the package manager to pnpm@10.17.1 in package.json files for apps and packages.
- Updated eslint-plugin-react-refresh to version 0.4.21 in packages/docs/package.json.
- Upgraded typescript-eslint and vite to versions 8.44.1 and 7.1.7 respectively in packages/docs/package.json.
- Ensured consistency in package versions across the project.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-24 00:51:37 +08:00
Innei
18791ccd75 chore: disable specific react-hooks rules in ESLint configuration
- Temporarily turned off various react-hooks rules in the ESLint configuration to address current development needs.
- Updated the usePhotoViewerTransitions hook to encapsulate visibility handling in a new hideTriggerElement function for improved code clarity and reusability.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-24 00:50:15 +08:00
ChrAlpha
eed6062388 feat(PhotoViewer): add entry/exit animation (#110)
Co-authored-by: Innei <tukon479@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-24 00:43:46 +08:00
Innei
d62ecb34f1 chore: add Git LFS support for media files and update build scripts
- Introduced .gitattributes to manage large media files with Git LFS for various formats including HEIC, MOV, and JPG.
- Added a new build script in package.json for preparing demo data.
- Enhanced logging in the PhotoGalleryBuilder to include storage provider information.
- Updated the LocalStorageProvider to use the correct type for file stats.
- Added multiple new media files to the project.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-24 00:26:30 +08:00
Innei
6fafb5710e chore: update react version in pnpm-lock.yaml and package.json
- Updated the react dependency version to 19.1.1 in both pnpm-lock.yaml and package.json for consistency and to ensure compatibility with the latest features and fixes.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-22 00:18:13 +08:00
Innei
29caf0f553 fix: update ExifPanel to calculate and display megapixels
- Removed the dependency on formatted EXIF data for megapixels and implemented a direct calculation based on image dimensions.
- Cleaned up the code by removing unnecessary comments and ensuring clarity in the rendering logic.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-21 18:35:57 +08:00
Innei
5d7a103175 chore: update react version in package.json and pnpm-lock.yaml
- Updated the react dependency version to ^19.1.1 in both package.json and pnpm-lock.yaml for consistency and to ensure compatibility with the latest features and fixes.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-21 18:29:38 +08:00
Innei
d98049ded6 Revert "perf: image webgl perf"
This reverts commit 444468b862.
2025-09-21 18:29:31 +08:00
Innei
84b6c0f438 chore: update dependencies and improve configurations
- Upgraded various dependencies across the project, including dotenv, eslint, prettier, and typescript.
- Updated package versions in package.json and pnpm-lock.yaml for better compatibility and performance.
- Adjusted tailwindcss and related plugins to the latest versions.
- Enhanced the S3 client configuration in the builder package.
- Fixed import statements in CSS files to use @import instead of @plugin for tailwindcss-safe-area.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-21 17:49:49 +08:00
Innei
1786c4d707 chore: cleanup
Signed-off-by: Innei <tukon479@gmail.com>
2025-09-15 21:03:16 +08:00
Innei
444468b862 perf: image webgl perf
- Added total pixel calculation to the ExifPanel, displaying the total pixel count based on image dimensions.
- Updated the rendering logic to use the new total pixel value instead of formatted EXIF data for pixel information.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-15 21:03:02 +08:00
Innei
2191e59b46 feat(builder): enhance S3 client configuration and download handling, try fix #100
- Added network tuning options to the builder configuration, including keep-alive settings, timeouts, and retry mechanisms.
- Integrated the NodeHttpHandler for improved HTTP handling in the S3 client.
- Implemented a download concurrency limiter using a semaphore to manage concurrent downloads.
- Enhanced the getFile method to include retry logic and timeout handling for S3 file downloads, improving robustness and performance.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-14 23:49:30 +08:00
Innei
2df511bff7 fix!: remove webp transformer
- Introduced a migration system for manifest files to support versioning and backward compatibility.
- Updated image processing to switch thumbnail format from WebP to JPEG for better compatibility.
- Added new commands for manifest migration and improved thumbnail handling in the builder.
- Enhanced documentation with architecture details and development commands.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-13 23:11:00 +08:00
woolen-sheep
d3b59d9e88 fix: thumbnails cache not working when digest suffix is enabled (#98) 2025-09-13 22:01:49 +08:00
woolen-sheep
a185ab9242 fix: cluster pool dead lock (#99) 2025-09-13 22:01:09 +08:00
MaxtuneLee
41b0d7a73d Afilmory Docs (#66) 2025-09-11 18:42:47 +08:00
Wenzhuo Liu
57c1fc25fe chore: add i18n for mp4 utils (#91)
Signed-off-by: Innei <tukon479@gmail.com>
Co-authored-by: Innei <tukon479@gmail.com>
2025-09-08 20:34:54 +08:00
Wenzhuo Liu
888a039e75 feat: adjust live photo interaction (#97) 2025-09-08 20:28:49 +08:00
Innei
7f07497553 fix(photo-item): update image source to use thumbnail URL
- Changed the image source in PhotoItem component from original URL to thumbnail URL for improved loading performance and user experience.

Signed-off-by: Innei <tukon479@gmail.com>
2025-09-01 00:12:01 +08:00
Innei
1cc5c76ee7 feat(gallery): add tag filtering options and UI components
- Introduced a new tag filtering mode with options for 'union' and 'intersection'.
- Added Checkbox and Switch components for user interface interactions.
- Updated the FilterPanel to include tag filter mode selection.
- Enhanced photo filtering logic to accommodate the new tag filter mode.
- Updated localization files to include new tag filter labels.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-31 23:38:43 +08:00
Innei
473fc90add fix(photo-viewer): update iframe style to use aspect ratio
- Modified the iframe style in SharePanel to utilize the aspect ratio based on photo dimensions, enhancing responsiveness.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-31 22:54:10 +08:00
Innei
c43ff365b5 fix(photo-viewer): ensure EXIF value is a string before cleaning
- Updated the cleanExifValue function to convert the value to a string before applying regex for cleaning, preventing potential errors with null or undefined values.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-31 13:25:42 +08:00
Innei
f5cd5d800c chore: update deps
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-31 01:36:08 +08:00
Innei
f5c0c7d28d fix(gallery): update photo count display to reflect visible photos
Signed-off-by: Innei <tukon479@gmail.com>
2025-08-31 01:35:34 +08:00
Bojin Li
978413e8b4 feat(i18n): complete missing translations (#85) 2025-08-29 16:51:33 +08:00
Bojin Li
a8d9db5d05 fix(map): GPS coordinate hemisphere inversion bug (#84) 2025-08-29 16:51:07 +08:00
ChrAlpha
64b467735e feat: add RSS in social configuration (#82) 2025-08-21 17:53:16 +08:00
Wenzhuo Liu
1f52766c8f feat: add rating filter (#78) 2025-08-13 15:33:12 +08:00
Innei
ed679ac8e2 fix: update rating display logic in ExifPanel
- Changed the conditional rendering of the rating display to use a ternary operator for better clarity.
- Ensured that the rating is only displayed when it is greater than zero, improving the component's robustness.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-10 17:27:51 +08:00
ChrAlpha
5295b10ac7 fix: missing i18n/icon for camera&lens filter (#77) 2025-08-10 15:05:42 +08:00
科科
86b10288d7 feat(ClusterPhotoGrid): add year display (#80) 2025-08-07 00:26:57 +08:00
Innei
54b8bd334c feat: add camera and lens filtering functionality
- Introduced a new FilterPanel component for selecting tags, cameras, and lenses.
- Updated gallery settings to include selected cameras and lenses.
- Enhanced photo filtering logic to support camera and lens criteria.
- Updated UI to reflect changes in filtering options and improved user experience.
- Added localization for new filter options in English.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-04 01:44:26 +08:00
woolen-sheep
7cc1c267ea fix: map unable to display when width < 1024px (#74) 2025-08-04 00:38:09 +08:00
Innei
001506eee4 Revert "feat: auto categoried by camera & lens (#72)"
This reverts commit 21a6743c08.
2025-08-04 00:22:54 +08:00
ChrAlpha
21a6743c08 feat: auto categoried by camera & lens (#72) 2025-07-31 10:52:38 +08:00
Wenzhuo Liu
d440b6914c feat: display rating in exif panel (#69) 2025-07-28 19:48:57 +08:00
Bojin Li
ae289773ec fix(exif): use original HEIC buffer for EXIF extraction (#71) 2025-07-28 19:47:57 +08:00
woolen-sheep
2df572e7e8 feat: support tags search (#68) 2025-07-20 18:42:43 +08:00
woolen-sheep
2f479fe176 fix: photo id conflict (#67) 2025-07-17 22:30:16 +08:00
ChrAlpha
4008ef48ed feat(i18n): for minimap loading and view location messages (#64) 2025-07-15 16:55:18 +08:00
ChrAlpha
e89aedeedc feat(map): sync selected status with url (#65) 2025-07-15 16:55:01 +08:00
Innei
ac34e0ad4f refactor: streamline EXIF panel code for improved readability
- Consolidated GPS data computation into a single line for clarity.
- Removed unnecessary whitespace to enhance code cleanliness.
- Adjusted className logic for better consistency in styling.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-15 00:45:54 +08:00
Wenzhuo Liu
d16d6b9547 feat: add minimap support (#61) 2025-07-15 00:42:03 +08:00
Innei
da487a3000 refactor: update color documentation and enhance ErrorElement component
- Revised color documentation to streamline usage of Apple UIKit colors with Tailwind CSS, emphasizing the correct prefixes for different color categories.
- Refactored the ErrorElement component to improve layout and user experience, including a more structured error display and action buttons for reloading and going back.
- Removed unused translation imports and adjusted the error message presentation for clarity.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-15 00:19:46 +08:00
Magren
988846c46a fix: enhance EXIF panel and tooltip functionality (#62) 2025-07-14 10:53:32 +08:00
Bojin Li
c752dc4f7d fix(i18n): add missing translation key and remove hardcoded string (#60) 2025-07-13 20:21:52 +08:00
woolen-sheep
279ec609b0 fix: missing handleNext in PhotoViewer (#59) 2025-07-12 12:54:51 +08:00
Innei
6c702ef9f1 feat: enhance Masonry component with reposition functionality
- Added a `reposition` method to the Masonry component, allowing for dynamic layout adjustments.
- Updated MasonryRoot to utilize the new ref for repositioning when photos change.
- Introduced a new script command "web" in package.json for easier development with Vite.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-12 00:22:41 +08:00
Innei
440e051351 refactor: simplify PhotoViewer navigation and improve EXIF data formatting
- Removed unnecessary ellipsis handling in the Row component for displaying EXIF data.
- Enhanced PhotoViewer navigation by directly invoking swiper methods for previous and next slides.
- Updated SharePanel to ensure proper URL formatting for iframe sharing.
- Extracted photo filtering and sorting logic into a separate function for better reusability and clarity in usePhotoViewer hook.
- Adjusted layout to utilize the new getFilteredPhotos function for improved photo management.

Signed-off-by: Innei <tukon479@gmail.com>
2025-07-11 23:35:05 +08:00
Wenzhuo Liu
0c9b5f8714 docs: mention hdr support in readme (#54) 2025-07-11 18:43:56 +08:00