Commit Graph

8 Commits

Author SHA1 Message Date
a08cec33ab pillar Jig half way completed 2025-08-06 18:19:54 +05:30
fcd924eb31 feat: Implement undo and redo functionality for 2D scene controls
- Added useRedoHandler to manage redo actions, including socket communication for wall, floor, zone, and aisle updates.
- Added useUndoHandler to manage undo actions, reversing the effects of previous actions with corresponding socket updates.
- Created UndoRedo2DControls component to handle keyboard shortcuts for undo (Ctrl+Z) and redo (Ctrl+Y).
- Established a Zustand store (useUndoRedo2DStore) to maintain undo and redo stacks, with methods for pushing, popping, and peeking actions.
2025-07-29 17:20:34 +05:30
708c8a4ba1 new human event mangaer 2025-07-22 16:33:33 +05:30
7519aa90c6 feat: Implement human simulation features
- Added human event handling in the simulation, including the ability to add, update, and remove human instances.
- Introduced a new Human store to manage human states and actions.
- Updated the simulation context to include human management.
- Enhanced the Points and TriggerConnector components to support human interactions.
- Refactored existing components to integrate human-related functionalities.
- Added HumanInstance and HumanInstances components for rendering human entities in the simulation.
- Updated TypeScript definitions to include human-related types and actions.
2025-07-02 15:07:31 +05:30
587ed6c9d7 Refactor builder store and remove wall store
Refactor builder store and remove wall store

- Consolidated wall-related state management into the builder store by removing the useWallStore.
- Added new properties and setters for wall attributes (thickness, height, materials) in the builder store.
- Introduced SelectedWallProperties and WallProperties components for managing wall properties in the sidebar.
- Created a new floor store for managing floor-related state.
- Added a wall asset store for managing wall assets.
- Implemented a zone store for managing zones and their properties.
- Updated sidebar styles for better layout and appearance.
2025-06-25 15:26:53 +05:30
a5afcd5757 Implement resetStates hook and integrate it into Header component for state management 2025-06-24 11:04:56 +05:30
54b02541c1 updated 2025-06-23 09:37:53 +05:30
e22a2dc275 first commit 2025-06-10 15:28:23 +05:30