felangel / felangel/mason

[mason_logger] feat: add description of keys for chooseOne

Abierto
#815 0 comentarios 2 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Dart
Estrellas
1.1k
Forks
113
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.