chore(dashboard): drop dead reportDashboardPerf client and its log file

The /_perf/dashboard-load server route no longer exists, so every
reportDashboardPerf() call was a silently-swallowed 404. Remove the helper
in legacy.ts plus its five call sites in App.tsx / useProjects.ts (the
companion console.log lines stay), and drop the dashboard-perf.log entry
from the test-isolation runtime ignore list since nothing writes that file
anymore.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-05-06 12:14:26 -07:00
parent ac09fcabf7
commit 9e6935a5c5
4 changed files with 14 additions and 24 deletions

View File

@@ -0,0 +1,11 @@
---
"@runfusion/fusion": patch
---
Remove the dead `reportDashboardPerf` client and its five call sites in
`App.tsx` / `useProjects.ts`. The companion server route `/_perf/dashboard-load`
no longer exists, so every call was a silently-swallowed 404. Also drops the
`dashboard-perf.log` runtime ignore-list entry from
`scripts/check-test-isolation.mjs` since nothing creates that file anymore.
Console-side perf logging via `console.log("[App] …")` and
`console.log("[useProjects] …")` is preserved.