Commit Graph

13 Commits

Author SHA1 Message Date
lintsinghua 165372cfd6 新增系统管理功能,可在Web界面修改配置,无需手动修改配置文件,无需重新构建docker镜像 2025-10-26 13:38:17 +08:00
lintsinghua e07ecd3ce2 feat(audit): Implement task cancellation and progress tracking
- Add task cancellation functionality to allow users to stop ongoing audit tasks.
- Introduce a global task control manager to manage task states and cancellations.
- Update CreateTaskDialog and TerminalProgressDialog components to handle ZIP file uploads and repository audits.
- Enhance progress tracking in both ZIP and repository scans, ensuring real-time updates.
- Modify task status handling to include 'cancelled' state and update UI accordingly.
- Refactor utility functions for calculating task progress percentages.
- Update relevant components and services to support new task management features.
2025-10-25 22:14:56 +08:00
lintsinghua 9fc95f8daf feat(reports): Add comprehensive report export functionality
- Implement export report dialog in task detail page
- Add support for JSON and PDF report export formats
- Create report export service with export logic
- Update README.md and README_EN.md with report export documentation
- Add package-lock.json to ensure consistent dependency versions
Enhances user experience by providing flexible and detailed audit report export options for better documentation and sharing of code review results.
2025-10-24 20:56:24 +08:00
lintsinghua 68477ebfd4 feat(audit): Add terminal progress dialog for audit tasks
- Implement TerminalProgressDialog component for real-time task tracking
- Enhance CreateTaskDialog to launch terminal progress dialog after task creation
- Add dynamic log tracking and status polling for audit tasks
- Improve user experience by providing immediate feedback during task initialization
- Support both repository and zip file audit task types
- Implement real-time logging with timestamp and status updates
- Add error handling and state management for task progress tracking
2025-10-24 20:23:22 +08:00
lintsinghua 6d1071289c feat(dashboard): Enhance data loading and display for dynamic dashboard
- Implement robust error handling for dashboard data fetching
- Add support for real-time data loading with fallback to empty states
- Generate dynamic issue type and quality trend data from actual task data
- Introduce demo mode indicator and informative alert for data context
- Improve console logging for data retrieval failures
- Update stats display to handle zero or undefined data gracefully
- Add database mode and demo mode context to dashboard rendering
Resolves data display inconsistencies and provides more transparent user feedback about current application state
2025-10-24 19:05:23 +08:00
lintsinghua 3f7cc276d9 feat(database): Add local database support with IndexedDB and multi-mode configuration
- Introduce three database modes: local IndexedDB, Supabase cloud, and demo mode
- Update `.env.example` with comprehensive database configuration options
- Add new database management components for local storage and status tracking
- Implement local database initialization and configuration utilities
- Update Dockerfile and docker-compose.yml to support local database environment variable
- Enhance README documentation with detailed database mode explanations and usage guidance
- Add configuration for output language selection in environment settings
- Refactor database configuration to support flexible storage strategies
- Improve error handling and configuration management for database interactions
Resolves database persistence and provides users with flexible data storage options across different use cases.
2025-10-24 18:34:55 +08:00
lintsinghua 9b11e47b36 feat(audit): Enhance CreateTaskDialog with improved task creation workflow
- Add navigation to project details page after task creation
- Update task creation process with more detailed toast notifications
- Modify created_by field to handle null scenario for system users
- Refactor CreateTaskDialog to improve user experience and error handling
- Optimize repoScan service with more robust background task processing
- Update example image for visual consistency
Improves the audit task creation flow by providing better user feedback and streamlining the post-creation experience.
2025-10-22 22:18:19 +08:00
lintsinghua 96e15452e8 feat(audit): Enhance CreateTaskDialog with project preselection
- Add preselectedProjectId prop to CreateTaskDialog component
- Implement automatic project selection when a project ID is provided
- Update useEffect hook to set project ID in task form when preselected
- Add CreateTaskDialog to ProjectDetail page for seamless task creation
- Implement handleCreateTask and handleTaskCreated methods
- Add dialog trigger buttons in both empty state and tasks section
- Improve user experience by simplifying task creation workflow
2025-10-22 22:00:05 +08:00
lintsinghua 6830183cd0 feat(instant-analysis): Enhance code analysis UI and user experience
- Add parseAIExplanation function to handle complex AI explanation parsing
- Implement automatic scrolling to loading card during analysis
- Improve issue rendering with more detailed and visually appealing components
- Add useEffect hook to manage scrolling behavior during analysis
- Refactor issue rendering with enhanced styling and information display
- Include additional context and visual indicators for code issues
- Optimize user interaction and feedback during code analysis process
2025-10-22 21:53:16 +08:00
lintsinghua c287861f5f feat(audit): Add CreateTaskDialog component for audit task creation
- Implement new CreateTaskDialog component for creating audit tasks
- Add comprehensive form with project selection, task configuration options
- Include dynamic project loading and search functionality
- Implement task creation logic with validation and error handling
- Add support for custom exclude patterns and scan configuration
- Integrate with existing API for task creation
- Enhance user experience with responsive design and informative UI elements
2025-10-22 21:33:10 +08:00
lintsinghua ecfc9c02cf style(theme): Refactor global CSS with professional color scheme and design system
- Update root and dark mode color variables using HSL color system
- Implement professional color palette with deep red and gradient backgrounds
- Add custom shadow and gradient variables for enhanced visual design
- Improve component classes with new color tokens and design tokens
- Enhance readability and consistency of color and styling approach
- Introduce more semantic and professional color definitions for light and dark modes
2025-10-22 17:42:48 +08:00
lintsinghua a12633b47d refactor(project-structure): Restructure project architecture and improve code organization
- Reorganize source code into feature-based and shared module structure
- Move components, services, and hooks into more logical directories
- Update project configuration files to reflect new structure
- Add .env.example template for easier environment setup
- Enhance README.md with more detailed project information and setup instructions
- Consolidate utility functions and hooks into shared modules
- Remove deprecated or unused files and components
- Improve type definitions and configuration management
- Update routing and main application configuration
This refactoring aims to improve code maintainability, readability, and scalability by implementing a more modular and organized project structure.
2025-10-22 15:12:59 +08:00
lintsinghua 7478f6f14f Initial commit: Add XCodeReviewer project files 2025-09-20 00:09:00 +08:00