ufal / charles-translator-android

Android app of LINDAT translation service
MIT License
2 stars 0 forks source link

The content of input field when microphone is activated #20

Closed matyaskopp closed 2 years ago

matyaskopp commented 2 years ago

When the microphone icon is pressed, the input field should be erased.

The input field in the second screenshot should be empty: image The current situation can be confusing - users can expect that the recorded text is appended (inserted) into the current text in the input field.

martinpopel commented 2 years ago

Yes. The feature of appending (or inserting) recorded text to the previous content could be useful in some rare cases, but it would complicate the main use case, where the users expect that the previous content is deleted immediately after using the mic icon. (If there was a "valuable" text, the users can always find it in the history, so the deleting makes no harm.)

matyaskopp commented 2 years ago

I did not want to have an append function. I just wanted to make it obvious that the current input field content will be erased. Only change the order: firstly remove the text and then record a new one.

I think it should behave the same way when you use the keyboard - you remove current text and write a new one.

martinpopel commented 2 years ago

I agree. We don't want the append function for audio input. This issue is about deleting the previous input text immediately after tapping the mic icon.

With the keyboard input the users can decide whether to delete the previous input (e.g. using the delete button) or whether to append/insert the new text - that's OK, of course.

matyaskopp commented 2 years ago

I agree. We don't want the append function for audio input. This issue is about deleting the previous input text immediately after tapping the mic icon

Exactly

krabatom commented 2 years ago

changed in version 0.9.15