Commit Graph

4 Commits

Author SHA1 Message Date
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