Commit Graph

1133 Commits

Author SHA1 Message Date
Gomathi 41fe5f7a89 Merge branch 'v3' into v3-refactor 2025-06-21 10:56:20 +05:30
Gomathi 7ef0fe28e6 chore: update gsap to version 3.13.0 and refactor DraggableWidget component
- Updated gsap dependency in
- Refactored DraggableWidget component to utilize gsap's Draggable for improved drag-and-drop functionality.

- Enhanced the handling of widget reordering and panel capacity calculations.
- Improved the rendering logic for different widget types.
- Added new styles for better visual feedback during drag operations.
2025-06-21 10:49:55 +05:30
Jerald-Golden-B 4697dbc6f0 refactor: extract VersionHistoryItem component for improved readability and maintainability 2025-06-21 09:36:34 +05:30
Jerald-Golden-B 695e3c08bb fix: update canvas element retrieval method in Scene component 2025-06-21 09:22:06 +05:30
Jerald-Golden-B 78e57ab9fa Merge remote-tracking branch 'origin/feature/threaded-comments' into v3 2025-06-21 09:21:55 +05:30
Poovizhi99 983e9c269d feat: Add focus handling to textarea in Messages component and implement auto-scrolling in ThreadChat 2025-06-20 17:59:29 +05:30
Poovizhi99 128c1148f8 feat: Implement collaboration comments feature with socket integration 2025-06-20 14:16:18 +05:30
Jerald-Golden-B 80c9c1f0ac refactor: clean up imports and improve aisle data fetching in AislesGroup component 2025-06-19 18:08:26 +05:30
Jerald-Golden-B fa68118047 feat(versioning): implement version selection and context management across components 2025-06-19 17:40:42 +05:30
Jerald-Golden-B 033a2799db feat: add shortcut for version history visibility with Ctrl + H 2025-06-19 16:12:18 +05:30
Jerald-Golden-B cdf8d731f5 feat: add setSelectedVersion functionality in VersionSaved component 2025-06-19 16:05:51 +05:30
Jerald-Golden-B 98ad4bfb14 refactor: remove unused SceneProvider import from scene component 2025-06-19 15:24:12 +05:30
Jerald-Golden-B a6d13940cc refactor: simplify project data handling in LoadingPage, Controls, and Scene components 2025-06-19 15:23:22 +05:30
Jerald-Golden-B 8c6c068b17 feat(versioning): add version history management functionality
- Introduced Version and VersionHistory types for version management.
- Enhanced shortcut key handling to create new versions and manage version visibility.
- Implemented API calls for creating and retrieving version history.
- Added Zustand store for managing version history state, including version selection and updates.
2025-06-19 14:59:53 +05:30
Jerald-Golden-B 663ef63f6d feat: set subModule to "properties" on zone selection 2025-06-19 09:42:05 +05:30
Jerald-Golden-B e61f860d21 Refactor asset management to use scene context
- Updated MainSceneProvider to clear assets on mount using scene context.
- Replaced useAssetsStore with useSceneContext in DropDownList, List, AssetsGroup, Model, Models, SocketResponses, and various control components.
- Introduced clearAssets method in asset store for better asset management.
- Updated Project component to wrap scene providers correctly.
- Fixed naming inconsistencies in vehicle store methods.
- Removed unnecessary state management in MaterialAnimator.
- Improved code readability and organization across multiple components.
2025-06-18 18:13:53 +05:30
Jerald-Golden-B e1213e6929 refactor: streamline Project component by removing unused imports and consolidating useEffect hooks 2025-06-18 16:47:13 +05:30
Jerald-Golden-B 9edf2c1021 Merge branch 'v3-wall' into v3 2025-06-18 14:51:10 +05:30
Jerald-Golden-B 8b92de59fe refactor: uncomment WallsAndWallItems component and remove commented WallGroup component 2025-06-18 14:50:41 +05:30
Jerald-Golden-B 2cc45817a9 fix: capitalize username in Header component and update state management in AisleCreator 2025-06-18 14:49:07 +05:30
Jerald-Golden-B e90a67e97f feat: add functionality to create additional walls when no temporary points are present 2025-06-18 11:38:35 +05:30
Jerald-Golden-B 4c20db213a refactor: remove unused useWallGeometry helper and update Wall component geometry logic 2025-06-18 10:15:17 +05:30
Jerald-Golden-B 462bae72a4 Refactor wall snapping and classification logic; remove unused aisle snapping helper
- Updated Line component to include point type in Tube name and modified userData structure.
- Deleted unused useAisleDragSnap helper and refactored usePointSnapping to handle both aisle and wall snapping.
- Updated Point component to utilize new snapping methods and improved snapping logic for aisles and walls.
- Enhanced wall classification logic to streamline room detection and wall flipping checks.
- Refactored Wall component to utilize new material handling and wall flipping logic.
- Updated WallCreator to manage wall creation and snapping more effectively, including handling intersections with existing walls.
- Modified useBuilderStore and useWallStore to support new wall material properties and retrieval methods.
- Adjusted TypeScript definitions for Wall interface to reflect changes in material properties.
2025-06-17 15:11:15 +05:30
Jerald-Golden-B 00100dd19c Merge branch 'v3' into v3-wall 2025-06-17 09:55:02 +05:30
Jerald-Golden-B a6c1e039eb Merge remote-tracking branch 'origin/dashboard' into v3 2025-06-13 18:43:04 +05:30
Poovizhi99 082603b13d Merge remote-tracking branch 'origin/v3' into dashboard 2025-06-13 18:40:39 +05:30
Jerald-Golden-B 1901c3031a fix: enable controls when assets are selected and prevent play mode if comparison product is active 2025-06-13 18:35:46 +05:30
Poovizhi99 966058608e feat: add console logs for projectId in DashboardCard, DashboardHome, and DashboardTrash components; enhance button accessibility in Header 2025-06-13 18:31:04 +05:30
Jerald-Golden-B 0a4e5f97bf Merge remote-tracking branch 'origin/v3-refactor' into v3 2025-06-13 18:29:58 +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 43a7cadc08 fix: update userId retrieval in fetchVisibility function for improved clarity 2025-06-13 17:27:04 +05:30
Poovizhi99 b7aefbfbff Merge remote-tracking branch 'origin/main' into dashboard 2025-06-13 17:11:42 +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
Vishnu 7b2d768d26 test 2025-06-13 17:02:22 +05:30
Poovizhi99 ac78309bcc refactor: clean up code and improve readability in SidePannel, FileMenu, Scene, and detectModifierKeys and remove settimeout in scene 2025-06-13 12:15:29 +05:30
Nalvazhuthi 78985a4954 Merge branch 'v3-ui' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev into v3-ui 2025-06-13 10:56:13 +05:30
Nalvazhuthi f653015345 feat: add active time display to AssetDetailsCard and update related components 2025-06-13 10:55:45 +05:30
Vishnu e6c69c93ec Merge remote-tracking branch 'origin/main' into v3-ui 2025-06-12 18:03:17 +05:30
Nalvazhuthi 3385d91b8d Merge branch 'v3-ui' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev into v3-ui 2025-06-12 17:50:27 +05:30
Nalvazhuthi 2ad6d8244d refactor: update material selection styles and improve layout in WallProperties; enhance hover effects 2025-06-12 17:45:54 +05:30
Vishnu ae20cf1437 feat: pass comparedProducts to EnergyUsage and update simulation labels in PerformanceResult 2025-06-12 17:42:24 +05:30
Vishnu f7496c4bbb Merge remote-tracking branch 'origin/main' into v3-ui 2025-06-12 17:31:09 +05:30
Vishnu 0d83783d9c Merge pull request 'v3' (#100) from v3 into main
Reviewed-on: http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev/pulls/100
2025-06-12 11:49:01 +00:00
Jerald-Golden-B 0cde60fa76 Merge remote-tracking branch 'origin/v3-refactor' into v3 2025-06-12 17:17:34 +05:30
Gomathi 064de39eac feat: update simulation data structure and improve performance metrics display 2025-06-12 17:17:16 +05:30
Jerald-Golden-B 224c606172 Merge remote-tracking branch 'origin/dashboard' into v3 2025-06-12 17:11:39 +05:30
Poovizhi99 999c6e6559 fix: clean up imports and remove console log in DashboardHome; add project update logic in Scene 2025-06-12 17:10:29 +05:30
Jerald-Golden-B a0605dea28 fix: exclude commentHolder from intersection checks in CommentsGroup 2025-06-12 16:58:34 +05:30
Gomathi b350bc6d9e Refactor ComparisonScene and Analysis components; update simulation logic and UI
- Removed unused pause button store from ComparisonScene.
- Added commented-out mock data setup in ComparisonScene for testing.
- Updated default values in Analysis component for production capacity and ROI calculations.
- Adjusted ProductionCapacity component to reflect monthly production capacity.
- Enhanced ROISummary to calculate payback date and improved net profit calculations.
- Modified ThroughputSummary to calculate units per hour based on shift length.
- Improved ComparisonResult to dynamically display compared products' data.
- Updated EnergyUsage to randomize data for better testing.
- Refined ROIData calculations to include labor count and adjusted cost calculations.
- Enhanced production capacity calculations in productionCapacityData.
- Updated throughput calculations in throughPutData to consider shift length and yield rate.
- Cleaned up console logs in vehicleInstance for better readability.
- Added productionCapacity field to CompareProduct interface in store.
- Minor styling adjustments in simulation.scss for better layout.
2025-06-12 16:39:25 +05:30
Jerald-Golden-B 8c8b81989c fix: remove unnecessary undefined parameters in setFloorItemApi call 2025-06-12 12:12:39 +05:30