Commit Graph

15 Commits

Author SHA1 Message Date
sajad-dev 56bb0c6281 Enhance PlantSimulator with yield and yield rate tracking
- 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.
2026-02-20 23:15:29 +03:30
sajad-dev bb83ab506e Add weather information section and update dependencies
- 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.
2026-02-20 23:08:44 +03:30
sajad-dev 02e966e997 Update LayerControl component to reposition the control panel from top to bottom right corner for improved accessibility. 2026-02-20 22:29:06 +03:30
sajad-dev f27145092f Add crop zoning feature with localization support and new dependencies
- 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.
2026-02-20 22:15:34 +03:30
sajad-dev 890599b0e7 Remove API documentation file and update navigation constants with new entries for farm dashboard, water data, soil data, and data section. Enhance sensor hub functionality by adding new sensor payload structure and integrating plant type and name selection in the sensor form. Refactor calendar components to streamline code and improve maintainability. 2026-02-20 20:24:24 +03:30
sajad-dev 4424fc8e87 Refactor AuthRedirect component to use useEffect for redirection logic and update Login component to handle OTP submission more flexibly. Adjusted OTP input handling to trigger submission on reaching the required length, improving user experience during login. 2026-02-20 14:09:09 +03:30
sajad-dev 7377f471e9 Enhance farm dashboard localization by adding Persian translations for various UI elements, including subheaders, option menus, labels, and fallback text. Refactor components to utilize the new translations, improving the overall user experience for Persian-speaking users. 2026-02-19 18:17:16 +03:30
sajad-dev 25344a8738 Implement internationalization for account settings and search components. Added translation support for various UI elements, including billing, notifications, and user dropdowns. Refactored search suggestions and no result messages to utilize localized text. Enhanced user experience by ensuring all relevant components display text based on selected language. 2026-02-19 17:41:37 +03:30
sajad-dev 0844100613 Integrate next-intl for internationalization support across the application. Updated configuration to include next-intl plugin and modified components to utilize translation hooks for dynamic text rendering. Enhanced user experience by localizing navigation labels and form messages in various views, including login and dashboard components. 2026-02-19 17:21:43 +03:30
sajad-dev 51175ffac2 Enhance farm dashboard components by refactoring to accept data props, improving API integration for dynamic data rendering. Updated FarmDashboardWrapper to fetch and manage card data, ensuring components like EconomicOverview, AnomalyDetectionCard, and others utilize the new data structure. Removed hardcoded values and added error handling for better resilience. 2026-02-19 16:58:30 +03:30
sajad-dev 9f1de2166c Refactor dashboard structure by removing unused dashboard components (Academy, Analytics, CRM, ECommerce, Farm, Logistics) and updating the main dashboard to use FarmDashboardWrapper. Adjusted navigation links to point to the main dashboard. 2026-02-19 16:05:44 +03:30
sajad-dev ec679c3287 Add farm dashboard components including Anomaly Detection, Economic Overview, and Alerts Tracker. Implemented context for navbar slot management and integrated new API service for farm dashboard configuration. Updated navigation menus to include farm dashboard links. 2026-02-19 15:48:32 +03:30
sajad-dev 3871ec89f7 Add Sensor Hub tab to account settings, integrating new SensorHubTab and related components for sensor management. Updated layout and added error handling in the sensor form. 2026-02-19 15:07:21 +03:30
sajad-dev 48bf0921c7 Add Sensor Hub functionality with components for managing sensors, including a service for API calls, a modal for selection, and a form for adding new sensors. Updated layout to integrate SensorHub component. 2026-02-19 14:43:35 +03:30
sajad-dev a898eccbff First commit 2026-02-19 01:15:36 +03:30