docs: update VERSION and SESSION_STATE for v1.14.3 - Image Confirmation UX
Documented the complete image pipeline feature: - v1.14.1: Type system fix (photo_path fields) - v1.14.2: Serialization fix (Blob to base64) - v1.14.3: User control (image confirmation buttons) Users now have full control over whether extracted photos are auto-saved through the 'Use Photo' / 'Skip Photo' buttons in the editing form.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# CURRENT AI WORKING SESSION — HANDOVER
|
||||
|
||||
**Active AI:** Claude Haiku 4.5
|
||||
**Last Updated:** 2026-04-21 (Session 29 - Image Serialization Bugfix)
|
||||
**Current Version:** v1.14.2 (Blob serialization + photo display fixes complete)
|
||||
**Branch:** dev (Phase 3 complete + critical fixes applied, production-ready)
|
||||
**Last Updated:** 2026-04-21 (Session 29 - Image Pipeline Complete)
|
||||
**Current Version:** v1.14.3 (Full image pipeline: extraction, serialization, confirmation, save, display)
|
||||
**Branch:** dev (Phase 3 production-ready with user control over photo extraction)
|
||||
|
||||
---
|
||||
|
||||
@@ -57,6 +57,32 @@ The extracted image Blob object cannot be JSON serialized. When `handleOnboardin
|
||||
|
||||
**Status:** ✅ **FIXED** — Full image pipeline working: extract → serialize → save → display
|
||||
|
||||
### Part 3 - User Confirmation (v1.14.3)
|
||||
**User Feedback:** "Photo should ask user if is ok or not to save that image"
|
||||
|
||||
**Solution:** Added image preview and confirmation buttons to the item editing form
|
||||
|
||||
**Changes:**
|
||||
1. **frontend/components/AIOnboarding.tsx**:
|
||||
- Display extracted image in the edit form (between photo preview and fields)
|
||||
- Two buttons: "Use Photo" (saves) and "Skip Photo" (creates item without photo)
|
||||
- Visual feedback showing when photo will be skipped
|
||||
|
||||
2. **frontend/hooks/useAIExtraction.ts**:
|
||||
- Updated `confirmSingleItem`: Check `_skipPhoto` flag before including image blob
|
||||
- Updated `confirmAllItems`: Respect skip flag for batch operations
|
||||
- Only pass `extractedImageBlob` if user explicitly approved it
|
||||
|
||||
**User Flow (v1.14.3):**
|
||||
1. User takes photo and extracts item data
|
||||
2. User sees extracted image and can edit fields
|
||||
3. **NEW**: User can click "Use Photo" or "Skip Photo" (has control!)
|
||||
4. Item is created ± photo based on user choice
|
||||
5. If photo approved: auto-photo-save happens, image displays
|
||||
6. If photo skipped: item created without image, user can upload later
|
||||
|
||||
**Status:** ✅ **COMPLETE** — Users now control whether extracted photos are auto-saved
|
||||
|
||||
---
|
||||
|
||||
## SESSION 28 SUMMARY — Phase 3 COMPLETE: AI Extraction + Auto-Photo-Save Feature Implementation
|
||||
|
||||
Reference in New Issue
Block a user