Skip to content

Improve capsule recording feedback#406

Closed
Michealmyson wants to merge 1 commit into
Open-Less:betafrom
Michealmyson:codex-capsule-progress-feedback
Closed

Improve capsule recording feedback#406
Michealmyson wants to merge 1 commit into
Open-Less:betafrom
Michealmyson:codex-capsule-progress-feedback

Conversation

@Michealmyson
Copy link
Copy Markdown

@Michealmyson Michealmyson commented May 11, 2026

User description

Summary

This PR improves the dictation capsule feedback during recording and processing.

Changes:

  • Show elapsed recording time in the capsule, e.g. Recording 00:08.
  • Split processing feedback into clearer states:
    • Transcribing
    • Polishing
    • Inserting
  • Emit an explicit inserting capsule state before text insertion.
  • Show clearer completion messages, including inserted character count.
  • Add i18n strings for zh-CN, zh-TW, en, ja, and ko.

Why

Previously the capsule mainly showed generic thinking/inserted feedback, so users could not tell whether the app was recording, transcribing, polishing, or inserting. This makes the voice input flow easier to understand and reduces the feeling that the app is stuck.

Verification

  • Ran npm run build successfully.
  • Built and manually tested the macOS app locally.
  • Verified that the capsule shows elapsed recording time and processing states.

PR Type

Enhancement


Description

  • Show elapsed recording time

  • Add explicit inserting progress state

  • Clarify completion messages with counts

  • Update capsule translations and types


Diagram Walkthrough

flowchart LR
  A["Dictation end_session"] -- "emit inserting state" --> B["Capsule progress state"]
  B -- "render elapsed time and status" --> C["Capsule UI"]
  A -- "richer completion messages" --> D["Insert feedback"]
  E["Type definitions"] -- "add inserting value" --> B
  F["i18n translations"] -- "localized labels" --> C
Loading

File Walkthrough

Relevant files
Enhancement
9 files
dictation.rs
Emit inserting state and richer completion text                   
+7/-5     
types.rs
Add inserting capsule state enum value                                     
+1/-0     
Capsule.tsx
Show elapsed time and inserting status                                     
+47/-3   
en.ts
Add capsule progress strings in English                                   
+5/-1     
ja.ts
Add capsule progress strings in Japanese                                 
+4/-0     
ko.ts
Add capsule progress strings in Korean                                     
+4/-0     
zh-CN.ts
Add capsule progress strings in Simplified Chinese             
+5/-1     
zh-TW.ts
Add capsule progress strings in Traditional Chinese           
+5/-1     
types.ts
Extend capsule state type with inserting                                 
+1/-0     

@Michealmyson Michealmyson marked this pull request as ready for review May 11, 2026 14:51
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 11, 2026

PR Reviewer Guide 🔍

(Review updated until commit 13c3474)

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

@github-actions
Copy link
Copy Markdown

Persistent review updated to latest commit 13c3474

@H-Chris233
Copy link
Copy Markdown
Collaborator

@appergb

@appergb
Copy link
Copy Markdown
Collaborator

appergb commented May 12, 2026

I've already modified the capsule logic in the new version, and I prefer typeless capsule processing logic, having changed it to the thinking and inclusion parts. So, I've received your PR, but I've decided to close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants