flutter / flutter/devtools

[Inspector UXR] Buttons and icons for debug toggles

Đang mở
#9,554 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
P3 screen: inspector
Ngôn ngữ chính
Dart
Star
1.7k
Fork
404
Merge trung bình
6 ngày 17 giờ
Pull request đã merge (30 ngày)
18

Mô tả

_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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
dart, flutter
Lĩnh vực
design, devtools, frontend
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.