Commit Graph

878 Commits

Author SHA1 Message Date
21ece68aff Update import-model-asset.e2e.ts and viewport-test-helpers.ts for improved model asset handling and preview placement 2026-04-03 00:08:10 +02:00
2f97a2173d Add click interaction to local lights and background test 2026-04-03 00:07:57 +02:00
064b138a8d Add click interaction to entities foundation tests 2026-04-03 00:07:57 +02:00
238fe565dd Add click interaction to import draco model asset test 2026-04-03 00:07:57 +02:00
0500b6cf2b Add click interaction to import external model asset test 2026-04-03 00:07:57 +02:00
4fd4da1e78 Add click interaction to import model asset test 2026-04-03 00:07:57 +02:00
b2438a85d2 Enhance e2e test for local lights and background by adding viewport interactions 2026-04-03 00:06:10 +02:00
a71e94eec9 Update e2e tests to include force option in hover and click actions 2026-04-03 00:04:59 +02:00
89344cc99f Add force option to viewport canvas interactions for external model asset 2026-04-03 00:04:43 +02:00
2682c290c1 Add force option to viewport canvas interactions 2026-04-03 00:04:43 +02:00
a3e658ab93 Fix optional chaining in entity selection 2026-04-03 00:04:43 +02:00
3bebd4116d Fix potential null access in Draco model instance selection check 2026-04-03 00:03:32 +02:00
63ab9afc9c Fix potential null access in external model instance selection check 2026-04-03 00:03:32 +02:00
dbb886a9f1 Fix potential null access in model instance selection check 2026-04-03 00:03:32 +02:00
d87406f69e Update test assertions for viewport panel activation 2026-04-03 00:03:32 +02:00
aef964e958 Enhance error handling in e2e tests for entity placement and model import 2026-04-03 00:02:52 +02:00
cc44ca1971 Update E2E tests to include viewport interaction and selection checks 2026-04-03 00:02:32 +02:00
d6023451d2 Update e2e tests for model asset import with external resources and improve interaction checks 2026-04-03 00:02:05 +02:00
2ebe4bb8a1 Update e2e test for model asset import 2026-04-03 00:01:40 +02:00
0c5eeb64e4 Add editor store snapshot and tool preview retrieval functions 2026-04-03 00:01:17 +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
3a48452c2a Update test to place instance and remove save draft steps 2026-04-02 23:34:35 +02:00