Commit Graph

634 Commits

Author SHA1 Message Date
57098940e4 Update imports and method signatures in ViewportPanel.tsx and viewport-host.ts 2026-04-02 23:58:55 +02:00
30de189cfa Optimize placement preview handling in ViewportHost 2026-04-02 23:58:34 +02:00
3dd75e3496 Handle null tool preview center in ViewportCanvas 2026-04-02 23:58:34 +02:00
21e0ceccf9 Add onCommitPlacement prop to ViewportPanel.tsx 2026-04-02 23:57:57 +02:00
a1db92b7ff Simplify status messages in App.tsx 2026-04-02 23:57:57 +02:00
c14ac433d9 Add onCommitPlacement handler to App component 2026-04-02 23:56:52 +02:00
572d448d1f Fix undefined parameter in createModelInstanceRenderGroup 2026-04-02 23:56:52 +02:00
8ee4a40485 Disable import menu options when project asset storage is not ready 2026-04-02 23:56:52 +02:00
22004d45e0 Remove unused CSS for active viewport styles 2026-04-02 23:55:36 +02:00
6bd7e5b769 Remove active class from ViewportCanvas and ViewportPanel 2026-04-02 23:55:36 +02:00
394d99f20c Add escape key handling to cancel placement preview in App.tsx 2026-04-02 23:55:22 +02:00
24ad835ff7 Remove unused import model button and related logic 2026-04-02 23:55:14 +02:00
34df9d7348 Add import menu items and update entity placement logic 2026-04-02 23:55:03 +02:00
06117cad48 Refactor model instance placement logic 2026-04-02 23:54:51 +02:00
1eda6b2404 Refactor entity placement logic in App.tsx 2026-04-02 23:54:39 +02:00
9507a69d9b Remove redundant layoutMode check in ViewportPanel.tsx 2026-04-02 23:53:46 +02:00
ef7eb5dfbe Add preview visibility logic and update overlay text in ViewportCanvas 2026-04-02 23:53:39 +02:00
d84d13fe75 Set placement preview and commit handlers in ViewportCanvas 2026-04-02 23:53:27 +02:00
8d4a0cbe81 Pass onCommitPlacement to ViewportCanvas component 2026-04-02 23:53:27 +02:00
da9b08408a Update getViewportOverlayText for placement mode 2026-04-02 23:53:27 +02:00
15313b0aab Add onCommitPlacement prop to ViewportCanvasProps 2026-04-02 23:53:27 +02:00
ecd2bd7208 Update import in ViewportCanvas.tsx 2026-04-02 23:53:27 +02:00
c79173f058 Refactor and enhance placement preview logic in ViewportHost 2026-04-02 23:52:40 +02:00
7ba7d8a2e9 Add placementPreviewTargetKey to ViewportHost 2026-04-02 23:52:40 +02:00
6a239b1504 Update viewport-host.ts with additional imports and markerColor parameters 2026-04-02 23:51:30 +02:00
28029202fa Update editor store and viewport logic for tool preview compatibility 2026-04-02 23:51:11 +02:00
61b7be6219 Update ViewportToolPreview to include placement preview and related functions 2026-04-02 23:50:41 +02:00
329785ff91 Add 'place' to ToolMode 2026-04-02 23:50:41 +02:00
c73c9b5cc7 Refactor entity position resolution logic in App.tsx 2026-04-02 23:31:22 +02:00
d12a4e68c8 Remove compact class from ViewportPanel component 2026-04-02 23:28:45 +02:00
fff366dea7 Add overflow and text ellipsis to asset list item 2026-04-02 23:27:28 +02:00
6864fea0ad Add hierarchical menu styles 2026-04-02 23:26:35 +02:00
3efd5e7310 Add CSS for status bar item asset 2026-04-02 23:26:35 +02:00
ad59846972 Update app.css for viewport panel styling changes 2026-04-02 23:26:20 +02:00
85abede15e Remove unused viewport region header styles 2026-04-02 23:26:12 +02:00
aced8c5dd4 Add compact toolbar button styles 2026-04-02 23:26:12 +02:00
6c9d305c67 Add styles for asset item actions and content 2026-04-02 23:26:00 +02:00
15b17223c2 Update ViewportPanel component for quad layout and active badge display 2026-04-02 23:25:34 +02:00
710b18b994 Remove unused function and variables 2026-04-02 23:25:28 +02:00
d800b94184 Add add menu component conditionally 2026-04-02 23:25:28 +02:00
a875e45208 Add asset status message to status bar 2026-04-02 23:25:28 +02:00
2a48089fae Remove header section from App.tsx 2026-04-02 23:24:51 +02:00
397bdff1e7 Add viewport layout mode buttons and refactor entity addition logic in App.tsx 2026-04-02 23:24:46 +02:00
fd6f783dbc Refactor asset item rendering to use buttons with additional interactivity and accessibility features 2026-04-02 23:24:36 +02:00
9d3fa13b0c Enhance handlePlaceEntity to accept optional audioAssetId parameter 2026-04-02 23:24:13 +02:00
1630c84819 Add menu items for entities and lights in App.tsx 2026-04-02 23:24:07 +02:00
8ef565abc7 Add state and handlers for asset hover and add menu in App.tsx 2026-04-02 23:24:01 +02:00
e4ff5e8f8b Add formatAssetHoverStatus function 2026-04-02 23:23:50 +02:00
abfad5dfc7 Import and use HierarchicalMenu in App.tsx 2026-04-02 23:23:50 +02:00
2f1dbedf08 Update HierarchicalMenuProps to remove PropsWithChildren 2026-04-02 23:23:50 +02:00