✨ feat: 重构管理后台并增强组件系统与回收站功能

* 新增自适应数值与窗口分析工具,提升交互体验
* 优化回收站模块逻辑,增加展示与选择功能
* 引入 Macaron 主题配置文件并更新 Tailwind 配置
* 精简基础组件代码,移除冗余样式与设置项
* 完善测试用例,覆盖 UI 系统与回收站工作流
* 更新多语言配置,支持功能变更后的文案需求
This commit is contained in:
orion committed 2026-09-18 10:18:07 +08:00
1 parent 614b9a2104
commit 9b22534e2b
61 files changed
+1624 -832

No files matched your search

+19
View File
@@ -35,3 +35,22 @@ 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.
## 2026 buttons, palette and responsive controls
- `npm run test:ui`: palette text contrast, native action coverage, stationary
large sections, no submit hover overlays, and real Vue component SSR tests.
- With Vite running, open `/theme-assets/tests/ui-system.html` in a clean browser
window. Test at 320/390/430px and desktop widths; append `?dark` for dark mode.
The fixture uses real components and checks rendered heights, same-row pagination,
date part styling, leap-year changes and pagination emissions. It displays its
results; hover on buttons/cards to inspect motion without business operations.
The native UI harness is separate from server-side integration tests. Code
coverage for the existing motion/time helpers does not measure CSS coverage.
Final interaction rules: large settings/table/section containers stay fixed;
inner cards and action buttons retain their motion. List rows only fade their
background with no border or box-shadow. Light card shadows are bright at the
upper left and shaded at the lower right; dark mode reverses that direction.
Primary submit actions must not add white/gradient hover overlays.