Commit Graph

933 Commits

Author SHA1 Message Date
11ef2c71db Refactor viewport host mock setup in tests 2026-04-03 00:37:48 +02:00
47753b4c14 Add unit tests for ViewportCanvas 2026-04-03 00:37:48 +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
2e7de4b14c Update viewport test helpers to handle fallback button click 2026-04-03 00:30:54 +02:00
8dcca3487d Refactor App.tsx to use completeCreation function 2026-04-03 00:30:32 +02:00
e230db744e Update viewport-test-helpers.ts with type annotations 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
b23848ff55 Update e2e tests to include additional snapshots and assertions 2026-04-03 00:28:17 +02:00
d46f836d4b Add assertion for committed snapshot in box-brush-authoring.e2e.ts 2026-04-03 00:28:11 +02:00
f5bb8b2627 Store and assert snapshot after pressing Escape in import-model-asset.e2e.ts 2026-04-03 00:28:11 +02:00
149f550274 Update entities foundation e2e test to store snapshots 2026-04-03 00:28:00 +02:00
6cb7989a85 Update box brush authoring e2e test to store snapshots 2026-04-03 00:28:00 +02:00
7c95b7e71e Add test for escape key canceling entity creation preview 2026-04-03 00:27:49 +02:00
4bc45f3fa6 Update e2e test for model asset import and instance placement 2026-04-03 00:27:41 +02:00
c848001546 Update box brush authoring E2E test to include tool mode checks and escape key handling 2026-04-03 00:27:35 +02:00
5718fd87fc Add toolMode to EditorStoreSnapshot interface 2026-04-03 00:27:10 +02:00
18d2fffce2 Store and assert editor snapshots in viewport tests 2026-04-03 00:27:10 +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
2176fcabd0 Remove unused functions in viewport-test-helpers.ts 2026-04-03 00:25:29 +02:00
696d0a3fbe Update viewport-quad-layout.e2e.ts to use new preview function and match object 2026-04-03 00:25:16 +02:00
46984c8998 Update e2e tests to use new viewport creation helpers 2026-04-03 00:25:04 +02:00
1fe0da2bb9 Update viewport test helpers and tests for model asset import 2026-04-03 00:24:54 +02:00
01bdb6525a Update entities foundation tests to use new preview functions 2026-04-03 00:24:46 +02:00
9e4b7670a1 Add viewport test helpers 2026-04-03 00:24:46 +02:00
40c02757a6 Remove viewport-test-helpers.ts file 2026-04-03 00:24:16 +02:00
32a611a71f Update tool mode in tests and CSS 2026-04-03 00:24:04 +02:00
697ad5cbca Update editor tool mode and preview state tests 2026-04-03 00:23:52 +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
db8965436d Change import-model-asset.e2e.ts to use dispatchEvent for click 2026-04-03 00:11:27 +02:00
56305dc7cf Modify import-draco-model-asset.e2e.ts to use dispatchEvent 2026-04-03 00:11:27 +02:00
8a0f97477f Update test to use dispatchEvent for click 2026-04-03 00:11:27 +02:00
e2ce5eab79 Change click event to dispatchEvent in entities-foundation.e2e.ts 2026-04-03 00:10:08 +02:00
aa82a0c01a Change click event to dispatchEvent in import-draco-model-asset.e2e.ts 2026-04-03 00:10:08 +02:00