Commit Graph

662 Commits

Author SHA1 Message Date
689e004d26 Rename Assets panel to Outliner and update content structure 2026-04-03 00:44:05 +02:00
a23bad5f87 Refactor and enhance add menu items with asset handling 2026-04-03 00:43:50 +02:00
db4b907838 Reset hovered asset ID when opening or closing add menu 2026-04-03 00:43:50 +02:00
db39f7253b Add hover change event to HierarchicalMenu items 2026-04-03 00:43:50 +02:00
7e610eaad4 Add creation commit handler to ViewportCanvas 2026-04-03 00:37:48 +02:00
13c600441f Clear viewport tool preview after completing creation 2026-04-03 00:35:30 +02:00
a2ad50b3ea Update handleCommitCreation to return boolean values 2026-04-03 00:32:26 +02:00
eb3d08140f Modify creationCommitHandler to handle boolean return and update logic in viewport-host.ts 2026-04-03 00:32:17 +02:00
d02159a253 Update onCommitCreation to return boolean in ViewportPanel.tsx 2026-04-03 00:32:17 +02:00
b54b3eb445 Update onCommitCreation to return boolean in ViewportCanvas.tsx 2026-04-03 00:32:17 +02:00
8dcca3487d Refactor App.tsx to use completeCreation function 2026-04-03 00:30:32 +02:00
464e7c5d86 Update ViewportCanvas to include sourcePanelId in tool preview change handler 2026-04-03 00:28:41 +02:00
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