Change inspector auto complete so it allows quick navigation through search results
- Vorherrschende Sprache
- Dart
- Sterne
- 1.7k
- Forks
- 404
- Ø Merge
- 6 T. 17 Std.
- Gemergte PRs (30 T.)
- 18
Beschreibung
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.
Beitragsleitfaden
Rechercherichtung
Beginne damit, das Autocomplete-Verhalten des Suchfelds im Inspector und den zurückgenommenen Pull Request #6677 zu überprüfen, mit Fokus darauf, wie ausgewählte Indizes Enter und die Pfeilnavigation behandeln. Fertig ist es, wenn Enter und Shift+Enter die Suchergebnisse ohne ausgewählte Autocomplete-Option durchlaufen, während das vorherige Drücken des Abwärtspfeils Enter aktiviert, um einen Autocomplete-Eintrag auszuwählen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- dart
- Bereich
- developer-experience, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100