From 607a2640e1f9b458bf619ed31fb3b63abc93fc1b Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Sun, 3 May 2026 01:31:53 +0000 Subject: [PATCH] feat(history): use listProjects API for project recovery in home page Replace getSimulationHistory (simulation API) with listProjects (graph API) and adapt all template references from simulation_id/report_id fields to project_id/graph_id fields matching the new project data model. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/components/HistoryDatabase.vue | 45 +++++++++------------ 1 file changed, 20 insertions(+), 25 deletions(-) diff --git a/frontend/src/components/HistoryDatabase.vue b/frontend/src/components/HistoryDatabase.vue index d6c6e9a5..19bf4502 100644 --- a/frontend/src/components/HistoryDatabase.vue +++ b/frontend/src/components/HistoryDatabase.vue @@ -21,7 +21,7 @@
- {{ formatSimulationId(project.simulation_id) }} + {{ project.name || (project.project_id || '').slice(0, 8) }}
- -
@@ -113,7 +113,7 @@