BotFlow icon indicating copy to clipboard operation
BotFlow copied to clipboard

Melhorar navegação via teclado

Open rodmaia opened this issue 5 years ago • 3 comments

Ao criar novo item (utter ou intent) colocar o foco no campo de nome.

Ao editar item (utter ou intent) colocar o foco no primeiro balão de conteúdo.

Fazer a tecla Enter passar direto para o próximo balão, ou criar um novo balão se necessário.

rodmaia avatar Sep 17 '19 18:09 rodmaia

Following the procedures according to #153.

AmandaMuniz avatar Feb 25 '21 15:02 AmandaMuniz

After checking this issue, I could notice that commits that resolve this issue were part of a general pull request. The code is on the branch master, and the software works correctly. I'll be changing this issue to 'done' and close it.

AmandaMuniz avatar Feb 25 '21 18:02 AmandaMuniz

The behavior of the Enter key doesn't match what was specified on the issue. Currently, the Enter key will always create a new item regardless of where you hit it. Also, on utters, it will add a new line on the current balloon before it moves to the next.

What was expected when you hit Enter was:

  • If you are on the last item of the list (last Intent text field or last Utter balloon) or if the list only has one item: create a new blank item
  • If you are on any other item but the last: move to cursor to the next item without adding a new line

Apologies for not being clear in the original description 😬

rodmaia avatar Mar 01 '21 19:03 rodmaia