Files
GearBox/docs/backlog/todos/2026-04-10-add-manufacturer-entity-with-brand-details.md
Jean-Luc Makiola 0202d0bb5c
All checks were successful
CI / ci (push) Successful in 2m0s
CI / e2e (push) Has been skipped
CI / deploy (push) Successful in 15s
docs: add superpowers-friendly state and backlog summary
Summarize current v2.4 state and forward-looking backlog in docs/ as a
parallel entry point to the active .planning/ GSD workspace. Lets
superpowers skills (brainstorming → writing-plans → executing-plans)
work from a clean starting point without retiring the existing workflow.

Also ignore .idea/ so JetBrains project files stay local.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 13:16:15 +02:00

1.1 KiB

created, title, area, files
created title area files
2026-04-10T09:23:46.394Z Add manufacturer entity with brand details database
src/db/schema.ts
src/server/services/global-item.service.ts

Problem

The manual item adding form doesn't include detailed manufacturer info. Currently brand is just a text field on items and globalItems. There's no structured manufacturer data (logo, website, country, description). Users can't select from existing manufacturers — they type freeform text which leads to inconsistencies ("Ortlieb" vs "ORTLIEB" vs "ortlieb").

Solution

Create a manufacturers table with fields: id, name (unique), logoUrl, websiteUrl, country, description, createdAt. Add a manufacturerId FK on globalItems (and potentially items). Build a manufacturer picker component (like CategoryPicker) with search and inline create. Update the manual add form and catalog enrichment to use the manufacturer entity. This is a significant feature — likely needs its own phase.

Note: This would also improve the MCP agent seeding workflow — agents could create manufacturers first, then reference them when creating catalog items.