orca/mobile/src/dictation
Jinjing bc2f5145da
Allow deleting downloaded speech models on desktop and mobile (#5794)
* Allow deleting downloaded speech models on desktop and mobile

Implement safe deletion of local speech models across desktop and
mobile platforms.

- Add a shared helper to coordinate STT service teardown, file deletion,
  and voice settings cleanup.
- Prevent deleting speech models that are currently in use or starting.
- Update desktop and mobile settings UIs to expose the delete action.

* Track multiple pending model deletions and update action disabling

- Replace the single pending delete ID string state with a Set of IDs on desktop settings to track multiple concurrently deleting models.
- Switch the desktop delete action to use the standard themed Button component.
- Disable all row interactions on the mobile voice model list when any model action is busy.
- Add unit test coverage verifying that individual row delete button disabled states behave correctly.
2026-06-19 12:31:11 -07:00
..
mobile-dictation-setup.test.ts Allow deleting downloaded speech models on desktop and mobile (#5794) 2026-06-19 12:31:11 -07:00
mobile-dictation-setup.ts Allow deleting downloaded speech models on desktop and mobile (#5794) 2026-06-19 12:31:11 -07:00