flutter / flutter/devtools

Improve UX when the timeline events for a frame are not available

Abierto
#3,499 0 comentarios 0 reacciones 0 asignados Ver en GitHub
fix it friday P2 polish screen: performance
Lenguaje dominante
Dart
Estrellas
1.7k
Forks
404
Merge medio
6 d 17 h
PR fusionados (30 d)
18

Descripción

Sometimes, selecting a frame in the Frames chart that doesn't have Timeline Events shows a toast in the bottom right:

Screen Shot 2021-11-12 at 2 49 18 PM

Steps to reproduce:
1. Run an app in profile mode and connect to DevTools
2. Trigger some frames
3. Refresh the DevTools web application
4. Select a frame that was gathered before the refresh
5. See toast message

Instead, I would like some indication where the Timeline Events chart is displayed that tells me there are no timeline events for this frame, and that I should trigger some new frames and maybe avoid refreshing the page. Right now the Timeline Events chart will either show no frame data or the frame data for the previous frame that was selected. Instead, maybe this could be greyed out to indicate that there's a problem.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.