flutter / flutter/devtools

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

Ouverte
#3,499 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
fix it friday P2 polish screen: performance
Langage dominant
Dart
Étoiles
1.7k
Forks
404
Merge moyen
6 j 17 h
PR mergées (30 j)
18

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.