feat(desktop): 稳定桌面端界面与文件操作反馈

- 重构 DesktopPreferences 为分栏式设置面板,整合连接、外观、通知、更新与诊断信息分区,并补充过渡动效与暗色主题样式
- DesktopLayout 侧边栏导航分组支持展开折叠,调整管理/项目区块顺序并统一图标与标题
- 新增 fileTaskFeedback 工具,统一 pickFiles/saveFile/openFile 的成功/取消提示,替换审计导出、权限日志、附件、文档、线程、项目配置等处的直接调用
- desktopUpdateManager 暴露更新状态快照与状态变更监听,区分检查中、安装中、已推迟、失败等状态
- DesktopServerSettings 增加连接诊断信息(检查时间、健康地址、耗时、HTTP 状态)
- unified-page.css 与 ProjectMilestones 引入 CSS 变量以适配暗色主题
- WebLayout 将服务器设置入口改为打开系统偏好面板,管理菜单中邮件服务归入系统设置分组
- ProfileSettings 移除已迁入偏好面板的桌面端专属区块
- 补充 Layout.desktop 布局与偏好面板契约测试
This commit is contained in:
Cheng Zhou
2026-07-01 17:04:23 +08:00
parent 593c60c782
commit 8c8327df92
19 changed files with 2098 additions and 612 deletions
+20 -6
View File
@@ -7,6 +7,20 @@
--unified-shell-padding-y: 10px;
--unified-title-color: #0f2345;
--unified-muted-color: #6f84a8;
--unified-table-header-bg: #f7f9fc;
--unified-table-header-color: #34506f;
--unified-row-divider: #edf2f8;
}
:root[data-ctms-theme="dark"] {
--unified-shell-bg: var(--ctms-bg-card);
--unified-shell-border: var(--ctms-border-color);
--unified-shell-divider: var(--ctms-border-color);
--unified-title-color: var(--ctms-text-main);
--unified-muted-color: var(--ctms-text-secondary);
--unified-table-header-bg: var(--ctms-bg-muted);
--unified-table-header-color: var(--ctms-text-main);
--unified-row-divider: var(--ctms-border-color);
}
.ctms-page-shell {
@@ -85,7 +99,7 @@
.page>.page-header.unified-action-bar {
border: 0;
border-radius: var(--unified-shell-radius);
background: #ffffff;
background: var(--unified-shell-bg);
box-shadow: none;
}
@@ -156,15 +170,15 @@
}
.unified-shell .el-table th.el-table__cell {
background-color: #f7f9fc;
color: #34506f;
background-color: var(--unified-table-header-bg);
color: var(--unified-table-header-color);
font-weight: 600;
height: 40px;
font-size: 13px;
}
.unified-shell .el-table td.el-table__cell {
border-bottom-color: #edf2f8;
border-bottom-color: var(--unified-row-divider);
padding: 7px 0;
}
@@ -178,7 +192,7 @@
}
.unified-shell .el-tabs__nav-wrap::after {
background-color: #edf2f8;
background-color: var(--unified-row-divider);
}
.unified-shell .el-tabs__item {
@@ -263,4 +277,4 @@
padding-left: 14px;
padding-right: 14px;
}
}
}