flutter / flutter/devtools

Change inspector auto complete so it allows quick navigation through search results

Đang mở
#6,864 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ả

The need to revert https://github.com/flutter/devtools/pull/6677 highlighted that there is autocomplete behaviour that already uses the enter key in the search field.

To priotitize ease of use in the search field I propose that we:
- change index 0 of the selected indices to mean no selection
- allow enter, and shift+enter to navigate to next/previous while index 0 is set.
- In order to use "enter" to select an autocomplete entry, the user would have to use the down arrow once to enter the auto completions. This would mean that the autocompletions are essentially 1-indexed instead of 0-indexed.

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

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

Đánh giá

Issue này chưa được đánh giá.

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.