Add live updates for the component tree and selected component in DevTools
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Start by reading the existing behavior-tree polling and the component tree and selection refresh entry points in flame_devtools; inspect how getComponentTree builds the tree and how component.hashCode identifies components. Done means polling can be disabled, manual refresh remains available, and the listed UI state and connection behaviors are preserved. Measure the cost on a scene with many components and record the result in the PR.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem to solve
The component tree and the selected component only update through the manual refresh button, so the values go stale as soon as the game moves on. Only the behavior tree section polls today, every 500 ms.
Proposal
Keep the extension up to date automatically by polling.
- Poll the selected component often, around every 100 ms. This should be cheap because it is a single component.
- Poll the tree less often, around every 300 ms or slower.
getComponentTreebuilds the whole tree on every call, includingtoStringand attributes for each component, so measure this on a large game before picking the interval. - Add a way to turn live updates off, and keep manual refresh.
component.hashCode is used as the ID, so a component keeps its ID across refreshes. The UI should use that to preserve state.
Acceptance criteria
- Selection, expanded nodes and scroll position survive a refresh.
- A field being edited isn't overwritten by a poll.
- The selection clears cleanly when the selected component is removed from the game.
- A new poll doesn't start while the previous one is still running.
- Polling stops when the extension isn't connected.
- The cost on the running game is measured on a scene with many components, and the result is noted in the PR.
More information
Part of the work to move the flame_studio debugging features to flame_devtools.
- Lenguaje dominante
- Dart
- Estrellas
- 10.8k
- Forks
- 1.1k
- Merge medio
- 1 d 21 h
- PR fusionados (30 d)
- 62
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de flame-engine/flame
-
`Viewfinder.visibleGameSize` is not reapplied when the viewport changes sizePosiblemente ocupada @ufrshubham la tomó hace 1 día. Abiertobug
flame-engine/flame#4204 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
`Viewfinder.visibleGameSize` zooms in too far with a `FixedResolutionViewport`Posiblemente ocupada @ufrshubham la tomó hace 1 día. Abiertobug
flame-engine/flame#4203 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Camera bounds with `considerViewport: true` are not updated when the viewport is resizedPosiblemente ocupada @ufrshubham la tomó hace 1 día. Abiertobug
flame-engine/flame#4202 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
`CameraComponent.setBounds` with `considerViewport: true` only works for bounds that start at (0, 0), at zoom 1Posiblemente ocupada @ufrshubham la tomó hace 1 día. Abiertobug
flame-engine/flame#4201 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
`findPostProcessFromContext` returns `null` for components rendered with `CameraComponent.postProcess`Posiblemente ocupada @ufrshubham la tomó hace 1 día. Abiertobug
flame-engine/flame#4200 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de flame-engine/flame
Issues similares
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
InlitX/GymMane#311 · 1 reacción ·
Los mantenedores suelen responder en 4 días
-
Remove Info buttonAbiertoenhancement user request
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
mill-road-winter-fair/mill_road_winter_fair_app#646 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[CarouselView] Crash (RangeError / ArgumentError) when children or itemCount is empty with infinite: true or CarouselController.animateToItemPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertop: material_ui package platform-android platform-ios platform-linux platform-macos platform-web team-design
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
flutter/flutter#195878 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Add an NCBA Bank packAbiertogood first issue help wanted parser-pack
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
pesaclarity/ujumbe-parsers#30 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
AimesSoft/NipaPlay-Reload#1092 ·
Los mantenedores suelen responder en 1 día