Skip to content

feat(mobile): add voice input to task forms and confirmation notifications - #172

Merged
sirily11 merged 3 commits into
mainfrom
feat/task-voice-input-and-confirmation-alerts
Nov 4, 2026
Merged

sirily11 merged 3 commits into
mainfrom
feat/task-voice-input-and-confirmation-alerts

Conversation

@sirily11

@sirily11 sirily11 commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds voice dictation to mobile task entry, sends permission notifications when a confirmation tool is waiting for the user, and includes two desktop/mobile UI fixes that were pending in the working tree.

Changes

Mobile: voice input for tasks

  • Added MobileTaskVoiceButton in RxCodeMobile/Views/MobileVoiceInputSheet.swift. It opens a large sheet that reuses the existing MobileVoiceInputSession and mobileVoiceInput modifier, so recording, transcription, and haptics follow the same path as the other voice input.
  • The sheet works on a draft. Dictated text is applied to the field only after Use Text; Cancel discards the recording.
  • The button is wired into three entry points:
    • MobileTaskFormView.swift: the task description field.
    • MobileTaskFormView.swift: MobileQuickAddTaskView.
    • MobileAIDraftSheet.swift: the AI draft prompt.
  • Added the Task description and Use Text strings to Localizable.xcstrings.

Confirmation tool notifications

  • AppState+IDEPromptTools.swift: when a confirmation prompt is queued and its continuation is still pending, the app now dispatches hookManager.dispatchPermissionAsk with the tool use ID, tool name, session ID, project ID, and project name.
  • This reuses the existing permission hook flow, so mobile forwarding and thread routing apply to confirmations the same way they apply to permission requests.
  • The dispatch runs in a @MainActor task and is skipped if the continuation was already resolved or cancelled.

Desktop: sidebar project click

  • ProjectTreeView.swift: clicking a project row now opens that project's task board (generalRoute = .tasks, sets taskDetailProjectId, and calls appState.focusProject). It no longer toggles expansion with an animation.
  • This fixes the task board not appearing when a project was selected from the sidebar after visiting the Chat tab.

Tool activity sheet order

  • ToolActivityGroupView.swift: the sheet lists tool calls newest first. isFirst and isLast are swapped to match the reversed order so the timeline connector lines still render correctly.

Mobile: sessions toolbar

  • SessionsList.swift: the sessions toolbar is hidden while a thread is selected, so it no longer overlaps the open thread on mobile.

Testing

Not run, per request. Build, unit tests, and lint have not been verified for this PR.

Notes for reviewers

  • The confirmation notification path depends on hookManager.dispatchPermissionAsk. Check that mobile receives the notification and opens the correct thread for a confirmation that arrives while the app is backgrounded.
  • The sidebar click change alters existing behavior: the row no longer collapses or expands the project. Expansion is still available through the disclosure controls, if any remain in that view. Please confirm this is intended.
  • The rebase onto origin/main was a no-op because the branch was created from the latest main (65f71c6) with no prior commits ahead.

…tions

- Add MobileTaskVoiceButton with a review sheet for dictating task descriptions in the task form, quick add, and AI draft.
- Dispatch permission-ask hooks when a confirmation tool is waiting for approval so mobile receives notifications and routes to the thread.
- Open the project task board when a sidebar project is clicked instead of toggling expansion.
- Show newest tool calls first in the tool activity sheet.
- Hide the sessions toolbar while a thread is selected on mobile.
@vercel

vercel Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
rxcode Ready Ready Preview Nov 4, 2026 11:30am UTC

Request Review

@flowcy-project-manager flowcy-project-manager Bot added bug Something isn't working enhancement New feature or request labels Nov 3, 2026
@sirily11
sirily11 merged commit 9a12fc7 into main Nov 4, 2026
15 checks passed
@sirily11
sirily11 deleted the feat/task-voice-input-and-confirmation-alerts branch November 4, 2026 13:17

This branch was successfully deployed

1 active deployment
Preview — 258cda6b Deployed Nov 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant