Commit Graph

10 Commits

Author SHA1 Message Date
20bdc7ff70 claude fix: improve product scraping and debugging features 2026-01-19 21:26:45 +01:00
dcb25e0163 claude 2026-01-19 06:16:38 +01:00
4ff5d3ee79 feat: auto-scrape on product creation and update product data (Step 4)
- Add automatic scraping when creating a new product
- Update product title and image from scraped data
- Add GET /products/{id}/snapshots endpoint for price history
- Add list_snapshots and get_latest_snapshot to CRUD

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 19:33:04 +01:00
744d16c2c5 feat: add Zustand store, product list and add product modal (Steps 2-3)
- Create useProductStore with Zustand for state management
- Enrich client.js with all API functions (CRUD, scrape)
- Connect HomePage to store with loading/error states
- Add ProductCard with scrape/delete actions
- Add ProductGrid component
- Add AddProductModal with URL extraction
- Update Header with refresh and scrape all buttons
- Add comprehensive styles for cards and modal

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 19:30:23 +01:00
a49b0e3bad feat: add debug page with tables and logs viewer (Step 1)
Backend:
- Add /debug/tables endpoint to dump SQLite tables
- Add /debug/logs endpoint to read scrap.log

Frontend:
- Add react-router-dom for navigation
- Create HomePage and DebugPage components
- Add navigation bar with Debug link
- Style debug page with Gruvbox theme
- Fix package.json dependencies versions

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 19:27:23 +01:00
8397ec9793 1 2026-01-18 19:21:51 +01:00
9a6448facc docs: add frontend Phase 2 implementation plan
- Add detailed 6-step development plan for frontend
- Define architecture with React Router for multi-store evolution
- Document API endpoints needed (existing + to create)
- Update TODO.md and kanban.md with current status

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 19:21:19 +01:00
bb1263edb8 1er 2026-01-18 12:23:01 +01:00
ef3d0ed970 1er 2026-01-18 12:22:43 +01:00
957b4ff123 Initial commit 2026-01-18 08:52:51 +01:00