Skip to content

Conversation

gavine99
Copy link
Contributor

@gavine99 gavine99 commented Feb 12, 2025

this pr is to replace the non-standard and ugly ui element of double-tap on compose edit box to start stt.

added a setting item to show/hide new stt button in the appearance section of the settings. made setting default to 'show' so that the stt feature is discoverable by users. users can then turn it off if they wish.

image

added a new floating button to begin speech to text input. the button is intentionally larger than normal, but tinted such that it doesn't overweight the colours on the screen and so that it also can easily be found and pressed in situations when searching for a small button might be distracting and potentially dangerous, such as when driving.

image ---- image

closes #244

gavine99 added 2 commits February 12, 2025 14:35
…e discovery by user. move compose stt feature from double-tap compose entry box to new button on compose activity
@octoshrimpy
Copy link
Owner

I'm not sure how I feel about this. why not a mic button to replace the send button?

@gavine99
Copy link
Contributor Author

mic button in place of send button has been allocated for quick record voice message in #64.

plus, it's easier for user to use the button when in a situation such as driving where a small button is more difficult and maybe dangerous to find and use. ie a lot of car cradles make access to buttons at the bottom of the screen very difficult to access.

@octoshrimpy
Copy link
Owner

aah, this is for quickly "writing" a message with your voice, not sending your voice in a message. I understand.

I still don't personally like the floating button, but will have to look into UX for this. For now this is good. Is the user able to long-press to move it around?

@gavine99
Copy link
Contributor Author

long-press and drag around would be awesome. nice one! i'll look into it

@gavine99
Copy link
Contributor Author

gavine99 commented Feb 15, 2025

updated this pr to make the stt button drag and drop-able with a toast message on first show to let user know it can be re-positioned. button remembers it's relative window position until reset off/on in settings.

@octoshrimpy octoshrimpy merged commit 0f6c2fb into octoshrimpy:master Feb 16, 2025
2 checks passed
@ADTC
Copy link
Contributor

ADTC commented Feb 18, 2025

Looking forward to this in the next release! I came to report the problem in #244 but I'm glad this PR fixes it already.

@kk6mrp
Copy link

kk6mrp commented Mar 1, 2025

I just updated to the latest, and I have issues with this. First, I can drag the speech to text button, but does not respond otherwise. I've disabled this button, but there is no other option to perform speech to text.

Also, the microphone in place of the send button, intuitively seems like it should provide speech to text, but it records audio attachments. I see that this PR implemented this feature.

Can there at least be an alternative method for speech to text, such as an enabling the message box double tap when the speech to text button is disabled? I found that confusing at first, but I discovered that I really liked the way it worked.

@gavine99 gavine99 deleted the stt-option-and-new-button-244 branch March 12, 2025 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐞 [BUG] Double tap on word to select it instead launch voice input
4 participants