fix(explorer): resolve notion sync, add debug logging, and fix UI display for industries v0.6.1

This commit is contained in:
2026-01-20 15:35:26 +00:00
parent d5f4d73ee0
commit eacd572124
6 changed files with 129 additions and 185 deletions

View File

@@ -88,6 +88,12 @@ Wir kapseln das neue Projekt vollständig ab ("Fork & Clean").
* `description` (Text - Abgrenzung/Definition)
* `is_focus` (Boolean)
* `primary_category_id` (FK -> robotics_categories.id)
* `metric_type` (String: `Unit_Count`, `Area_in`, `Area_out` - Art der Metrik zur Größenbestimmung)
* `min_requirement` (Float, nullable - Minimaler Schwellenwert für Signal-Relevanz)
* `whale_threshold` (Float, nullable - Schwellenwert, ab dem ein Account als "Whale" gilt)
* `proxy_factor` (Float, nullable - Multiplikator für die Standardisierungslogik)
* `scraper_keywords` (JSON-Array von Strings - Keywords für den Scraper zur Metrik-Erkennung)
* `standardization_logic` (String - Formel zur Standardisierung der Metrik, z.B. "wert * 25m²")
### Tabelle `job_role_mappings` (Rollen-Logik)
* `id` (PK)
@@ -152,7 +158,7 @@ Contacts stehen in 1:n Beziehung zu Accounts. Accounts können einen "Primary Co
## 7. Historie & Fixes (Jan 2026)
* **[UPGRADE] v0.6.0: Notion Single Source of Truth (Jan 19, 2026)**
* **[UPGRADE] v0.6.1: Notion Single Source of Truth (Jan 20, 2026)**
* **Notion SSoT:** Umstellung der Branchenverwaltung (`Industries`) und Robotik-Kategorien auf Notion. Lokale Änderungen im Web-Interface sind für synchronisierte Felder deaktiviert, um die Datenintegrität zu wahren.
* **Dynamische Klassifizierung:** Der `ClassificationService` lädt die `allowed_industries` nun direkt aus der Datenbank, die wiederum via Sync-Skript aus Notion befüllt wird.
* **Erweiterte Datenmodelle:** Die Datenbank wurde um Felder wie `whale_threshold`, `min_requirement`, `scraper_keywords` und `industry_group` erweitert.