Commit Graph

650 Commits

Author SHA1 Message Date
5def502b4a Update toolbar subtitle and outliner empty message 2026-04-03 00:26:52 +02:00
afea3647bb Add comment to preserve shared creation preview state 2026-04-03 00:26:52 +02:00
46ba6e56df Reorder method calls in beginCreation function 2026-04-03 00:26:52 +02:00
6ada444b84 Fix indentation in App.tsx 2026-04-03 00:26:52 +02:00
32a611a71f Update tool mode in tests and CSS 2026-04-03 00:24:04 +02:00
0c8a990176 Rename beginEntityPlacement to beginEntityCreation and related functions 2026-04-03 00:23:30 +02:00
5895f79264 Refactor tool mode handling and creation logic in App.tsx 2026-04-03 00:23:14 +02:00
0c84ccdd3c Update import type in App.tsx 2026-04-03 00:23:14 +02:00
1a64fb81f3 Refactor viewport-host.ts to improve conditional logic 2026-04-03 00:22:36 +02:00
3d7c0d75e4 Refactor viewport tool preview handling for creation and placement modes 2026-04-03 00:22:30 +02:00
1344c404d3 Refactor viewport tool preview handling in viewport-host.ts 2026-04-03 00:21:28 +02:00
62c558bb27 Refactor ViewportCanvas and ViewportPanel components 2026-04-03 00:21:13 +02:00
bea39f4526 Refactor viewport canvas and transient state for creation preview handling 2026-04-03 00:21:03 +02:00
c1b6d984cb Rename and refactor viewport preview types and functions 2026-04-03 00:20:46 +02:00
185cfe1aaa Remove 'box-create' from ToolMode and update related types 2026-04-03 00:20:46 +02:00
43d4e26fac Replace PLACEMENT_PREVIEW_COLOR_HEX with BOX_CREATE_PREVIEW_FILL in viewport-host.ts 2026-04-02 23:58:55 +02:00
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