Commit Graph

10 Commits

Author SHA1 Message Date
Poovizhi99 082603b13d Merge remote-tracking branch 'origin/v3' into dashboard 2025-06-13 18:40:39 +05:30
Gomathi 6febdd4296 Refactor visualization input components to utilize new widget addition services and clean up console logs
- Enhanced error handling and response management in widget-related API calls.
- Added projectId parameter to widget addition services for better context in widget management.
2025-06-13 17:50:23 +05:30
Poovizhi99 fcd67f4528 Refactor user data retrieval across visualization components
- Replaced direct localStorage access for email and organization with a centralized getUserData function in LineGraphComponent, PieGraphComponent, PolarAreaGraphComponent, ProgressCard1, ProgressCard2, Dropped3dWidgets, ProductionCapacity, ReturnOfInvestment, StateWorking, Throughput, and various floating widgets.
- Improved code readability and maintainability by consolidating user data extraction logic.
- Ensured consistent user data handling across multiple components to reduce redundancy.
2025-06-13 17:11:28 +05:30
Gomathi 0d98892dff updated api and socket for builder and visualization 2025-06-04 11:55:59 +05:30
Nalvazhuthi 307d2eabee Refactor API service functions for improved error handling and code consistency
- Updated signUpApi, deleteZonesApi, getZonesApi, setZonesApi, and other API functions to enhance error logging with echo.error statements.
- Reformatted function parameters for better readability.
- Removed unnecessary comments and console logs.
- Ensured consistent error messages across all API functions.
- Improved code structure for better maintainability.
2025-05-08 15:19:21 +05:30
Vishnu ccd6298d17 Refactor canvas element references to use consistent ID for workspace 2025-05-08 14:18:02 +05:30
Vishnu 44e3f5c207 Refactor RealTimeVisualization component and handle widget drop functionality
- Commented out the handleDrop function in RealTimeVisualization.tsx and moved its logic to a new utility function createHandleDrop for better separation of concerns.
- Updated Project.tsx to utilize the new createHandleDrop function, improving readability and maintainability.
- Enhanced styling for the scene container and real-time visualization components to improve layout and responsiveness.
- Removed unnecessary styles and consolidated button and input styles for consistency.
- Cleaned up unused imports and variables in various files to streamline the codebase.
2025-05-02 17:39:11 +05:30
Jerald-Golden-B 54cc3deb98 folder structure change 2025-04-21 11:53:42 +05:30
Nalvazhuthi 5066638782 bug fix 2025-04-14 18:09:36 +05:30
Nalvazhuthi 4edb3cfd7d updated folder structure 2025-04-11 18:08:47 +05:30