Consider supporting an online "upgrade" experience when embedded in an IDE
- Langage dominant
- Dart
- Étoiles
- 1.7k
- Forks
- 404
- Merge moyen
- 6 j 17 h
- PR mergées (30 j)
- 18
Description
In this scenario, I opened the Performance page in VS code when no debug sessions were available. This opened up the Performance screen for the "disconnected" state which allows the user to load offline data. I later ran a debug session, and still had the "offline" version of the Performance page.
It would be nice if a small banner popped up at the top of my performance tool that said something like
"A debug session is now available. Would you like to reload this tool and connect to it?". At that point the user could choose whether to ignore the message and continue looking at the offline data or reload the tool with the new app connection.
If the user chose to reload, DevTools could refresh itself so that the embedded IDE view would be reloaded. This would require the IDE to send an event to DevTools debug sessions change, and I think this event already exists because of the Flutter sidebar.
CC @DanTup @helin24
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par les états de déconnexion et de données hors ligne de la page Performance, puis suivez l’événement de changement de debug-session existant de la barre latérale Flutter. Déterminez comment l’IDE intégré peut notifier DevTools lorsqu’une session devient disponible et comment le choix de rechargement contrôlé par l’utilisateur doit affecter la vue actuelle. C’est terminé lorsque la transition est gérée sans supprimer les données hors ligne, sauf si l’utilisateur choisit de recharger.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- dart, flutter, vscode
- Domaine
- developer-experience, tooling
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100