-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
nodes: improve block mesh editing UX #691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
sudhir9297
wants to merge
49
commits into
pascalorg:main
Choose a base branch
from
sudhir9297:t3code/improve-block-node-ux
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
3731eb3
Add roof surface placement support for items
sudhir9297 ed53bc2
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 fd8e02c
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 7c1e383
fixed conflict
sudhir9297 b3377da
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 f177a65
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 9af7491
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 fd27524
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 b516298
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 ebfc8ce
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 b7b313b
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 b2ad645
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 bffdb4a
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 ee7b10c
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 7d4b474
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 3a3318c
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 26df69f
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 5376e07
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 d2204aa
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 f2a5186
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 5841052
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 a6acaa3
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 e0fec5b
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 7fa9276
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 c3ff9d6
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 00d84d5
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 2c2dabc
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 29f914f
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 1cbf910
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 8f59da7
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 650abd6
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 1f8dc8b
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 7c4b791
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 ef7184f
Merge branch 'main' of github.com:sudhir9297/editor; branch 'main' of…
sudhir9297 c92a376
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 da49781
Merge branch 'main' of github.com:pascalorg/editor
sudhir9297 228b233
feat(nodes): improve block edit interactions
sudhir9297 528ec46
fix(editor): detach items leaving block faces
sudhir9297 9b99730
feat(block): improve edit mode interactions
sudhir9297 39f9e2e
feat(block): support multi-component mesh operations
sudhir9297 bc87ca2
feat(block): assign accent material to new slots
sudhir9297 df066c8
refactor(block): isolate edit mode services
sudhir9297 6c7452d
fix(block): preserve constrained transform intent
sudhir9297 b15178b
fix(block): key last operation controls
sudhir9297 384eb92
docs: remove stale wiki research notes
sudhir9297 b3d58cb
fix block gizmo reuse and operation panel
sudhir9297 61766b7
add extrusion axis locking and fix z direction
sudhir9297 cd3b6aa
fix: align block editing interactions
sudhir9297 126835b
Merge remote-tracking branch 'upstream/main' into t3code/improve-bloc…
sudhir9297 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
packages/editor/src/components/systems/selection-affordance-services.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| import type { AnyNode, SceneApi } from '@pascal-app/core' | ||
|
|
||
| export type SelectionAffordanceHistoryApi = { | ||
| depth: () => number | ||
| replaceLatest: (expectedDepth: number, replace: () => boolean) => boolean | ||
| } | ||
|
|
||
| export type SelectionAffordanceProps = { | ||
| historyApi: SelectionAffordanceHistoryApi | ||
| node: AnyNode | ||
| readOnly: boolean | ||
| sceneApi: SceneApi | ||
| } |
46 changes: 23 additions & 23 deletions
46
...mponents/tools/item/block-preview.test.ts → ...ents/tools/item/face-host-preview.test.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.