feat: 优化全局 UI 交互与页面视觉体验

统一按钮、输入框、选择控件和开关的交互状态
优化日报、导出、设置、Agent Hub 和 API Center 的UI
完善组件、单元及 Electron E2E 测试
This commit is contained in:
Wxw-Gu
2026-08-21 15:05:06 +08:00
parent 67b1df7e80
commit 262b15db84
41 changed files with 245 additions and 225 deletions
+1
View File
@@ -55,6 +55,7 @@ export async function launchTestApp(
})
const page = await app.firstWindow()
await page.waitForLoadState('domcontentloaded')
if (options.now) await page.clock.setFixedTime(options.now)
const setWindowContentSize = async (size: { width: number; height: number }): Promise<void> => {
await app.evaluate(({ BrowserWindow, screen }, nextSize) => {
const [window] = BrowserWindow.getAllWindows()