Commit Graph

1163 Commits

Author SHA1 Message Date
158a5b8944 Bump scene document version and update loading screen handling 2026-04-11 04:14:01 +02:00
3c3723531a Add loading screen settings to scene document 2026-04-11 04:08:03 +02:00
2f40bdc184 Refactor imports and types in create-scene-command.ts 2026-04-11 03:52:29 +02:00
664fe443c2 Remove unused import in editor-store.ts 2026-04-11 03:52:29 +02:00
ac5febcb11 Add styles for toolbar components in app.css 2026-04-11 03:49:49 +02:00
9a1a8884e7 Refactor scene controls and add new scene button in App.tsx 2026-04-11 03:49:45 +02:00
8c6e08d4ac Update project save logic in App.tsx 2026-04-11 03:49:45 +02:00
37a37ef0a6 Add handlers for creating scenes and changing active scenes 2026-04-11 03:49:34 +02:00
b25be0d036 Extract sceneList from editorState.projectDocument.scenes 2026-04-11 03:49:34 +02:00
de8360183c Import and prepare commands for scene creation and active scene setting 2026-04-11 03:49:34 +02:00
af3af9c857 Rename initialDocument to initialProjectDocument in createEditorStore 2026-04-11 03:49:34 +02:00
422b570749 Update EditorStore to support project documents and scenes 2026-04-11 03:49:10 +02:00
dd0048ff84 Update project package serialization to use ProjectDocument 2026-04-11 03:48:29 +02:00
27060a97e1 Update local draft storage to use ProjectDocument 2026-04-11 03:48:24 +02:00
5b454b91ea Add serialization functions for ProjectDocument 2026-04-11 03:48:14 +02:00
6a6462a368 Remove unused import and update scene creation logic 2026-04-11 03:48:14 +02:00
1e6ea11e23 Add project document validation and resource checks 2026-04-11 03:48:06 +02:00
cd5655b521 Update scene document migration to support project documents 2026-04-11 03:47:36 +02:00
a6bb276678 Add scene creation and active scene switching commands 2026-04-11 03:47:36 +02:00
f1ab5f8282 Introduce ProjectScene and ProjectDocument interfaces with utility functions 2026-04-11 03:46:52 +02:00
2b3e5858f4 Add styles for status bar items 2026-04-11 03:29:29 +02:00
69336d210b Add E2E test for transform status bar and update CSS for status bar items 2026-04-11 03:29:04 +02:00
0f65009304 Update viewport-host.ts to handle non-brush and modelInstance targets 2026-04-11 03:24:11 +02:00
d2c0066643 Change useEffect to useLayoutEffect in ViewportCanvas 2026-04-11 03:24:06 +02:00
a1fc1fa2b7 Use useLayoutEffect in ViewportCanvas and add cameraSyncRequestId prop 2026-04-11 03:22:50 +02:00
3845934be7 Add cameraSyncRequestId prop to ViewportPanel 2026-04-11 03:22:49 +02:00
3f9e89569f Add requestViewportCameraSync function and update related logic in App.tsx 2026-04-11 03:22:34 +02:00
e6e40246ce Update App.tsx and ViewportHost.ts to include viewport camera sync request ID and resolve object scale constraint axis 2026-04-11 03:22:24 +02:00
754eb60a25 Add transform axis mapping functionality 2026-04-11 03:22:24 +02:00
4a66cccd79 auto-git:
[change] src/app/App.tsx
 [change] src/app/editor-store.ts
 [change] src/core/transform-session.ts
 [change] src/viewport-three/ViewportCanvas.tsx
 [change] src/viewport-three/ViewportPanel.tsx
 [change] src/viewport-three/viewport-host.ts
 [change] tests/unit/viewport-canvas.test.tsx
2026-04-11 02:44:49 +02:00
c991f41158 auto-git:
[change] src/viewport-three/viewport-host.ts
 [change] tests/unit/viewport-canvas.test.tsx
2026-04-11 02:44:49 +02:00
a40089d956 Update App.tsx and ViewportHost.ts with axis constraint space and message updates 2026-04-11 02:43:38 +02:00
031ce48aaa Update ViewportCanvas to include transform axis labels 2026-04-11 02:41:10 +02:00
8786e4c12b Add viewportGridVisible prop and effect to ViewportCanvas 2026-04-11 02:41:06 +02:00
3211bd2f7a Add viewportGridVisible prop to ViewportPanel 2026-04-11 02:41:06 +02:00
ab86208e63 Add toggle for viewport grid visibility and update axis constraint handling in App.tsx 2026-04-11 02:40:58 +02:00
c51a396a82 Enhance transform session handling and grid visibility in ViewportHost 2026-04-11 02:40:51 +02:00
dad94d6ec9 Add grid visibility flag and constants in ViewportHost 2026-04-11 02:38:09 +02:00
bb422a98f1 Add axis constraint space parameter to transform session 2026-04-11 02:38:05 +02:00
9e47af9bc6 Add support for local axis constraint in transform session 2026-04-11 02:38:00 +02:00
3cfa510379 Update project package serialization to use Map and improve error handling 2026-04-10 12:33:09 +02:00
822f870f07 Add probe archive debug logging to test serialization 2026-04-10 12:32:21 +02:00
cf0c92585f Log type and constructor of scene bytes during serialization 2026-04-10 12:32:21 +02:00
32e217d4ee Add ProjectPackageTree type and setPackagedFile function in project-package.ts 2026-04-10 12:28:13 +02:00
3816ad4b33 Convert project bytes to Uint8Array before creating Blob 2026-04-10 12:27:23 +02:00
10dde354f7 Update project-package.ts to handle asset metadata and improve cloning logic 2026-04-10 12:27:04 +02:00
df616188f4 Update diagnostic handling in local-draft-storage 2026-04-10 12:25:30 +02:00
5b8842b199 Update dependencies in App.tsx 2026-04-10 12:23:52 +02:00
faaa6775f2 Update toolbar buttons and file input handling in App.tsx 2026-04-10 12:23:41 +02:00
63b9f29ef5 Refactor save and load functionality in App.tsx 2026-04-10 12:23:35 +02:00