Commit graph

8 commits

Author SHA1 Message Date
666ghj
f32f5713f8 style(HistoryDatabase): adjust grid background position for improved layout
- Changed background position from center to top left to enhance grid alignment and responsiveness during height changes.
2026-01-09 10:53:44 +08:00
666ghj
d7169bac91 refactor(HistoryDatabase): dynamically calculate container height based on card expansion state
- Introduced a computed property to adjust the container's minimum height based on the number of cards and expansion state.
- Removed static min-height styles to enhance responsiveness and visual consistency.
2026-01-09 10:49:23 +08:00
666ghj
dfab81a6c0 refactor(HistoryDatabase): optimize card expansion behavior with debounce and animation lock
- Introduced a debounce mechanism to prevent rapid state changes during card expansion and collapse.
- Added an animation lock to avoid conflicts during transitions.
- Adjusted Intersection Observer thresholds and rootMargin for smoother detection and stability.
- Cleaned up resources on component unmounting to prevent memory leaks.
2026-01-09 10:46:32 +08:00
666ghj
d90ec77f5d translate(HistoryDatabase): change section title from English to Chinese 2026-01-07 18:57:10 +08:00
666ghj
992f7d13c3 refactor(simulation): enhance simulation data retrieval and project file handling
- Updated simulation history retrieval to read project details directly from the Simulation file.
- Improved simulation configuration handling by reading simulation requirements from JSON.
- Added project file listing to the simulation history, displaying up to three associated files.
- Refined card layout in HistoryDatabase.vue to accommodate new file display features and improved responsiveness.
2026-01-07 18:54:33 +08:00
666ghj
6fc0a0d9ad refactor(HistoryDatabase): simplify CTA button positioning and adjust layout for improved responsiveness
- Removed dynamic offset calculation for the CTA button, fixing its position.
- Updated card layout logic to ensure proper stacking and alignment.
- Increased minimum heights for both collapsed and expanded states to enhance visual consistency.
2025-12-31 18:05:04 +08:00
666ghj
2acdd7309b style(HistoryDatabase): update grid background size and opacity for improved aesthetics 2025-12-31 17:58:17 +08:00
666ghj
e6da45ee63 feat(history): 添加首页历史项目展示组件
- 新增 HistoryDatabase.vue 组件,实现扇形堆叠到网格展开的动画效果
- 后端 simulation.py 添加历史模拟数据 API 支持
- 修复 SimulationManager 过滤隐藏文件问题
- 前端 simulation.js 添加获取历史模拟数据的 API 方法
- Home.vue 集成历史项目展示组件
- 实现正方形网格背景装饰效果
2025-12-31 17:54:39 +08:00