Commit Graph

693 Commits

Author SHA1 Message Date
fea1f32fc1 Update CSS styles for toolbar and button components 2026-04-03 01:30:56 +02:00
162b2495d8 Update CSS for viewport region and panel layouts 2026-04-03 01:27:35 +02:00
879f34ec09 Enhance viewport panel layout and add resizing functionality 2026-04-03 01:26:58 +02:00
d8cc3a1c46 Add viewport quad split functionality and related utilities 2026-04-03 01:26:47 +02:00
e88cd7e795 Refactor ViewportCanvas component by removing unused functions and optimizing overlay rendering logic 2026-04-03 01:25:55 +02:00
37e70a6b0b Add support for viewport quad split in editor store and ViewportPanel component 2026-04-03 01:25:40 +02:00
9d233de06a Add ViewportQuadSplit interface and update DEFAULT_VIEWPORT_LAYOUT_STATE 2026-04-03 01:25:25 +02:00
52f310e199 Add keyboard shortcut for entering play mode and handle escape key in play mode 2026-04-03 01:15:18 +02:00
1ebc2f81d0 Add keyboard shortcuts for save, undo, and redo in App.tsx 2026-04-03 01:13:29 +02:00
fbde0094bf Handle model-instance creation preview in rebuildModelInstances method 2026-04-03 01:10:48 +02:00
e5a6da5a1e Update viewport-host.ts to include loadedAsset in model instance rendering 2026-04-03 01:10:48 +02:00
7e1e86abca Add preview shell color and opacity to model instance rendering 2026-04-03 01:10:37 +02:00
9cb26f7562 Call entity name validation in scene document validation 2026-04-03 01:06:20 +02:00
c48f630e25 Add function to validate entity name 2026-04-03 01:06:20 +02:00
b562fe483b Add styles for outliner item rename and update tests for scene document serialization 2026-04-03 01:05:12 +02:00
bbfc17c66c Refactor brush and model instance selection handling in App.tsx 2026-04-03 01:05:01 +02:00
31f170e2fa Add name field to various entity creation functions and handle entity renaming logic 2026-04-03 01:04:13 +02:00
4810d8f3c2 Add state management for entity and model instance name drafts 2026-04-03 01:03:58 +02:00
8a36d888de Import new command modules in App.tsx 2026-04-03 01:03:58 +02:00
2ff3f79f29 Add commands for setting entity and model instance names 2026-04-03 01:03:58 +02:00
1e82418c53 Add migration for entities gaining an optional authored name field 2026-04-03 01:03:23 +02:00
dd5482551e Include optional name in various entity readers 2026-04-03 01:03:18 +02:00
c90c2ba5ad Add function to read optional entity name 2026-04-03 01:03:18 +02:00
61cc96293d Update migration script for new entity name handling 2026-04-03 01:03:04 +02:00
1b66de906e Bump scene document version and update entity comparison 2026-04-03 01:03:03 +02:00
23ffb186e6 Include 'name' in entity creation functions and normalize it 2026-04-03 01:02:52 +02:00
d3566dec06 Add function to normalize entity names 2026-04-03 01:02:52 +02:00
f1191148ff Refactor entity interfaces to extend PositionedEntity 2026-04-03 01:02:34 +02:00
8400dc30b5 Refactor App.tsx and app.css for improved deletion handling and outliner styling 2026-04-03 00:55:51 +02:00
e659beb512 Add delete functionality for scene items in App.tsx 2026-04-03 00:55:39 +02:00
0a53bcdf6f Add delete commands for box brush, entity, and model instance 2026-04-03 00:55:13 +02:00
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