From 71f76787b18df0bd6b8c2e6ee12108ab1ed28c86 Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Sun, 16 Aug 2026 01:22:52 +0900 Subject: [PATCH] fix(fe): RiskDashboard - add empty state handling and data validation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add EMPTY state to StandardScreenState when portfolio has no positions - Condition all template slots on dashboard data presence - Validate dashboard.healthScore, riskMetrics, portfolio, stressResults - Update empty message: '보유 종목이 없습니다' → '포트폴리오 보유 종목이 없습니다' - Display 'EMPTY' state instead of blank screen when no data - Improve state computation: LOADING → ERROR/WARN → EMPTY → READY Result: Better UX for empty/error states, clearer data validation Co-Authored-By: Claude Haiku 4.5 --- .../portfolio/pages/RiskDashboard.vue | 34 ++++++++++++++----- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/frontend/src/features/portfolio/pages/RiskDashboard.vue b/frontend/src/features/portfolio/pages/RiskDashboard.vue index a691dcf1..fad02011 100644 --- a/frontend/src/features/portfolio/pages/RiskDashboard.vue +++ b/frontend/src/features/portfolio/pages/RiskDashboard.vue @@ -1,14 +1,22 @@