feat: 隐藏设置里的防撤回入口,历史开启强制收敛为 false

This commit is contained in:
Wxw-Gu committed 2026-09-15 11:26:06 +08:00
1 parent 67dc45819e
commit 21b2b57d28
6 files changed
+95 -38

No files matched your search

+7
View File
@@ -22,4 +22,11 @@ describe('settings navigation', () => {
)
expect(SETTINGS_CATEGORY_LABELS['storage-export']).toBe('存储与导出')
})
it('hides recall protection from visible navigation', () => {
expect(SETTINGS_NAVIGATION.flatMap((group) => group.items)).not.toEqual(
expect.arrayContaining([{ id: 'recall-protection', label: '防撤回' }])
)
expect(SETTINGS_CATEGORY_LABELS['recall-protection']).toBe('防撤回')
})
})