✨ feat: 重构管理后台并增强组件系统与回收站功能
* 新增自适应数值与窗口分析工具,提升交互体验 * 优化回收站模块逻辑,增加展示与选择功能 * 引入 Macaron 主题配置文件并更新 Tailwind 配置 * 精简基础组件代码,移除冗余样式与设置项 * 完善测试用例,覆盖 UI 系统与回收站工作流 * 更新多语言配置,支持功能变更后的文案需求
This commit is contained in:
1 parent
614b9a2104
commit
9b22534e2b
61 files changed
+1624
-832
No files matched your search
@@ -28,7 +28,7 @@ test('purged and permanent records do not show a misleading countdown', async ()
|
||||
test('urgent status remains readable with explicit text in dark mode', async () => {
|
||||
const html = await render({ trashExpiresAt: '2026-09-16T15:00:00+08:00', trashReason: 'expired' }, true)
|
||||
assert.ok(html.includes('trash-item-info--dark') && html.includes('trash-tone-warning'))
|
||||
assert.ok(html.includes('3 小时后') && html.includes('即将清理') && html.includes('已过期或次数用尽'))
|
||||
assert.ok(html.includes('3 小时后') && html.includes('即将清理') && html.includes('历史自动回收'))
|
||||
})
|
||||
test('missing metadata has safe fallbacks and filenames are escaped', async () => {
|
||||
const html = await render({ name: '<script>alert(1)</script>', code: '', size: -1, trashedAt: null, trashExpiresAt: null })
|
||||
|
||||
Reference in new issue
Block a user