- 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.
- 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.
- 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
- 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
- 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.
- 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.
- 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
- 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
- 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
- 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
- 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.