Commit Graph

18 Commits

Author SHA1 Message Date
Karesansui fb0b10429f
Merge 18ba979c8d into 96096ea0ff 2026-05-28 17:27:44 -04:00
ghostubborn 21922da6cc fix(i18n): improve English layout for homepage left-pane and report title
- Add sans-serif font for English left-pane (status, workflow sections)
- Shorten English workflow step descriptions
- Reduce English report title font-size from 36px to 28px
2026-04-01 19:04:38 +08:00
ghostubborn 3a8451c119 feat(i18n): replace remaining hardcoded Chinese in frontend addLog calls 2026-04-01 17:21:55 +08:00
ghostubborn fc47ae81b5 feat(i18n): replace hardcoded Chinese in frontend components with i18n calls
Replace all user-visible hardcoded Chinese strings in 7 component files
with $t() / t() calls using vue-i18n:

- Step1GraphBuild: ontology generation, graph build, status badges
- Step2EnvSetup: simulation setup, agent personas, platform config,
  time config, initial activation, modal profile details
- Step3Simulation: report generation button
- Step4Report: section loading text, interaction button
- Step5Interaction: chat interface, survey UI, tool descriptions,
  error messages, agent selection
- GraphPanel: graph status hints, loading states, tooltips
- HistoryDatabase: history cards, modal, replay buttons

Added missing translation keys to both zh.json and en.json locale files.
Added useI18n imports to components that need script-level translations.
2026-04-01 15:43:11 +08:00
karesansui 18ba979c8d Fix silent data loss when platform defaults to reddit for Twitter-only simulations
The API retrieval layer hardcoded reddit as the default platform in 11+ locations. When a Twitter-only simulation was run, all data retrieval APIs silently returned empty results because they looked for reddit_simulation.db which did not exist. This commit reads the simulation enable_twitter/enable_reddit config to determine the correct default platform.

Fixes #150
2026-03-12 02:48:58 +09:00
666ghj ae1f38cdcc fix(report_agent): improve markdown rendering by cleaning up <br> tags around block-level elements and enhancing list formatting 2026-02-14 18:25:20 +08:00
666ghj 709a0d7023 feat(report_agent): enhance markdown rendering for lists and improve formatting; support nested lists and clean up HTML output 2026-02-14 17:04:04 +08:00
666ghj 49847c5b26 feat(Step5Interaction): add section number display for improved user navigation 2026-01-16 21:26:11 +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 efc7fbc4f7 Enhance Step5Interaction component to improve response handling and survey result processing
- Updated response handling to prioritize replies from Reddit over Twitter and ensure compatibility with both object and array formats.
- Refactored survey result processing to convert response data into a structured array, maintaining clarity and consistency in agent responses.
- Improved error handling and logging for better debugging and user feedback.
2025-12-16 22:41:12 +08:00
666ghj 9db7781ee3 Enhance Step5Interaction component with improved tool description and memory feature
- Updated the subtitle of the Report Agent Tools Card to highlight the agent's capability of utilizing MiroFish's complete memory.
- This enhancement aims to provide users with clearer information about the tool's functionality and its advantages in report generation.
2025-12-16 20:17:31 +08:00
666ghj cc094e48ce Implement chat history caching and enhance message rendering in Step5Interaction component
- Added chat history caching to preserve conversation records for report agents and selected agents.
- Introduced a method to save and restore chat history based on the selected target.
- Improved message rendering by cleaning up unnecessary <br> tags and ensuring proper list formatting with CSS.
- Automatically save chat history upon sending messages for better user experience.
2025-12-16 20:03:17 +08:00
666ghj 78c8c43699 Add Report Agent Tools Card to Step5Interaction component 2025-12-16 19:53:43 +08:00
666ghj 4bd3c856f5 Enhance Step5Interaction component with updated UI elements and improved functionality
- Added an action bar icon and adjusted layout for better visual appeal and usability.
- Updated button labels to Chinese for improved localization.
- Introduced a new method for selecting the survey tab, enhancing user interaction.
- Adjusted CSS styles for better responsiveness and alignment of elements within the action bar and dropdowns.
2025-12-16 19:17:35 +08:00
666ghj c43b83f10d Enhance Step5Interaction component with professional design updates and improved UI elements
- Updated the action bar to a more professional design with enhanced layout and styling.
- Introduced new utility classes for better typography and spacing.
- Improved button styles for clarity and consistency, including updated labels for interaction buttons.
- Enhanced dropdown menu design for better usability and visual appeal.
- Adjusted CSS properties for improved responsiveness and overall user experience.
2025-12-16 19:05:37 +08:00
666ghj 318d60fa42 Refactor Step5Interaction component to streamline profile display and remove unused topics section
- Combined conditions for displaying the profile card body and bio for improved clarity.
- Removed the topics section and associated CSS styles to simplify the component and enhance user experience.
2025-12-16 18:55:30 +08:00
666ghj c738d7edfb Refactor Step5Interaction component to enhance user interaction and UI elements
- Replaced tab switcher with a unified action bar for improved navigation and functionality.
- Introduced an agent dropdown for selecting conversation targets, enhancing user experience.
- Updated button labels for clarity and consistency in the interaction interface.
- Adjusted CSS styles for better layout and responsiveness across components.
- Reduced margin in Step4Report for a more compact design.
2025-12-16 18:36:15 +08:00
666ghj 70922a3525 Implement interaction features in Step5Interaction component and add routing for interaction view
- Introduced the Step5Interaction component for user interaction with report agents and simulation profiles.
- Added chat functionality to communicate with report agents and selected simulation agents.
- Implemented a survey feature to gather responses from multiple agents.
- Enhanced routing by adding a new InteractionView for seamless navigation to the interaction interface.
- Updated the router configuration to include the new interaction route.
- Improved UI elements and styles for better user experience in the interaction process.
2025-12-16 17:50:43 +08:00