Commit graph

189 commits

Author SHA1 Message Date
666ghj
be2acf663d feat(README): add demo video sections for Wuhan University Public Opinion and Dream of the Red Chamber simulations; include new image asset 2026-01-20 11:17:11 +08:00
666ghj
57e72250a9 chore(README): remove note about Windows compatibility from prerequisites section. 2026-01-18 22:37:02 +08:00
666ghj
085aa6bbe6 fix(GraphPanel): optimize force graph drag behavior to prevent simulation restart on click
Background:
- With many nodes, D3 force simulation tick callback updates all nodes/edges/labels every frame
- Original implementation called simulation.restart() in drag start event on mousedown
- Even after simulation converged, clicking a node to view details would restart simulation, causing lag

Solution:
- Distinguish between "click" and "drag" using 3px movement threshold
- On drag start: only record initial position, do not restart simulation
- On drag event: detect movement exceeding threshold before marking as actual drag and restarting simulation
- Pure click operations no longer trigger simulation restart, keeping graph static

Bug fix:
- Fixed issue where nodes became undraggable after initial optimization
- Cause: incorrectly used if(!event.active) check in drag event
- event.active equals 1 during drag event, causing restart() to never execute
- Removed that condition, using custom _isDragging flag to control logic instead
2026-01-18 22:35:24 +08:00
666ghj
49847c5b26 feat(Step5Interaction): add section number display for improved user navigation 2026-01-16 21:26:11 +08:00
666ghj
3c89f3930e chore(Screenshot): replace binary image file to enhance visual quality. 2026-01-16 21:08:21 +08:00
666ghj
8898c578ca chore(Screenshot): update binary image file for improved visual content. 2026-01-16 21:01:58 +08:00
666ghj
56b8babf17 feat(ZepGraphMemoryUpdater): add platform display name mapping and logging enhancements. 2026-01-16 09:00:10 +08:00
666ghj
ca24ee09d1 chore(env.example): update LLM model configuration and clarify boost settings. 2026-01-15 23:11:26 +08:00
666ghj
ede410620a fix(Home.vue): update version text from V1.0 to v0.1 for accuracy 2026-01-14 15:16:52 +08:00
BaiFu
9668ab487b
Update README.md 2026-01-09 18:18:09 +08:00
666ghj
11d39286f1 Update README 2026-01-09 18:09:01 +08:00
666ghj
08b2e78571 Update README 2026-01-09 17:46:36 +08:00
666ghj
416eb6c105 Update README 2026-01-09 17:42:04 +08:00
666ghj
8c817120f8 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.
2026-01-09 17:34:25 +08:00
666ghj
cf4b358ded docs(README): update Python version requirements and enhance contact section
- Changed Python version specification to indicate compatibility with versions ≥3.11 and ≤3.12.
- Renamed "Contact Us" section to "Join the Conversation" for improved engagement.
- Added a centered image of the QQ group to the contact section for better visibility.
2026-01-09 17:13:18 +08:00
666ghj
4977324497 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.
2026-01-09 16:42:31 +08:00
666ghj
0742194f9c 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.
2026-01-09 16:13:37 +08:00
666ghj
e25d2e38f4 feat(SimulationAPI): add function to retrieve latest report ID for a given simulation
- Implemented `_get_report_id_for_simulation` to find the most recent report ID associated with a simulation ID by scanning the reports directory.
- Updated `get_simulation_history` to include the retrieved report ID in the response, enhancing the simulation data returned to the client.
2026-01-09 16:04:35 +08:00
666ghj
b4fe7f2f03 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.
2026-01-09 15:41:35 +08:00
666ghj
aa47087b18 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.
2026-01-09 11:26:27 +08:00
666ghj
d79ea2b861 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.
2026-01-09 11:22:36 +08:00
666ghj
5e865c0234 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.
2026-01-09 11:12:10 +08:00
666ghj
cdf13739a6 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.
2026-01-09 11:08:05 +08:00
666ghj
5a0c705cfb 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.
2026-01-09 10:57:48 +08:00
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
9d5fad8854 Update README. 2026-01-07 16:55:59 +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
666ghj
8b80603325 Update README. 2025-12-30 22:40:04 +08:00
666ghj
fa7ab33bc9 Add Ask DeepWiki badge to README files for enhanced visibility and user engagement. 2025-12-30 22:38:27 +08:00
BaiFu
c0aa078726
Merge pull request #12 from 666ghj/cursor/backend-terminal-color-change-14fd
Backend terminal color change
2025-12-30 18:05:36 +08:00
Cursor Agent
84dd2cbcca Fix: Change backend dev color to green
Co-authored-by: hangjiang.guo <hangjiang.guo@shanda.com>
2025-12-30 10:04:27 +00:00
666ghj
4be144c3f2 Refactor process termination in SimulationRunner to support cross-platform handling and improve code clarity. Update development script to ensure concurrent processes are terminated correctly. 2025-12-30 17:45:27 +08:00
666ghj
8bd768718e Add SIGHUP signal handling in SimulationRunner for Unix systems 2025-12-30 15:28:26 +08:00
666ghj
067855f7b5 Add UTF-8 encoding support for Windows in simulation_runner.py and run_parallel_simulation.py to resolve character encoding issues with third-party libraries. 2025-12-26 18:14:57 +08:00
666ghj
f46c1a9ec7 Add UTF-8 encoding support for Windows console in run.py and logger.py to prevent character encoding issues 2025-12-26 17:58:48 +08:00
666ghj
1987f535ce Update font weights in Home.vue for improved visual hierarchy and consistency. 2025-12-26 17:41:18 +08:00
666ghj
44424f29ba Update font styles across the application to include 'Noto Sans SC' for improved typography consistency. 2025-12-26 17:35:09 +08:00
666ghj
abf2ba68af Update README 2025-12-24 11:05:01 +08:00
666ghj
4d242365e3 Add Shanda Group logo and acknowledgment in README files for strategic support 2025-12-24 11:03:27 +08:00
666ghj
96b151c235 Update README-EN.md to clarify demo video link description for better user engagement 2025-12-23 17:12:15 +08:00
BaiFu
84f9fb73c5
Update video link description in README.md 2025-12-23 16:58:25 +08:00
666ghj
39ba5b14fc Update README-EN.md to add project statistics section and ensure proper formatting 2025-12-23 16:34:40 +08:00
BaiFu
9b231d32c9
Enhance README with project statistics section
Added project statistics section with star history chart.
2025-12-23 16:33:00 +08:00
666ghj
84113ce2f1 Update README files to open demo video link in a new tab for improved user experience. 2025-12-23 16:16:26 +08:00