Files
PriceForge/bible-local
Mikhail Chusavitin f73e3d144d Vendor mapping: wildcard ignore patterns, bulk CSV import, multi-lot qty
- Add glob pattern support (* and ?) for ignore rules stored in
  qt_vendor_partnumber_seen (is_pattern flag, migration 041)
- Pattern matching applied in stock/competitor import, partnumber book
  snapshot, and vendor mappings list (Go-side via NormalizeKey)
- BulkUpsertMappings: replace N+1 loop with two batch SQL upserts,
  validating all lots in a single query (~1500 queries → 3-4)
- CSV import: multi-lot per PN via repeated rows, optional qty column
- CSV export: updated column format vendor;partnumber;lot_name;qty;description;ignore;notes
- UI: ignore patterns section with add/delete, import progress feedback
- Update bible-local/vendor-mapping.md with new CSV format

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-19 09:41:48 +03:00
..

UI Design Code

Submodule-first design-code kit for Go web applications and AI coding agents.

This repository is meant to be added to host projects as a git submodule and used to copy/sync canonical documentation, AI instruction templates, scaffolds, and UI pattern building blocks.

Intended Usage

  1. Add as submodule (recommended path: tools/ui-design-code)
  2. Use tools/designsync to list/plan/apply bundles into the host repo
  3. Review changes and commit in the host repo

Public Surface (stable)

  • kit/
  • exports/
  • tools/designsync/
  • README.md
  • VERSIONING.md
  • CHANGELOG.md

demo/ is a runnable reference app and may change faster.

Quick Start (this repo)

go test ./...
go build ./tools/designsync

cd demo
go test ./...
go run ./cmd/demo-server

Documentation

  • Architecture source of truth: bible/README.md
  • AI instructions: CLAUDE.md, AGENTS.md