Commit Graph
11 Commits
Author SHA1 Message Date
Christian Vidal WolfandClaude Sonnet 4.6 c544b9b709 feat: persistent multi-step undo system in TopBar
fix: save all changes to Supabase with reliable upsert

- Replace broken PATCH→POST fallback with single atomic upsert (POST +
  Prefer: resolution=merge-duplicates). The old PATCH returned 200 OK
  with empty body for new articles, causing silent data loss on every
  first save per article.
- Fix getAllSyncedRows pagination: add explicit limit=10000 and Range
  header to bypass Supabase's default 1000-row cap.
- Add fetchWithRetry helper (2 retries on 5xx/network errors).
- handleSaveRow now returns Promise<boolean> and closes EditPanel only
  after a confirmed successful save.
- Add 'error' save status: failed rows turn red (border-l-red-500)
  across ProductDescriptions, ArticleDetails, and PricingView.
- EditPanel shows saving spinner, disables buttons while saving, and
  displays inline error message with "Retry Save" on failure.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 08:22:58 +02:00
Christian Vidal Wolf 24042a6aed feat: reorganize tabs, add Article Details, and enhance filters/search 2026-04-08 16:10:14 +02:00
Christian Vidal Wolf ec1b506341 feat: include article details (DE/EN) in completeness check and make them editable 2026-04-07 13:38:21 +02:00
Christian Vidal Wolf 16de3b3a6e feat: implement English to German translation for long descriptions 2026-04-07 08:35:04 +02:00
Christian Vidal Wolf 3b629bfb96 Add confirmation to Gemini actions in EditPanel 2026-03-29 18:29:11 +02:00
Christian Vidal Wolf 99825af08c Implement premium Confirmation Modal for all data-modifying actions 2026-03-29 18:26:20 +02:00
Christian Vidal Wolf e498325975 Implement Undo system for AI and bulk actions 2026-03-29 17:35:07 +02:00
Christian Vidal Wolf 3db2bc0dae Add Dimensions tab for packaging and MOQ consistency check 2026-03-29 17:30:04 +02:00
christian.vidal 9b10b628af fix(translate): increase token limit and improve prompt for full translation (no summarizing) 2026-03-27 14:15:51 +01:00
christian.vidal 255ca97508 feat: switch AI to Gemini and improve translation workflow 2026-03-27 13:58:20 +01:00
Christian a3bbc6607e feat: Initialize AI Studio project structure
Sets up a new project for an AI Studio application. Includes essential files like `package.json`, `vite.config.ts`, `tsconfig.json`, and a basic React application structure (`App.tsx`, `main.tsx`, `index.html`, `index.css`).

Also adds a `README.md` with instructions for running locally, an `.env.example` for API key configuration, and a `.gitignore` to manage project dependencies and build artifacts.
2026-03-27 11:34:09 +01:00