From 340e9ebe8c7212c1ca8eb9d82dcd34a322f5fc64 Mon Sep 17 00:00:00 2001 From: jbuehler23 Date: Fri, 18 Jul 2025 15:04:05 +0100 Subject: [PATCH] remove unnecessary readmes --- crates/bevy_editor/PR_SUMMARY.md | 80 -------------------------------- crates/bevy_editor/WIDGETS.md | 0 2 files changed, 80 deletions(-) delete mode 100644 crates/bevy_editor/PR_SUMMARY.md delete mode 100644 crates/bevy_editor/WIDGETS.md diff --git a/crates/bevy_editor/PR_SUMMARY.md b/crates/bevy_editor/PR_SUMMARY.md deleted file mode 100644 index 8fec911dd3..0000000000 --- a/crates/bevy_editor/PR_SUMMARY.md +++ /dev/null @@ -1,80 +0,0 @@ -# PR Summary: Bevy Inspector Integration for bevy_dev_tools - -## Overview - -This PR adds a comprehensive entity and component inspector to `bevy_dev_tools`, providing real-time debugging capabilities for Bevy applications. The inspector features a modern UI with scrollable panels and integrates seamlessly with the existing dev tools ecosystem. - -## Key Features - -### Entity Inspector -- **Entity Browser**: Scrollable list of all entities in the world -- **Real-time Updates**: Live entity list that refreshes automatically -- **Interactive Selection**: Click to select entities and view their components - -### Component Inspector -- **Detailed View**: Comprehensive component data display with proper formatting -- **Smart Formatting**: Special handling for common Bevy types (Vec2, Vec3, Transform, Color) -- **Scrollable Interface**: Smooth scrolling through large component datasets -- **Expandable Data**: Hierarchical display of complex component structures - -### Modern UI System -- **Native Scrolling**: Integration with `bevy_core_widgets` for smooth scrolling -- **Dark Theme**: Professional styling optimized for development work -- **Responsive Design**: Proper overflow handling and window resizing -- **Dual Panel Layout**: Entity list on left, component details on right - -### Remote Integration -- **bevy_remote Support**: Built-in HTTP client for remote debugging -- **Connection Status**: Visual indicators for connection state -- **Automatic Reconnection**: Handles connection drops gracefully - -## Technical Implementation - -### Modular Architecture -```rust -// Add to your app for full inspector -app.add_plugins(EditorPlugin); - -// Or use individual components -app.add_plugins(( - EntityListPlugin, - ComponentInspectorPlugin, - WidgetsPlugin, -)); -``` - -### Scroll System Integration -- Uses Bevy's native `ScrollPosition` component -- Integrates with `bevy_core_widgets` scrollbars -- Prevents duplicate scrollbar creation -- Smooth mouse wheel interaction - -### Widget System -- **ScrollViewBuilder**: High-level scrollable containers -- **CoreScrollArea**: Low-level scroll components for custom use -- **Theme Integration**: Consistent styling across all components - -## Integration with bevy_dev_tools - -This inspector will be integrated into the `bevy_dev_tools` crate as a new debugging tool, joining: -- Entity debugger -- System performance monitor -- Resource inspector -- Event viewer - -## Usage - -```rust -use bevy::prelude::*; -use bevy_dev_tools::inspector::InspectorPlugin; - -fn main() { - App::new() - .add_plugins(DefaultPlugins) - .add_plugins(InspectorPlugin) - .run(); -} -``` - -The inspector provides immediate value for developers debugging entity hierarchies, component data, and application state in real-time. - diff --git a/crates/bevy_editor/WIDGETS.md b/crates/bevy_editor/WIDGETS.md deleted file mode 100644 index e69de29bb2..0000000000