Spaces:
Sleeping
Sleeping
Commit History
-
style(HistoryDatabase): update modal layout and enhance user guidance
- Changed the title for the environment configuration status icon to "环境搭建" for clarity. - Added a creation time display in the project detail modal for better context. - Introduced a divider for the playback section to improve visual separation. - Enhanced navigation buttons with step indicators for clearer user progression. - Added a hint for playback limitations to inform users about simulation requirements. - Updated CSS styles for new elements and improved overall modal aesthetics.05fd617 -
style(HistoryDatabase): enhance card header and footer layout with status icons
- Updated card header to include status icons indicating project availability for different functionalities. - Added a visual indicator for additional files when more than three are present. - Improved card footer layout by grouping date and time, and enhancing progress display with status colors. - Introduced new CSS styles for status icons and improved overall card aesthetics.b72c13b -
style(HistoryDatabase): enhance modal design and transition effects
- Wrapped modal content in a Transition component for smoother animations. - Adjusted modal dimensions and padding for improved layout and user experience. - Updated styles for modal elements, including background colors, borders, and hover effects. - Enhanced visual feedback for buttons and file items within the modal.1823327 -
feat(HistoryDatabase): add project detail modal for enhanced user interaction
- Implemented a modal to display detailed information about selected projects, including simulation requirements and associated files. - Added navigation buttons within the modal for quick access to project, simulation, and report pages. - Enhanced user experience by allowing users to view project details without leaving the main interface.0bce45e -
style(HistoryDatabase): adjust padding and max-width for improved layout
- Reduced top padding from 40px to 35px for better spacing. - Increased max-width of the separator from 200px to 300px to enhance visual balance.fd71d18 -
refactor(HistoryDatabase): enhance loading logic and card positioning
- Added route watcher to reload history data when navigating back to the homepage. - Improved card positioning by adjusting vertical spacing for better visual alignment. - Initialized IntersectionObserver to manage card visibility more effectively. - Ensured data loading occurs after DOM rendering for smoother user experience.2711265 -
refactor(HistoryDatabase): improve project display logic and loading states
- Added conditional rendering for the tech grid background and cards container based on project availability. - Simplified the empty state display logic when no projects are present. - Introduced a new CSS class to adjust layout when there are no projects, enhancing visual consistency.235bc48 -
refactor(HistoryDatabase): update card display to show round progress and time
- Changed card header to display round progress instead of status. - Updated card footer to show formatted time instead of rounds. - Introduced new methods for calculating progress class and formatting time. - Adjusted styles for progress display and refined layout for better responsiveness.6ae17af -
refactor(HistoryDatabase): enhance card expansion logic with pending state management
- Introduced a pending state to track the target expansion state during animations. - Improved debounce handling to ensure smoother transitions and prevent rapid state changes. - Updated logic to check for new pending states after animations complete, enhancing responsiveness and stability.d6672eb -
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.023053b -
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.f7de29d -
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.fe48ffb
-
translate(HistoryDatabase): change section title from English to Chinese
3398ca3 -
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.51469e0
-
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.de9b3b4 -
style(HistoryDatabase): update grid background size and opacity for improved aesthetics
0ae9864 -
feat(history): 添加首页历史项目展示组件
- 新增 HistoryDatabase.vue 组件,实现扇形堆叠到网格展开的动画效果 - 后端 simulation.py 添加历史模拟数据 API 支持 - 修复 SimulationManager 过滤隐藏文件问题 - 前端 simulation.js 添加获取历史模拟数据的 API 方法 - Home.vue 集成历史项目展示组件 - 实现正方形网格背景装饰效果40455cf