flutter / flutter/devtools

[Inspector UXR] Buttons and icons for debug toggles

Ouverte
#9,554 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
P3 screen: inspector
Langage dominant
Dart
Étoiles
1.7k
Forks
404
Merge moyen
6 j 17 h
PR mergées (30 j)
18

Description

_This issue has been broken out of https://github.com/flutter/devtools/issues/2890_

## Buttons and icons for debug toggles

Our developers didn’t understand what some of the debug modes did, or what their use cases are.

![Screenshot 2021-04-07 at 15 36 19](https://user-images.githubusercontent.com/82218649/114405000-e98ed980-9bae-11eb-92b4-8d41c0465d13.png)

### Suggestions

* Provide clearer access to documentation about what problem each debug toggle is useful for solving. This could be achieved via explanatory tooltips with links to further documentation.
* Update iconography to be consistent (style and use of color).
* Consistent use of margins and paddings everywhere (buttons, icons, list, etc).
* Ensure that the buttons have tooltips when they’re shrunken down into an icon. Currently some of the buttons are missing their tooltips when shrunken down in size.
* Increase the contrast on selected view mode toggle buttons (repaint rainbow etc).
* The grouping of the toggle buttons feels pretty random. The context of the toggle buttons is too obscure at the moment. We could easily improve this by labelling the groups for example.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start by reviewing the Inspector debug-toggle controls and the attached screenshot, then compare the listed suggestions with the current UI. Done means the toggles have clearer documentation access, consistent icons and spacing, tooltips in compact mode, stronger selected-state contrast, and understandable grouping labels.

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

Évaluation

Stack technique
dart, flutter
Domaine
design, devtools, frontend
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

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