Skip to content

[Inspectorv2] Add metadata properties #16975

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

Merged
merged 9 commits into from
Aug 13, 2025

Conversation

docEdub
Copy link
Contributor

@docEdub docEdub commented Aug 6, 2025

No description provided.

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 6, 2025

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 6, 2025

Building or testing the playground has failed.

If the tests failed, results can be found here:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/PLAYGROUND/refs/pull/16975/merge/testResults/

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 6, 2025

Building or testing the sandbox has failed.

If the tests failed, results can be found here:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/SANDBOX/refs/pull/16975/merge/testResults/

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 6, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 6, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 6, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 11, 2025

You have made possible changes to the playground.
You can test the snapshot here:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/PLAYGROUND/refs/pull/16975/merge/

The snapshot playground with the CDN snapshot (only when available):

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/PLAYGROUND/refs/pull/16975/merge/?snapshot=refs/pull/16975/merge

Note that neither Babylon scenes nor textures are uploaded to the snapshot directory, so some playgrounds won't work correctly.

@docEdub docEdub marked this pull request as ready for review August 11, 2025 16:55
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds metadata properties support to inspector v2, allowing users to view and edit metadata attached to scene objects through the inspector interface.

  • Adds a new metadata properties service and component for displaying and editing object metadata
  • Implements a comprehensive metadata editor with JSON parsing, validation, and formatting capabilities
  • Includes test objects with various metadata types for development and testing

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
packages/dev/sharedUiComponents/src/fluent/primitives/textarea.tsx Adds minimum and maximum height styles to textarea component
packages/dev/inspector-v2/test/app/index.ts Creates test objects with different metadata types for testing the metadata editor
packages/dev/inspector-v2/src/services/panes/properties/metadataPropertiesService.tsx Registers the metadata properties service with the inspector framework
packages/dev/inspector-v2/src/inspector.tsx Adds the metadata properties service to the inspector's service definitions
packages/dev/inspector-v2/src/components/properties/metadataProperties.tsx Implements the main metadata properties component with editing, validation, and formatting features

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 11, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 11, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 11, 2025

You have changed file(s) that made possible changes to the sandbox.
You can test the sandbox snapshot here:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/SANDBOX/refs/pull/16975/merge/

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 11, 2025

You have changed file(s) that made possible changes to the sandbox.
You can test the sandbox snapshot here:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/SANDBOX/refs/pull/16975/merge/

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 11, 2025

You have made possible changes to the playground.
You can test the snapshot here:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/PLAYGROUND/refs/pull/16975/merge/

The snapshot playground with the CDN snapshot (only when available):

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/PLAYGROUND/refs/pull/16975/merge/?snapshot=refs/pull/16975/merge

Note that neither Babylon scenes nor textures are uploaded to the snapshot directory, so some playgrounds won't work correctly.

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 11, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 11, 2025

@docEdub docEdub changed the title Add metadata properties to inspector v2 [Inspectorv2] Add metadata properties Aug 11, 2025
@bjsplat
Copy link
Collaborator

bjsplat commented Aug 13, 2025

You have made possible changes to the playground.
You can test the snapshot here:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/PLAYGROUND/refs/pull/16975/merge/

The snapshot playground with the CDN snapshot (only when available):

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/PLAYGROUND/refs/pull/16975/merge/?snapshot=refs/pull/16975/merge

Note that neither Babylon scenes nor textures are uploaded to the snapshot directory, so some playgrounds won't work correctly.

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 13, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 13, 2025

@bjsplat
Copy link
Collaborator

bjsplat commented Aug 13, 2025

You have changed file(s) that made possible changes to the sandbox.
You can test the sandbox snapshot here:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/SANDBOX/refs/pull/16975/merge/

@sebavan sebavan enabled auto-merge (squash) August 13, 2025 22:42
@sebavan sebavan merged commit 2e5e7f7 into BabylonJS:master Aug 13, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants