refactor: 全局重构原生弹窗为自定义 Modal 并同步更新项目文档

- 替换所有不可用的 `alert`, `confirm`, `prompt` 调用为异步的自定义 `Modal` 组件以适配 Tauri WebView 的 API 限制。
- 优化与重构核心服务组件接口,增加模型有效性测试 (`test_model`) 以及依赖更新支持。
- 同步补齐 `README.md` 与 `CHANGELOG.md` 新增的系统特性说明(含仪表盘、日记、存储、重构页面调整)。
This commit is contained in:
晴天
2026-02-28 03:42:19 +08:00
parent 75e94a7560
commit 84a6ab4d45
24 changed files with 1591 additions and 488 deletions

View File

@@ -76,6 +76,14 @@
background: var(--bg-glass);
}
/* 配置项说明 */
.form-hint {
font-size: var(--font-size-xs);
color: var(--text-tertiary);
margin-top: 4px;
line-height: 1.5;
}
/* 配置编辑区 */
.config-section {
background: var(--bg-card);
@@ -165,25 +173,3 @@
padding: var(--space-sm) var(--space-lg);
border-bottom: 1px solid var(--border-secondary);
}
.editor-content {
flex: 1;
padding: var(--space-lg);
overflow-y: auto;
font-family: var(--font-mono);
font-size: var(--font-size-sm);
line-height: 1.7;
}
.editor-content textarea {
width: 100%;
height: 100%;
background: transparent;
border: none;
resize: none;
outline: none;
color: var(--text-primary);
font-family: var(--font-mono);
font-size: var(--font-size-sm);
line-height: 1.7;
}