- Modified the CropZoningWrapper component to set zones as cultivable and added initial zone data for better zone management.
- Enhanced tooltip content to reflect updated zone information, improving user experience when interacting with crop zoning data.
- Added Persian translations for legend levels in fa.json to improve localization.
- Updated CROP_ZONING_APIS.md to include new API endpoints for water need, soil quality, and cultivation risk, enhancing data retrieval capabilities.
- Refactored crop zoning components to support new data structures and improve rendering logic for different layers.
- Enhanced LayerControl and ZoneLegend components to dynamically display information based on the active layer, improving user experience.
- Implemented loading states and error handling in CropZoningWrapper for better data management during asynchronous operations.
- Updated CropZoningMap to utilize new ZoneInitialData type for zone click handling and added zonesData prop for API-driven zone rendering.
- Removed deprecated crop zoning mock data file and integrated grid creation logic for initial zone fetching.
- Enhanced CropZoningWrapper to manage area and zone data loading states, improving user experience with asynchronous data fetching.
- Updated ZoneDetailPanel to handle loading states and display product labels dynamically based on fetched data.
- Refactored ZoneLegend to conditionally render items based on available product data, enhancing visual feedback during loading.
- Introduced error messages in Persian for image analysis and chat functionalities in FarmAiAssistantChat and PlantPestDetection components.
- Implemented a new postFormData method in ApiClient for handling file uploads.
- Enhanced SmartFertilizationRecommendation and SmartIrrigationRecommendation components to fetch configuration data from the API, improving user experience with loading states and error handling.
- Refactored components to utilize updated API services for better data management and responsiveness.
- Updated FarmAiAssistantChat, PlantPestDetection, SmartFertilizationRecommendation, and SmartIrrigationRecommendation components to utilize theme-based styling for better consistency and visual appeal.
- Refactored background gradients, box shadows, and hover effects to align with the primary color palette.
- Improved layout classes for better responsiveness and user experience across various dashboard sections.
- Added new button styles and loading indicators to enhance interactivity and feedback during user actions.
- Deleted unused pages for crop zoning, farm AI assistant, fertilization recommendation, irrigation recommendation, pest detection, plant simulator, soil data, and water data.
- Updated the vertical menu to reflect the removal of these pages, ensuring a cleaner and more efficient user experience.
- Added new localized entries for simulator, recommendation, and AI assistant features in fa.json.
- Updated the vertical menu to include new sections for simulator and recommendations, enhancing navigation.
- Improved user experience by providing Persian translations for additional features.
- Introduced new sections in the dashboard for irrigation recommendations, fertilization recommendations, farm AI assistant, and pest detection.
- Added Persian translations for new features to enhance user experience.
- Updated the vertical menu to include links to the new sections.
- Enhanced global styles with animations for improved UI interactions.
- Introduced a new Plant Simulator section in the dashboard with a dedicated menu item.
- Added Persian translations for plant growth metrics and chart titles.
- Enhanced the GrowthChart component to utilize localized labels for better user experience.
- Updated PlantSimulator component to display plant statistics and growth visualization.
- Improved UI layout with Material-UI components for a more polished appearance.
- Introduced new Branch and Fruit interfaces to better represent plant structure.
- Updated PlantState to include branches and fruits, improving growth simulation.
- Enhanced SVG rendering with new gradients and animations for a more dynamic visual experience.
- Adjusted constants for maximum height, yield, and dimensions to improve realism.
- Added helper functions for quadratic bezier calculations to refine plant shape rendering.
- Added yield and yield rate properties to the PlantState interface.
- Implemented computeYieldRate function to calculate yield based on environmental factors and plant growth.
- Updated GrowthChart component to visualize yield and yield rate alongside height and leaf count.
- Modified PlantSimulator state management to include yield and yield rate history.
- Enhanced UI to display current yield and yield rate in the simulator.
- Introduced a new CropZoningWeatherSection component to display weather data in the crop zoning dashboard.
- Updated package.json and package-lock.json to include chart.js and react-chartjs-2 for enhanced data visualization.
- Added Persian translations for weather-related UI elements to support localization.