- 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.
- 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.
- 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 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.
- Introduced crop zoning functionality, including a new section in the navigation menu.
- Added Persian translations for crop zoning-related UI elements.
- Updated package.json and package-lock.json to include new dependencies: @mapbox/mapbox-gl-draw and various @turf packages for geospatial calculations.
- Enhanced global styles for crop zoning tooltips to improve user experience.