From 3fba6bf478331d7c2f50c2857b54471c7979156f Mon Sep 17 00:00:00 2001 From: Lum1104 Date: Thu, 2 Apr 2026 12:20:36 +0800 Subject: [PATCH] fix(dashboard): add button types, validation warning, and title attributes to view toggle Co-Authored-By: Claude Opus 4.6 (1M context) --- understand-anything-plugin/packages/dashboard/src/App.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/understand-anything-plugin/packages/dashboard/src/App.tsx b/understand-anything-plugin/packages/dashboard/src/App.tsx index 2bab64e..77cf275 100644 --- a/understand-anything-plugin/packages/dashboard/src/App.tsx +++ b/understand-anything-plugin/packages/dashboard/src/App.tsx @@ -279,6 +279,8 @@ function Dashboard({ accessToken }: { accessToken: string }) { const result = validateGraph(data); if (result.success && result.data) { setDomainGraph(result.data); + } else if (result.fatal) { + console.warn(`[domain-graph] validation failed: ${result.fatal}`); } }) .catch(() => { @@ -315,7 +317,9 @@ function Dashboard({ accessToken }: { accessToken: string }) {