Commit Graph

10 Commits

Author SHA1 Message Date
seb
404a7f4fce Add category image upload with thumbnail backdrop in category tiles
- Add category image API methods (upload/delete) to src/api/index.js
- Add uploadCategoryImage/deleteCategoryImage thunks and extraReducers in categorySlice
- Add CategoryBackdrop component showing ThumbHash placeholder with full thumb overlay
- Add photo upload/delete tab to CategoryEditTile settings cycle
- Category tile label band uses semi-transparent black overlay with white text
- Pass thumbHash/fullHash to both CategoryTile and CategoryEditTile
2026-08-03 07:57:44 +02:00
seb
4bbe9caf55 Directly patch posterminalIds in Redux instead of reloading the category tree
After toggling a POS category, update the category's posterminalIds array
in-place rather than re-fetching the entire tree. This keeps the settings
cycle open on the same terminal. Also fix off-by-one in terminal cycling
and ensure posterminals load on category page mount.
2026-08-03 07:22:08 +02:00
seb
f302eb9e67 u 2026-08-03 07:13:42 +02:00
seb
4db4948090 u 2026-08-03 05:11:50 +02:00
seb
6d01f1f0a0 u 2026-08-03 02:53:46 +02:00
seb
8577a63b06 u 2026-08-03 00:22:46 +02:00
seb
52e4d3d9c9 u 2026-08-02 22:53:35 +02:00
seb
09fb1da335 Enhance article photo handling and API documentation.
- Updated API documentation to reflect changes in article data structure.
- Improved ArticlePhoto component to support dynamic sizing and object fit options.
- Added performance logging for image upload in ArticlePhotosDialog and ArticlePhotoTile components.
- Enhanced ArticleTile to conditionally render photos and adjusted styling for better layout.
- Optimized image preparation process with configurable AVIF encoding speed.
2026-08-01 04:32:49 +02:00
seb
a6a9777f31 u 2026-07-31 17:51:57 +02:00
seb
797ea59bed u 2026-07-31 08:34:51 +02:00