felangel / felangel/mason

[mason_logger] feat: add description of keys for chooseOne

Offen
#815 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Dart
Sterne
1.1k
Forks
113
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Description**

`mason_logger` is very useful. However, I think the `chooseOne` prompt doesn't seem to have an intuitive interaction. It would be nice if beneath the prompt a description is added to detail what keys are available to interact with the prompt.

Example image:

**Requirements**

- [ ] Provide context on the available keys to interact with `chooseOne`

**Additional Context**

My initial approach was to use W/S to go up and down and then used the arrow keys. After looking at the codebase it seems that J/K (mimicking Vim) is being used instead W/S. The same applies to the use of "SPACE" and "ENTER" in this type of logger.

We can't expect user of bricks to understand and look into the code to know how to interact with this type of prompts.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.