Commit Graph

41 Commits

Author SHA1 Message Date
Nalvazhuthi 0be84fc502 Refactor zone-related API calls to use UUIDs instead of IDs, update endpoint versions, and enhance socket initialization with additional tokens
- Changed parameter names from `zoneId` to `zoneUuid` in multiple API service files for consistency.
- Updated API endpoints from v2 to v1 in `loadTemplate`, `lockPanel`, `panel`, `saveTemplateApi`, `update3dWidget`, `zoneCameraUpdate`, and others.
- Added authorization and token handling in headers for API requests.
- Enhanced socket initialization in the store to include dashboard and project sockets with token authentication.
- Adjusted the `useDroppedObjectsStore` to accommodate the new `zoneUuid` parameter and updated related methods.
- Updated styles in dashboard.scss for improved layout and design consistency.
- Modified builder types to include new properties and ensure type safety.
- Implemented shortcut key handling for renaming mode and other UI interactions.
2025-06-05 12:55:18 +05:30
Nalvazhuthi 66e5bb38a4 feat: integrate comparison product handling and enhance view scene label management 2025-06-05 10:34:46 +05:30
Jerald-Golden-B 922dfb3543 refactor: Remove unnecessary line and improve login handling in UserAuth component
refactor: Add clearComparisonProduct call in KeyPressListener for better state management
2025-06-04 18:03:21 +05:30
Poovizhi99 5ba7457276 Enhance DashboardCard component: add createdAt prop and implement relative time display; create ProjectSocketDev component for socket event handling. 2025-06-04 09:11:11 +05:30
Poovizhi99 c77abff424 Implement rename mode functionality and integrate RenameTooltip component; update state management for renaming and mouse interactions in FloorGroup and Project components. 2025-05-29 14:29:53 +05:30
Vishnu 43f02efe9c feat: update KeyPressListener to hide log list on module switch 2025-05-21 18:00:52 +05:30
Vishnu fb63519853 refactor: replace local state with usePlayerStore for hidePlayer in ControlsPlayer, SimulationPlayer, and KeyPressListener 2025-05-21 17:50:15 +05:30
Vishnu 69a7f28d71 refactor: update import statements for useToggleStore to named import 2025-05-21 17:42:40 +05:30
Nalvazhuthi d6dceb400f refactor: Update layout styles and improve KeyPressListener for better UI responsiveness and shortcut handling 2025-05-15 18:19:35 +05:30
Nalvazhuthi 95f118f8ee Refactor and enhance various components and utilities
- Updated floorItemsGroup to send unique floor items to the GLTF loader.
- Modified Card component to dynamically set button ID based on AssetID.
- Enhanced FilterSearch component to assign unique IDs to star buttons.
- Refactored camMode to utilize a new firstPersonCamera utility for cleaner code.
- Introduced firstPersonCamera utility for handling camera mode transitions.
- Improved Templates component to use nullish coalescing for email retrieval.
- Cleaned up AddButtons component by removing commented-out code and optimizing email retrieval.
- Updated Panel component to generate unique IDs for panel wrappers.
- Simplified Project component by removing unused setIsPlaying function.
- Removed hardcoded backend URL in panel service.
- Created useAssetStore for managing asset state and CRUD operations.
- Added camera mode state management to usePlayButtonStore.
- Enhanced footer styles for better layout and responsiveness.
- Improved simulation styles for better control visibility and responsiveness.
- Refactored tools styles for cleaner transitions and hover effects.
- Updated realTimeViz styles for better layout and responsiveness.
- Introduced builderTypes for better type safety in asset management.
- Enhanced shortcut key handling to include camera mode toggling.
2025-05-15 18:19:20 +05:30
Nalvazhuthi d187e4cc20 feat: Implement version saving functionality and layout comparison feature
- Added `useSaveVersion` store to manage version saving state.
- Updated `SideBarLeft` and `SideBarRight` components to conditionally render based on version saving state.
- Introduced `CompareLayOut` component for layout comparison with resizing functionality.
- Created `ComparePopUp` component to prompt users to save versions before comparing layouts.
- Enhanced `Simulations` component to handle version saving and comparison logic.
- Updated `Project` page to integrate layout selection and comparison features.
- Added styles for the new comparison layout and pop-up components.
- Refactored shortcut handling to include version saving state management.
2025-05-15 17:34:46 +05:30
Vishnu 032d6e80a4 refactor: Update KeyPressListener to include isPlaying state for improved shortcut handling 2025-05-15 12:10:13 +05:30
Vishnu 9cd08f75e3 refactor: Enhance ControlsPlayer and CamMode for improved camera mode handling and UI responsiveness 2025-05-15 12:06:51 +05:30
Jerald-Golden-B db7b4c6f7d Refactor store imports and consolidate state management
- Updated import paths for various components to use the new builder store.
- Removed the old store file and migrated all state management logic to the new builder store.
- Ensured all components utilizing socket and visualization state are now referencing the builder store.
- This change improves organization and maintainability of the state management system.
2025-05-13 17:53:00 +05:30
Vishnu e16092b204 Refactor code structure for improved readability and maintainability 2025-05-13 17:46:30 +05:30
Vishnu 4693deed7f Refactor handleSidebarShortcuts to improve module condition check and streamline localStorage updates for UI state management 2025-05-13 12:43:54 +05:30
Vishnu 980d27c91f Implement sidebar shortcut handling for visibility toggling; refactor existing shortcut logic for improved clarity 2025-05-13 11:04:12 +05:30
Vishnu 4337bb9056 Refactor sidebar toggle functionality to support independent left and right UI states; update related components and styles for improved usability 2025-05-13 10:32:24 +05:30
Vishnu b1569e64ed Refactor code structure for improved readability and maintainability 2025-05-12 18:09:22 +05:30
Vishnu a477e0c48f Refactor and enhance zone and wall item management:
- Update zone handling in ZoneGroup to include selected zone visibility.
- Improve camera transition speed in ZoneCentreTarget.
- Add clearSelectedZone functionality in useZoneStore.
- Integrate clearSelectedZone in KeyPressListener for ESCAPE key action.
- Adjust sidebar and module toggle positioning for better UI layout.
- Clean up unused code and comments in Project component.
2025-05-09 14:54:45 +05:30
Vishnu a2480748a8 Refactor keyboard shortcut handling and improve module switching logic 2025-05-08 13:42:42 +05:30
Poovizhi99 ef2baacf55 added snap function for ctrl and ctrl+shift key 2025-05-02 14:04:52 +05:30
Poovizhi99 2ff2f850f3 feat: handle snap function added 2025-05-02 11:56:04 +05:30
Jerald-Golden-B 73f9bb29f7 Merge branch 'main' into v2 2025-04-30 12:01:39 +05:30
Jerald-Golden-B 882c81a385 Refactor asset model handling and event data management
- Removed redundant data structure in handleModelLoad function.
- Introduced eventData object to encapsulate event-related information for different asset types (Conveyor, Vehicle, ArmBot, StaticMachine).
- Updated socket emission to include complete data with eventData.
- Enhanced copy-paste and duplication controls to maintain eventData integrity during object duplication.
- Integrated event data updates in move and rotate controls to reflect changes in the simulation state.
- Improved PointsCreator component to handle rotation for event groups.
- Updated handleAddEventToProduct function to support event data management.
- Enhanced product management to fetch existing products from the server and handle new product creation.
- Added new types for eventData in worldTypes and simulationTypes for better type safety.
- Refactored IndexedDB utility functions for cleaner code.
2025-04-29 19:15:17 +05:30
Vishnu ab5ade7bee feat: Enhance camera control and user experience with improved key handling and speed adjustments 2025-04-29 13:42:24 +05:30
SreeNath14 7af1724715 Merge branch 'main' into simulation-animation 2025-04-10 17:52:30 +05:30
SreeNath14 863d2c6393 "updated single flow" 2025-04-10 17:46:11 +05:30
Vishnu 378d5d7a42 refactor: Update input styles and enhance keyboard shortcut handling 2025-04-10 12:03:15 +05:30
Gomathi e0170aedd6 Fix: event listener interference with input typing 2025-04-10 09:52:27 +05:30
Jerald-Golden-B 4d6b9a7763 fix: Simplify key combination handling for 'M' key in KeyPressListener 2025-04-09 18:42:29 +05:30
Vishnu 03e9bcc740 feat: Add Shortcut Keys, activeSubTool state management and improve user avatar handling 2025-04-09 17:43:44 +05:30
Nalvazhuthi ed6edef24e updated visualization panel ui and added outer click 2025-04-08 18:34:21 +05:30
Vishnu 10de9efc76 Merge remote-tracking branch 'origin/main' into ui 2025-04-02 12:20:30 +05:30
Vishnu 5666416cb9 fix: ensure theme is set on initialization 2025-04-02 10:38:14 +05:30
Vishnu 661edc27c6 Update background color to use CSS variable and remove unused theme initialization code 2025-04-01 19:19:28 +05:30
Vishnu 652dee0c4b Update background color to use CSS variable and remove unused theme toggle logic 2025-04-01 17:46:55 +05:30
Vishnu b125989ae7 Refactor styles for improved theme management, enhance input components, and add scene styles 2025-03-31 18:06:44 +05:30
Jerald_Golden b44aeb986f upstream pull + signIn/Up 2025-03-25 17:34:20 +05:30
Jerald-Golden-B 2303682a15 add initial components and utility functions for simulation and builder modules 2025-03-25 14:00:03 +05:30
Vishnu 61b3c4ee2c first commit 2025-03-25 11:47:41 +05:30