Commit Graph

341 Commits

Author SHA1 Message Date
b54b3eb445 Update onCommitCreation to return boolean in ViewportCanvas.tsx 2026-04-03 00:32:17 +02:00
464e7c5d86 Update ViewportCanvas to include sourcePanelId in tool preview change handler 2026-04-03 00:28:41 +02:00
afea3647bb Add comment to preserve shared creation preview state 2026-04-03 00:26:52 +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
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
572d448d1f Fix undefined parameter in createModelInstanceRenderGroup 2026-04-02 23:56:52 +02:00
6bd7e5b769 Remove active class from ViewportCanvas and ViewportPanel 2026-04-02 23:55:36 +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
d12a4e68c8 Remove compact class from ViewportPanel component 2026-04-02 23:28:45 +02:00
15b17223c2 Update ViewportPanel component for quad layout and active badge display 2026-04-02 23:25:34 +02:00
d191a61b15 Simplify formatVec3 function in ViewportCanvas 2026-04-02 23:06:09 +02:00
6b0bb0fc52 Update box create preview condition in ViewportCanvas 2026-04-02 23:06:09 +02:00
113d899309 Refactor box creation preview handling in viewport-host.ts 2026-04-02 23:03:33 +02:00
b71f7adda2 Rename setBoxCreatePreviewHandler to setBoxCreatePreviewChangeHandler in ViewportCanvas.tsx 2026-04-02 23:03:19 +02:00
e3caeedcad Refactor box create preview handling in viewport-host.ts 2026-04-02 23:02:37 +02:00
856dd76669 Refactor box create preview handling in ViewportHost 2026-04-02 23:02:32 +02:00
f1714a4c2a Add overlay text to ViewportCanvas 2026-04-02 23:02:32 +02:00
8366176e14 Update ViewportCanvas to include tool preview and layout mode 2026-04-02 23:02:11 +02:00
a8f965cf0e Simplify viewport caption and update tool preview handling 2026-04-02 23:01:58 +02:00
c310bb05c8 Add viewport transient state management 2026-04-02 23:01:41 +02:00
d0bfdd7187 Remove isActivePanel check in ViewportCanvas.tsx 2026-04-02 22:45:44 +02:00
dafd22a0b3 Reorder imports in viewport-host.ts 2026-04-02 22:42:45 +02:00
e6f4672b3e Update shadow settings based on display mode in viewport-host.ts 2026-04-02 22:39:51 +02:00
fdc42dce96 Modify viewport host to handle authoring display mode 2026-04-02 22:36:25 +02:00
94cadc5f37 Update subtitle separator in ViewportPanel.tsx 2026-04-02 22:36:05 +02:00
32660bd4b9 Update ViewportCanvas to use getViewportPanelLabel for aria-label 2026-04-02 22:35:30 +02:00
581aca0b44 Update ViewportPanel to include aria-hidden attribute 2026-04-02 22:35:30 +02:00
c62a6bcb39 Conditionally enable shadows based on display mode in viewport-host.ts 2026-04-02 22:35:14 +02:00
fedbf85c40 Remove unused import in ViewportPanel.tsx 2026-04-02 22:33:05 +02:00
5a44efe533 Add createDefaultViewportLayoutState function in viewport-layout.ts 2026-04-02 22:32:38 +02:00