Commit Graph

6 Commits

Author SHA1 Message Date
sajad-dev 76fd2a29f8 UPDATE 2026-04-02 23:44:24 +03:30
sajad-dev 9af6f7f36f UPDATE 2026-04-02 01:56:34 +03:30
sajad-dev e76dd01c4d UPDATE 2026-04-01 17:58:42 +03:30
sajad-dev bde110868a UPDATE 2026-04-01 17:28:05 +03:30
sajad-dev 5aea10a756 Enhance crop zoning features with new API integrations and UI updates
- 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.
2026-02-26 00:37:00 +03:30
sajad-dev 3db9a86cbf Refactor CropZoningMap and related components for improved API integration and UI enhancements
- 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.
2026-02-26 00:17:32 +03:30