flutter / flutter/devtools

Control the preference to always show the DevTools pages on startup from DevTools

Ouverte
#3,918 16 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
cost: medium enhancement P2
Langage dominant
Dart
Étoiles
1.7k
Forks
404
Merge moyen
6 j 17 h
PR mergées (30 j)
18

Description

VSCode has custom UX to let users opt into always running the inspector. The problem is it is surfaced before users have actually used the inspector so they aren't sure whether it is valuable. We should surface UX inside the embedded devtools to opt in and out of always showing the embedded devtools.

"You have used the inspector a lot, would you like to always launch it when you open DevTools?"

"You haven't interacted with the inspector in N days, would you like to stop seeing it when you debug a flutter app?"

DevTools server should be driving whether the inspector pages are automatically shown on startup from IDEs. That way DevTools can surface the option to opt in and out of always showing the embedded DevTools on startup.

Downside: weird for an IDE setting to be tracked in DevTools rather than the individual IDES. We could mitigate this if we wanted to get fancy by surfacing UX for this in the IntelliJ and VSCode plugin settings as well as DevTools but I'm not sure the complexity would be worth it.

Bonus points:
Also offer the option of always showing DevTools on startup for command line users. I'd personally like this option but I'm biased.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start with the DevTools server behavior for embedded DevTools startup, then compare the VSCode and IntelliJ plugin settings with the command-line startup path. Define how DevTools should let users opt in or out based on inspector usage, and document whether IDE settings also need corresponding UX. Done means the startup preference works consistently across the requested entry points.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
dart, flutter
Domaine
cli, tooling
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

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