fix(webui): preserve dashboard widget settings

Keep per-widget configuration when persisted overview layouts are migrated against the current widget catalogue. Account shortcuts, notes, links, filters, and other configurable widgets now retain their saved values after a page reload.

Add a WebUI Vitest entry point and regression coverage for restoring an account widget with saved configuration.

Fixes #243.
This commit is contained in:
DrSmoothl committed 2026-07-19 15:26:22 +08:00
1 parent 605b5d1104
commit 87bab6666b
4 files changed
+37 -3

No files matched your search

+3 -1
View File
@@ -7,6 +7,7 @@
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"test": "vitest run",
"typecheck": "tsc -b",
"lint": "eslint .",
"preview": "vite preview"
@@ -48,6 +49,7 @@
"tailwindcss": "^4.2.2",
"typescript": "catalog:",
"typescript-eslint": "^8.58.2",
"vite": "catalog:"
"vite": "catalog:",
"vitest": "^4.1.4"
}
}