fix blank page, icons, add logging and EVM balance chart

- Fix blank page: set viewsRoot, base:'', history.replaceState in index.html
- Fix chain icons: add dist/icons→views/mainview/icons copy rule
- Add file-based logger (src/bun/lib/logger.ts) with logToFile RPC
- Add frontend error overlay + global error listeners in index.svelte
- Add EVM balance chart with time range filters (EvmDashboard.svelte)
- Replace console.log with file logger throughout backend
- Improve get-env.ts to read version.json for channel detection
This commit is contained in:
2026-06-27 16:59:15 +08:00
parent 0b6df331ee
commit f46e61ed5e
11 changed files with 297 additions and 39 deletions
+1
View File
@@ -148,6 +148,7 @@ export type GeneralRpcRequests = {
setSecret: { params: { service: string; name: string; value: string }; response: void }
openExternal: { params: { url: string }; response: void }
generateQrCode: { params: { text: string; size?: number }; response: string }
logToFile: { params: { message: string }; response: void }
}
export type EvmRpcRequests = {