flutter / flutter/devtools

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

Offen
#3,499 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
fix it friday P2 polish screen: performance
Vorherrschende Sprache
Dart
Sterne
1.7k
Forks
404
Ø Merge
6 T. 17 Std.
Gemergte PRs (30 T.)
18

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.