From bbefb36f470810801c75e6188c918ae3b56f04e4 Mon Sep 17 00:00:00 2001 From: Floke Date: Mon, 19 Jan 2026 11:51:07 +0000 Subject: [PATCH] feat(ui): Update Industries settings to display Notion-synced fields read-only --- .../src/components/RoboticsSettings.tsx | 91 ++++++++++++------- 1 file changed, 57 insertions(+), 34 deletions(-) diff --git a/company-explorer/frontend/src/components/RoboticsSettings.tsx b/company-explorer/frontend/src/components/RoboticsSettings.tsx index 129e0670..2ffc831a 100644 --- a/company-explorer/frontend/src/components/RoboticsSettings.tsx +++ b/company-explorer/frontend/src/components/RoboticsSettings.tsx @@ -118,49 +118,72 @@ export function RoboticsSettings({ isOpen, onClose, apiBase }: RoboticsSettingsP {activeTab === 'industries' && (
-

Industry Verticals

+

Industry Verticals (Synced from Notion)

+ {/* Notion SSoT: Creation disabled here + */}
{industries.map(ind => ( -
-
-
- handleUpdateIndustry(ind.id, { name: e.target.value })} - /> -
- handleUpdateIndustry(ind.id, { is_focus: e.target.checked })} - className="rounded border-slate-300 dark:border-slate-700" - /> - Focus? +
+ {/* Sync Indicator */} + {ind.notion_id && ( +
+ SYNCED +
+ )} + + {/* Top Row: Name, Status, Group */} +
+
+

{ind.name}

+
+ {ind.industry_group && {ind.industry_group}} + {ind.status_notion && {ind.status_notion}} +
+
+
+
+ + {ind.is_focus ? "Focus" : "Standard"}
-