fix: improve install/uninstall stability + dreaming animations + scan fix flow

Dreaming page:
- Restore animated hero card (stars, moon, floating Z's, deep sky gradient)
- Glass-morphism stat cards inside hero
- runAction/toggleDreaming: friendly toast for unsupported RPCs instead of raw error

Install/Uninstall (config.rs):
- pre_install_cleanup: fix Windows process kill (wmic CommandLine match instead of useless WINDOWTITLE filter), kill standalone dir processes, wait 2s
- uninstall: wait 3s after gateway stop, wmic kill standalone processes, retry deletion with 3s delay
- upgrade source-switch: standalone cleanup with process kill + retry + wait
- gateway reinstall: wait 2s after stop before install

Scan fix flow (chat-debug.js):
- 5-step fix with progress toasts (pairing, doctor, gateway, wait, websocket)
- Gateway start polling (up to 15s) instead of fixed 5s wait
- WebSocket reconnect polling (up to 12s) instead of fixed 3s wait

Frontend (modal.js + about.js):
- setProgressLabels() for custom progress text per modal usage
- Uninstall modal shows "停止服务/卸载组件/清理文件" instead of "下载依赖"

i18n: 11 locales updated with fixStep* and uninstall progress keys
This commit is contained in:
晴天
2026-04-11 00:37:14 +08:00
parent cfd00f043e
commit 56039ce932
18 changed files with 822 additions and 788 deletions

View File

@@ -1690,6 +1690,9 @@
"uninstallDone": "Uninstall complete",
"uninstallFailed": "Uninstall failed: ",
"uninstallTaskStarted": "Background uninstall task started...",
"uninstallStopping": "Parando serviços...",
"uninstallRemoving": "Removendo componentes...",
"uninstallCleaning": "Limpando arquivos...",
"versionLabel": "Versão",
"selectVersion": "Select Version",
"versionPickerHint": "Recommended to use the stable version bound to this panel. Switching to other versions (especially preview/latest) requires manual compatibility verification. Submit an issue if you want latest version support.",