[ADD] Enable/Disable Button. UI Enhancements, Info Icon, Fixed Text L…#232
[ADD] Enable/Disable Button. UI Enhancements, Info Icon, Fixed Text L…#232AnmollGarg wants to merge 15 commits into
Conversation
…ive Updation in Read More Page, Dynamic Timeout, Stagging
Co-authored-by: AnmollGarg <anmolgarg12203@gmail.com>
[ADD] Search Feature, Renamed the Page Name
|
Hi @AnmollGarg The Bug In Read More Page persists.
|
I have fixed the bug you mentioned. |
suraj-yadav0
left a comment
There was a problem hiding this comment.
If a user is actively recording speech-to-text and closes the page or navigates back, the background arecord/ffmpeg subprocess remains active until the silence timeout (7 seconds) or hard timeout (300 seconds) is reached.
Refere these files, voice2.text.py
ReadMorePage.qml, RichTextEditor.qml, and RichTextPreview.qml
Add cleanup handlers to ensure active voice processes are explicitly stopped when components are destroyed or navigated away..
Something like ........Component.onDestruction{
if(listening || processing) {
backend_bridge.call(backend.stop_voice_recognition)
}}
…oad error pop up message
|
@AnmollGarg @parvathyabnair I also recommend Putting a Stop Action Button on the Voice Over Pop-over which will make it more user intuitive. |
[FIX] voice model setting info, the navigation issue fixed, the downl…
[EDIT] the voice model settings info content
|
@suraj-yadav0 Can you please review the changes, and let me know if there is any issues? |
|
I made the suggested changes. Can you please review it? |
|
Hi @suraj-yadav0, I have addressed all the requested changes and fixed the backend issues. Could you please review it again? Thanks! |
…(Beta), [FIXED] duplicate pop up box when the voice model download interrupt occures
[Added] justify to the text in the info for the voice model settings …
suraj-yadav0
left a comment
There was a problem hiding this comment.
after the small change , Squash the Commits , The PR Looks good to me.
After that I will proceed to merge it.
There was a problem hiding this comment.
[NitPick] In voice_to_text/voice2text.py, when the recording process terminates, add process.stdout.close() in the finally block. This releases the OS file descriptor immediately rather than waiting for garbage collection.
Summary
This PR introduces voice-to-text enhancements, including UI improvements, dynamic timeout configurations, backend logic updates, and a toggle button to enable or disable the feature. It also addresses a text live-updation bug on the "Read More" page.
Type
Motivation
The goal is to improve the user experience and reliability of the voice-to-text functionality. Users needed a way to toggle the feature on/off, clear visual indicators (info icon), and more robust text updates in real-time. Dynamic timeouts ensure the system accommodates varying speech patterns.
Changes
Settings_Page.qml,Settings_VoiceModel.qml).RichTextEditor.qml,RichTextPreview.qml,HtmlEditorToolbar.qml).src/backend.pyandvoice_to_text/voice2text.pyto handle dynamic timeouts and core staging logic.Testing
clickable build && clickable review)clickable install)Screenshots (if UI change)
Checklist
mainorrelease\x.x.xbranchRelated Issues
Additional Notes
The backend changes introduce dynamic timeout staging which directly correlates with the new settings UI. Ensure the speech model is downloaded/available when testing on-device.