Commit Graph

536 Commits

Author SHA1 Message Date
0b43d53d0f refactor: Clean up addAssetModel and CamMode components; streamline state management and improve readability 2025-09-08 17:31:16 +05:30
8b2b6eea47 refactor: Add SyncCam import and useState hook to Controls component for enhanced functionality 2025-09-08 17:05:07 +05:30
cac9d69539 refactor: Simplify imports and clean up DashboardCard component for improved readability and maintainability 2025-09-08 16:35:22 +05:30
c7408f07b9 refactor: Enhance wall classification logic by improving key generation and adding position pair tracking to prevent duplicates 2025-09-08 16:20:51 +05:30
6f0cb56d96 refactor: Remove unused state management functions and clean up tool handling logic in Tools and shortcut key listener 2025-09-08 15:35:47 +05:30
da6400ea67 Refactor wall classification logic for improved performance and readability; optimize wall merging and polygon generation. Update wall and zone creators to handle snapping and point connections more effectively. Enhance camera switch view functionality and clean up shortcut key handling. 2025-09-08 15:07:51 +05:30
23e7ba39e8 Refactor builder module and remove unused components
- Removed CalculateAreaGroup and computeArea function as they were no longer needed.
- Updated Floor2DInstance and Zone2DInstance to calculate area and centroid using new utility functions.
- Refactored WallInstances to include Floor2D rendering and improved area display.
- Cleaned up imports and ensured consistent formatting across files.
- Enhanced performance by memoizing calculations for area and centroid.
- Removed deprecated state management for rooms and version history visibility.
2025-09-08 13:46:47 +05:30
f0d9cfe142 refactor: Remove console logs from ProjectSocketRes component 2025-09-08 12:00:51 +05:30
90fb7fbc06 refactor: Clean up DashboardMain, SidePannel, and ProjectSocketRes components by removing unused imports and optimizing code structure 2025-09-08 11:59:16 +05:30
80a672adf0 Refactor simulation product handling and state management
- Replaced `useComparisonProduct` with `useSimulationState` in multiple components to streamline state management.
- Updated `SyncCam` to use `comparisonScene` instead of `comparisonProduct`.
- Modified `Products` component to utilize `mainScene` and `comparisonScene` for product selection.
- Adjusted various simulation functions to accept `ProductsSchema` instead of `productsSchema`.
- Enhanced `Simulator` component to fetch simulation data using the updated state structure.
- Refined Zustand store to manage `mainScene` and `comparisonScene` states, including their respective setters and clearers.
- Updated type definitions for products to ensure consistency across the application.
- Cleaned up shortcut key handling to reflect changes in state management.
2025-09-08 11:40:27 +05:30
c8e9633050 merged and added the layout 2025-09-06 18:19:02 +05:30
71484cba18 feat: Enhance vehicle simulation with draggable path points and interactive controls 2025-09-06 16:03:45 +05:30
5fd1c3bb89 separate the function exportpngheatmap 2025-09-06 15:19:36 +05:30
927c6dcfab refactor: streamline BakedHeatMap component by removing unused imports and redundant code 2025-09-06 14:55:53 +05:30
cb1b16fffd Merge remote-tracking branch 'origin/feature/layout-comparison-version' into dev-heatmap 2025-09-06 14:41:20 +05:30
3b8bdd3684 refactor api-simulation for create and fetch 2025-09-06 14:05:29 +05:30
aa1a5269dc refactor: clean up comments and improve code readability in heatmap components 2025-09-06 13:15:12 +05:30
02752d6ce1 Merge branch 'main-demo' into dev-heatmap 2025-09-06 13:05:54 +05:30
a7b584e799 Refactor BakedHeatMap and useHeatMapStore to support typed baked points; enhance heatmap export functionality 2025-09-06 13:01:45 +05:30
eaa487e561 Enable RealTimeHeatMap component in HeatMap 2025-09-06 12:19:35 +05:30
0e8a004f70 layout worked with backend 2025-09-06 09:24:10 +05:30
1253473a5d refactor: enhance camera controls and improve scene project update logic 2025-09-05 18:31:00 +05:30
0f10a84215 Refactor version management: Replace useSaveVersion with useIsComparing across components
- Updated MainScene, SideBarLeft, SideBarRight, Simulations, and CompareLayOut to utilize isComparing state instead of isVersionSaved.
- Adjusted conditional rendering and logic to reflect the new comparison state.
- Introduced SyncCam component to synchronize camera state during comparisons.
- Created useSceneStore to manage camera state with position and target vectors.
- Cleaned up imports and ensured consistent formatting across affected files.
2025-09-05 18:09:43 +05:30
901ecc0ec6 Merge remote-tracking branch 'origin/main-demo' into feature/layout-comparison-version 2025-09-05 17:41:35 +05:30
d3abfe939a Refactor HeatMap component to utilize useHeatMapStore and log bakedPoints; enable baked point addition in RealTimeHeatMap 2025-09-05 17:40:07 +05:30
9ba98d0120 refactor HeatMap component and integrate baked heat map functionality 2025-09-05 17:13:51 +05:30
8afa92cbeb refactor: improve zone and asset handler structure and update context usage 2025-09-05 16:02:05 +05:30
5a9785648b Merge remote-tracking branch 'origin/main-demo' into main-dev 2025-09-05 16:00:54 +05:30
23570d7007 integerated product context to scene context 2025-09-05 15:54:38 +05:30
f27af9a58d refactor: update component structure and enhance list functionality with new asset and zone handling 2025-09-05 15:50:07 +05:30
9904a5079d integerated version context with scene context 2025-09-05 15:17:43 +05:30
b3a4c03ba0 added comparsion data 2025-09-05 15:06:35 +05:30
77dc821431 add useHeatMapStore for managing monitoring of vehicles and humans in HeatMap component 2025-09-05 15:00:16 +05:30
884d424bda Merge remote-tracking branch 'origin/main-demo' into main-dev 2025-09-05 11:55:09 +05:30
1f382de751 file structure change 2025-09-05 11:43:14 +05:30
18562307a2 new windo theme update 2025-09-05 11:35:24 +05:30
33fb90af71 added event handler for wall asset 2025-09-05 11:32:25 +05:30
6f0adcab0f refactor: simplify project creation button and enhance sidebar option styles 2025-09-05 11:18:05 +05:30
336d7e95b6 Merge remote-tracking branch 'origin/main-dev' into main-demo 2025-09-05 11:00:34 +05:30
bef1b3dcee heat map bug fix 2025-09-04 18:19:51 +05:30
ead9f100c4 refactor HeatMap component for improved performance and clarity 2025-09-04 17:37:46 +05:30
f6a63c20d7 add simulations data 2025-09-04 17:26:18 +05:30
64e730efa6 added heatmap 2025-09-04 16:06:54 +05:30
1d7b3b974d project switch error bug fixed 2025-09-04 14:10:35 +05:30
8271e3c6ce first person camera bug and new project loading screen stuck bug fixed 2025-09-04 13:36:49 +05:30
0d7f5d280f first person bug fix 2025-09-04 12:41:49 +05:30
e208d79ce6 wall asset movement bug fixed 2025-09-04 10:14:14 +05:30
dac81894c0 Refactor Dashboard components and styles; update icon colors
- Updated icon stroke and fill colors from `var(--text-button-color)` to `var(--text-color)` for consistency.
- Refactored `Dashboard` component to utilize a new `DashboardMain` component for better structure.
- Enhanced `DashboardMain` to manage project data fetching and rendering based on active folder and subfolder.
- Implemented socket handling for project actions (add, delete, update, duplicate) in `ProjectSocketRes`.
- Improved styles in `_dashboard.scss` for buttons and project cards, including hover effects and layout adjustments.
2025-09-03 16:42:40 +05:30
58007a96dc pillar jib animation bug fix 2025-09-02 18:00:12 +05:30
25e4628f75 simulation crane rest bug resolved 2025-09-02 15:43:01 +05:30