-
-
Notifications
You must be signed in to change notification settings - Fork 4k
feat: Add comprehensive read-only Bevy Inspector with remote inspection capabilities #20189
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
base: main
Are you sure you want to change the base?
Conversation
- Added a new module for editor UI widgets, including ScrollViewBuilder, CoreScrollArea, ExpansionButton, BasicPanel, and ScrollableContainer. - Implemented basic theme support with EditorTheme struct. - Created a Panel widget with collapsible and resizable features. - Developed a scrollable area widget with mouse wheel support and content height calculation methods. - Added examples for using scroll widgets and programmatic scrolling. - Introduced a simple panel widget with configurable dimensions and styling. - Implemented a simple scrollable container with mouse wheel support. - Established a theming system compatible with bevy_feathers, including themed UI elements and a theme management plugin.
You added a new example but didn't add metadata for it. Please update the root Cargo.toml file. |
- Deleted the entire inspector module including events, plugin, remote, selection, tree, and UI components. - Removed associated structures and systems for handling entity and component data from the remote server. - Cleaned up the entity list panel by removing unused scrollable container plugin. - Updated widget module to remove legacy scrollable container and examples.
Added X-Controversial just because of new crate. |
You added a new example but didn't add metadata for it. Please update the root Cargo.toml file. |
In all honesty, it's likely this gets moved to bevy_dev_tools. Just haven't had the time yet! |
Why aren't |
(Almost) A read-only bevy editor!
bevy_editor
crate with modular architecture for real-time entity and component inspectionbevy_remote
protocol for inspecting external Bevy applicationsObjective
This PR addresses the need for a robust, standalone entity inspector and editor for Bevy applications that can connect to remote processes via
bevy_remote
.Solution
The solution introduces a new
bevy_editor
crate with a modular architecture:Core Architecture
Key Features Implemented
Remote Connection System (
src/remote/
):UI Widget Library (
src/widgets/
):Panel System (
src/panels/
):Component Formatting (
src/formatting/
):Theme System (
src/themes/
):Testing
Manual Testing Performed
Testing Instructions for Reviewers
Basic Inspector Test:
Remote Connection Test:
Individual Component Test:
Platforms Tested
Areas Needing Additional Testing
Showcase
The new Bevy Editor provides a professional entity inspection experience similar to other game engines:
Key Features Demonstrated
Two-Panel Layout: Clean entity list on the left, detailed component inspector on the right
Smart Component Formatting:
Modular Usage:
Remote Connection: