The importer reuses the app's VITE_SUPABASE_URL and VITE_SUPABASE_ANON_KEY. Writes are made as a signed-in admin, so Row Level Security protects the catalog tables. No service-role key is needed.
✓ Applied (catalog version )
Not applied yet — missing: .
(button below) and run it. It is idempotent.public.catalog_admins (seeded with the app's admin emails).Signed in as —
App admin emails:
For each source: Find brands → select → Dry run → check names → Apply. Then publish in Curation and, on Publish, click Run backfill (Link existing listings) and Publish snapshot. Click a step to switch source with its recommended settings.
Enrich-only: unmatched brands/models are skipped (close spellings go to Match review).
Variants are attached to existing models by the longest matching name ("A5 S Line Blk" → A5) before anything is created. Names with no match become new draft models; check the dry run and hide junk in Curation.
brand(s) selected. Dry run compares with your database without writing anything.
| Brand | Source id | Models | Categories | Popularity | Details | |
|---|---|---|---|---|---|---|
tree truncated — stats are complete
| insert | update | unchanged | queued | skipped | |
|---|---|---|---|---|---|
Errors: (see job log)
| Name | Action | Matched by | Changed fields | Source id |
|---|---|---|---|---|
Models whose best match had a similarity between the review and auto-link thresholds. Link re-imports the model (with its generations and modifications) into the chosen existing model. As generation adds it as a draft generation of the chosen model ("Nuova Sandero" → Sandero) with its engines; later imports keep it there. Ignored items are skipped by future imports.
| queueSel[i.id] = $event.target.checked)" /> | Source | Brand | Incoming model | Years | Candidates | Action |
|---|---|---|---|---|---|---|
| Brand | Status | Models (pub/total) | |
|---|---|---|---|
| 🔒 |
| Model | Cat | Years | Dec | G/M | Status | |
|---|---|---|---|---|---|---|
| 🔒 |
| When | Mode | Source | Status | Summary | |
|---|---|---|---|---|---|
| Entity | Action | Before | After |
|---|---|---|---|
The refactored app reads brands and models straight from the catalog tables. Older clients (and anything else still reading platform_filters.main_config) see the catalog only after you publish a snapshot of the published rows. Filter option lists (body styles, fuels…) are kept as they are.
Fills the new brand_id / model_id / generation_id columns on marketplace listings, garage cars and wishlist items by matching their text brand/model against the catalog. Only empty FK columns are filled. Text columns are never changed.
Changed fields become locked: imports will never overwrite them. Untick a lock to let sources update the field again.