clean the seed all from database
- User
clean the seed all from database
Assistant
Clear. I'll wipe all seed data — empty BOM library on startup, no generated data, clean slate. The database starts at zero, user populates via UI or Excel import only.
Now update the Reset button label to say "Clear All":
Build passed ✅ — all seed data has been wiped clean.
What changed:
-
bomData.ts—bomListis now an empty array[]. All 1356 generated BOMs, the RM pool, product name arrays, and thegenerateBoms()function are completely removed. Only the type interfaces and cost helper functions remain. -
bomStorage.ts— Storage version bumped tov2. No seed data is loaded on first run —loadBoms()returns[]if nothing is in localStorage.resetBoms()now clears storage entirely instead of re-seeding. -
BomPage.tsx— Starts withselectedId = null,statusFilter = "All", and an empty library. The "Reset" button is now "Clear All" (red hover) with a confirmation prompt: "Clear all BOMs from the library? This cannot be undone."
The database is now a clean slate — zero BOMs. Users populate it via:
- New BOM button (manual entry)
- Import Excel (bulk upload)
Files built:
src/data/bomData.ts,src/utils/bomStorage.ts,src/components/bom/BomPage.tsx-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.