Toggl Voice Capture

by Trapier Marshall

Version 10 (June 22, 2024)

Download (12 downloads)

Create Toggl time tracking entries using your voice. Inspired by TickTick's task capture dialog.

Required Toggl app config:
- ✔️ "Running Timer" Notification
- ❌ "Stopped Timer" Notification

Flow Beginnings
=============
TogglVoice()
Displays a text input dialog while listening for a new entry.
> Speak or submit some text to create a new entry.
> Say "stop" or submit empty text to stop the current entry.
> Say or click "cancel" to close the dialog.

TogglText()
> Displays text input dialog to create a new entry. Submit empty text to stop.

TogglStop()
> Stops currently running entry.

TogglVoicePromptOnStop()
> Starts TogglVoice() when an entry stops.

CHANGELOG
===========
v10
Use Toggl HTTP API to create entries. Offline fallback to Toggl App via PROCESS_TEXT.
TogglVoice() stops listening if you start typing
TogglVoice() cancel button properly aborts

v9
TogglVoice() simultaneously accepts voice or text input

v8
TogglVoicePromptOnStop() is added
Vibrate when listening starts. Behavior copied from Google app
Interact English language dependencies removed
Flow beginning names made more descriptive

v7
Voice dialog instructions improved

v6
"cancel" voice command
"cancel" button only works the first time" issue is fixed

v4=5
Stop() flow beginning

v3
Stop command case matching is insensitive
Stop command via text entry

v2
Text() flow begin for text-only capture
⌨️ button in voice capture to switch to text input
"stop" voice command to cancel all running entries