5 Commits

Author SHA1 Message Date
4f898054ff refactor: Merge add/edit shopping event forms into single component
• Consolidate ShoppingEventForm and EditShoppingEvent into one component
• Use URL parameters to detect add vs edit mode
• Eliminate code duplication while maintaining all functionality
• Remove obsolete EditShoppingEvent.tsx component
2025-05-25 20:42:52 +02:00
2fadb2d991 feat: Implement comprehensive edit functionality and standardize UI components
• Add full edit functionality for groceries with modal support
• Standardize delete confirmations across all components using ConfirmDeleteModal
• Implement complete shopping event edit functionality:
  - Create EditShoppingEvent component with full form capabilities
  - Add missing backend PUT endpoint for shopping events
  - Support editing all event data (shop, date, groceries, amounts, prices, notes)
• Add inline grocery edit functionality in shopping event forms:
  - Allow editing grocery items within add/edit forms
  - Load selected items back into input fields for modification
• Fix date timezone issues in edit forms to prevent date shifting
• Remove non-functional "View Details" button in favor of working Edit button
• Enhance user experience with consistent edit/delete patterns across the app

Breaking changes: None
Backend: Added PUT /shopping-events/{id} and DELETE /shopping-events/{id} endpoints
Frontend: Complete edit workflow for all entities with improved UX
2025-05-25 18:51:47 +02:00
500cb8983c feat: implement shop CRUD operations and fix address deletion bug
- Add shop creation, editing, and deletion functionality
- Create AddShopModal and ConfirmDeleteModal components
- Add missing backend PUT/DELETE endpoints for shops
- Fix address field not clearing when edited to empty value
2025-05-25 12:56:56 +02:00
cd39ac1fe8 fix add grocery 2025-05-24 22:52:10 +02:00
00f18baa2d Initial Version 2025-05-23 20:44:23 +02:00