Commit Graph

33 Commits

Author SHA1 Message Date
sajad-dev 1f08a80c72 CI/CD 2026-03-21 17:33:39 +03:30
sajad-dev 451a814347 CI/CD 2026-03-21 17:23:27 +03:30
sajad-dev 878d8fc544 CI/CD 2026-03-21 00:06:15 +03:30
sajad-dev 2b1dce1dd2 CI/CD 2026-03-20 23:59:32 +03:30
sajad-dev 0b50349120 CI/CD 2026-03-20 23:51:38 +03:30
sajad-dev 40c2a3087f CI/CD 2026-03-20 23:48:29 +03:30
sajad-dev ddd87a9688 CI/CD 2026-03-20 23:43:05 +03:30
sajad-dev 6b4eb16733 CI/CD 2026-03-20 23:40:52 +03:30
sajad-dev 486b8be26b Update CropZoningWrapper to enable cultivable zones and include initial zone data
- 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.
2026-02-26 00:38:30 +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
sajad-dev aad5b1c2bd Add error handling and new API methods for farm assistant features
- 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.
2026-02-25 23:39:08 +03:30
sajad-dev 83b0f88d6e Enhance dashboard components with theme integration and UI improvements
- 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.
2026-02-21 22:21:31 +03:30
sajad-dev cb29828a69 Remove deprecated dashboard pages and update vertical menu links for streamlined navigation
- 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.
2026-02-21 22:05:47 +03:30
sajad-dev 00b5ecba7f Add Persian translations for new simulator and recommendation sections in the dashboard
- 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.
2026-02-21 00:35:14 +03:30
sajad-dev 2b6538c650 Add irrigation and fertilization recommendations, farm AI assistant, and pest detection features with Persian localization
- 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.
2026-02-21 00:19:25 +03:30
sajad-dev 0eb109725e Add plant simulator feature with Persian localization and UI enhancements
- 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.
2026-02-20 23:48:14 +03:30
sajad-dev f9bb6a3984 Refactor PlantSimulator to enhance plant growth modeling and UI
- 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.
2026-02-20 23:35:30 +03:30
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