✨ feat(core): 实现回收站条目展示逻辑及UI组件
* 新增 TrashItemInfo 组件以优化回收站列表项展示 * 封装 trashPresentation 工具类处理时间显示逻辑 * 调整 TrashView 布局,重构列表项渲染逻辑 * 新增回收站功能相关的集成测试与单元测试 * 更新测试文档以说明回收站日期格式化测试规则 * 更新 package.json 依赖配置
This commit is contained in:
1 parent
af009cf3c5
commit
614b9a2104
7 files changed
+243
-14
No files matched your search
@@ -24,3 +24,14 @@ natural height, visible retrieval records, no vertical record transform, rapid
|
||||
reversals and final collapsed layout. It only toggles presentation and never
|
||||
uploads, deletes, restores or changes file data. These checks do not measure
|
||||
whole-project coverage or validate the storage implementation.
|
||||
|
||||
## Recycle bin information
|
||||
|
||||
- `npm run test:trash`: relative-time boundary tests and Vue SSR integration
|
||||
checks for normal, urgent, permanent, purged and incomplete records.
|
||||
- `npm run test:trash:coverage`: coverage of `src/utils/trashPresentation.ts` only.
|
||||
|
||||
Seven days is inclusive in both directions; older or more distant dates use
|
||||
exact local date/time. Relative labels refresh every minute. Native title text
|
||||
retains the exact date/time. The three-day cleanup warning is independent of
|
||||
the seven-day formatting boundary. These tests do not modify backend data.
|
||||
Reference in new issue
Block a user