Skip to content

Conversation

@joshliebe
Copy link
Contributor

@joshliebe joshliebe commented Nov 5, 2025

Task/Issue URL: https://app.asana.com/1/137249556945/project/488551667048375/task/1211841661898284?focus=true

Description

  • Adds the Input Mode toggle to voice search
  • Respects the current tab when launched from the Input Screen
  • Remembers last used mode everywhere else
  • Adds a "Voice Search" setting to "Duck.ai Shortcuts" to enable/disable the feature
  • Adds a duckAiVoiceSearch feature toggle set to INTERNAL

Steps to test this PR

Unfocussed state

  • Enable Private Voice Search
  • Tap the Voice Search icon in the omnibar on unfocussed state
  • Verify that the toggle is set is set to Search
  • Say something
  • Verify that a Search is completed
  • Tap the Voice Search icon in the omnibar
  • Toggle to Duck.ai
  • Say something
  • Verify that a Duck.ai query is completed
  • Tap the Voice Search icon in the omnibar
  • Verify that Duck.ai is pre-selected

Input Screen

  • Go to the Search tab on the Input Screen
  • Tap the Voice Search button
  • Verify that the toggle is set is set to Search
  • Say something
  • Verify that a Search is completed
  • Switch to Duck.ai tab
  • Tap the Voice Search button
  • Verify that the toggle is set is set to Duck.ai
  • Say something
  • Verify that a Duck.ai query is completed
  • While still on the Duck.ai tab, tap the Voice Search button
  • Toggle to Search
  • Say something
  • Verify that a Search is completed

Disabled

  • Disable “Voice Search” in “Duck.ai Shortcuts”
  • Verify that the toggle is no longer visible
  • Re-enable and disable Duck.ai
  • Verify that the toggle is no longer visible

playDebug

  • Build playDebug
  • Verify that the “Voice Search" setting is not visible
  • Verify that the toggle is not visible in voice search

UI changes

Before After
voice_disabled_dark voice_search_dark
Before After
Screenshot_20251106_153250 voice_setting_dark
Copy link
Contributor Author

joshliebe commented Nov 5, 2025

@joshliebe joshliebe force-pushed the feature/josh/add-toggle-voice branch 17 times, most recently from 9a2847d to 3dd8e18 Compare November 5, 2025 14:47
@joshliebe joshliebe force-pushed the feature/josh/input-mode-common branch from 7d592b5 to 3455705 Compare November 5, 2025 16:08
@joshliebe joshliebe force-pushed the feature/josh/add-toggle-voice branch from 66355df to ca8fccd Compare November 5, 2025 16:09
Copy link
Contributor

@malmstein malmstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Went through the code together with @joshliebe and did all the necessary changes. Great work!

@joshliebe joshliebe mentioned this pull request Nov 6, 2025
12 tasks
@joshliebe joshliebe force-pushed the feature/josh/input-mode-common branch from 3455705 to 7734047 Compare November 6, 2025 23:14
@joshliebe joshliebe force-pushed the feature/josh/add-toggle-voice branch 4 times, most recently from cfbd040 to 5e67d7e Compare November 7, 2025 01:04
Base automatically changed from feature/josh/input-mode-common to develop November 7, 2025 10:05
@joshliebe joshliebe force-pushed the feature/josh/add-toggle-voice branch from f64f0ad to e6491d8 Compare November 7, 2025 10:07
@joshliebe joshliebe merged commit 8ec3dcc into develop Nov 7, 2025
7 checks passed
@joshliebe joshliebe deleted the feature/josh/add-toggle-voice branch November 7, 2025 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants