mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-08-21 21:47:00 +08:00
feat: 优化全局 UI 交互与页面视觉体验
统一按钮、输入框、选择控件和开关的交互状态 优化日报、导出、设置、Agent Hub 和 API Center 的UI 完善组件、单元及 Electron E2E 测试
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
import { describe, expect, it } from 'vitest'
|
||||
import { SETTINGS_NAVIGATION } from '../../src/renderer/src/features/settings/model/settingsNavigation'
|
||||
import {
|
||||
SETTINGS_CATEGORY_LABELS,
|
||||
SETTINGS_NAVIGATION
|
||||
} from '../../src/renderer/src/features/settings/model/settingsNavigation'
|
||||
|
||||
describe('settings navigation', () => {
|
||||
it('places text-to-speech under intelligent capabilities', () => {
|
||||
@@ -10,4 +13,11 @@ describe('settings navigation', () => {
|
||||
'ai-model'
|
||||
])
|
||||
})
|
||||
|
||||
it('temporarily hides storage and export from visible navigation', () => {
|
||||
expect(SETTINGS_NAVIGATION.flatMap((group) => group.items)).not.toEqual(
|
||||
expect.arrayContaining([{ id: 'storage-export', label: '存储与导出' }])
|
||||
)
|
||||
expect(SETTINGS_CATEGORY_LABELS['storage-export']).toBe('存储与导出')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user