调整开发者工具面板,粒子模块控件移除module UI#116
Merged
Merged
Conversation
…rolling BoundedScrollView (GuavaUI): - New scroll view with explicit content height bounds - Calculates viewport height between minHeight and maxHeight - Useful for fixed-size containers with dynamic content InspectorPanel (Editor): - Replace open-ended module list with BoundedScrollView - minHeight: 220, maxHeight: 520 - Content scrolls when modules exceed viewport - Remove frameTimingRevision subscription (reduce unnecessary redraws) - Extract layout constants into ParticleModuleStackLayout enum - Simplify module row status: merge health dot and backend pill into moduleRowStatusBadge() - Remove module-level runtime diagnostic chips from expanded editor - Delete runtimeChips, gpuSimulationDiagnostics, diagnosticChip, runtimeMetricChip - Reduce stageBadgeWidth from 78 to 58 PropertyGrid (GuavaUI): - Minor fix (5 lines)
… controls Developer Tools (EditorStatPanel.swift): - Add .overview tab with DeveloperWorkbenchOverview - Add .particles tab with dedicated particle diagnostics view - Add DeveloperWorkbenchIssues system: collects issues from all sources (frame pacing, render stats, particle health, console errors) - Add makeDeveloperWorkbenchIssues() aggregator - Add DeveloperWorkbenchOverview with issue cards - Add DeveloperParticleDiagnosticsView with runtime overview, render batches, GPU simulation stats, emitter hotspots, and trend summary - Add makeDeveloperParticleAuthoringDiagnosticSummary() - Add makeDeveloperParticleEmitterLabels() for hierarchy paths - Add makeDeveloperParticleEmitterHotspot() per-emitter detail - Add makeDeveloperRenderPassBreakdown() for render pass ranking Inspector Panel: - Extract particle module controls to Inspector/ParticleControls/ - Moves InspectorParticleControlsView (1143 lines) to new file - InspectorPanel.swift reduced from ~5000 to ~524 lines - Remove RenderBackend import and runtime diagnostics from InspectorPanel - Simplify initializer (no more renderStats/particleEvent providers) InspectorParticleControlsView (new): - All particle module editor UI extracted from InspectorPanel - Emission, shape, velocity, forces, collision, appearance, texture sheet, trails, sub-emitters, GPU simulation modules - Curve editor, sub-emitter rules, module layout helpers RootViewFactory: - Simplify InspectorPanel initialization Tests: - Add workbench diagnostics priority tests - Add particle health workbench issue conversion test - Add render pass breakdown ranking test
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.