✨ feat(core): 实现详情面板动画逻辑并完善相关测试

* 新增 detailMotion 工具类以支持更精细的动画控制
* 优化 FileManageView 面板渲染逻辑,改用 v-show 提升交互性能
* 调整 Transition 组件为手动控制模式以适配自定义动画
* 在 package.json 中配置自动化测试脚本
* 补充 detailMotion 相关的单元测试与测试说明文档
This commit is contained in:
orion committed 2026-09-15 11:25:43 +08:00
1 parent 9bac0c0040
commit af009cf3c5
6 files changed
+307 -138

No files matched your search

+2
View File
@@ -5,6 +5,8 @@
"type": "module",
"scripts": {
"dev": "vite",
"test:motion": "node --experimental-strip-types --test tests/detailMotion.test.mjs",
"test:motion:coverage": "node --experimental-strip-types --test --experimental-test-coverage --test-coverage-include=src/utils/detailMotion.ts tests/detailMotion.test.mjs",
"build": "run-s check:architecture type-check build-only",
"preview": "vite preview",
"build-only": "vite build",