Skip to content

Fix dictionary training and make manual corrections discoverable - #1163

Closed
grohith327 wants to merge 2 commits into
mainfrom
rohith/fix-dictionary-training-spellings
Closed

grohith327 wants to merge 2 commits into
mainfrom
rohith/fix-dictionary-training-spellings

Conversation

@grohith327

@grohith327 grohith327 commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Save captured dictionary spellings, including ordinary words such as “post hoc” or “super base,” instead of discarding them through spellcheck. Unchanged saves stay on the review screen instead of reporting success.

Make manual corrections discoverable from the first training step, recording/review, and the open-by-default dictionary drawer. The correction form uses Replace/With fields and a preview; Custom Words now explains its separate Parakeet recognition hints and enable state. The drawer uses lighter controls, respects Reduce Motion, and keeps its divider below the toolbar with the toggle near the window edge.

Type of Change

  • 🐞 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 🧹 Chore
  • 📝 Documentation update

Related Issue or Discussion

Related to #1151 and #1165. The maintainer requested the UI follow-up and its inclusion in this PR.

Testing

FluidVoice 1.6.12-beta.1, macOS 27.2, Apple Silicon.

  • Tested on Intel Mac

  • Tested on Apple Silicon Mac

  • Tested on macOS version: 27.2

  • Ran repository-wide linter command

  • Ran repository-wide formatter command

  • Ran tests locally

  • python3 Tests/run_dictionary_training_save_tests.py: passed all 29 production save scenarios and the Swift 6 MainActor-default Codable/Hashable/Equatable check on the combined branch.

  • Signed runfv build: passed on the combined branch and relaunched FluidVoice Dev.

  • swiftlint lint --strict --config .swiftlint.yml Sources/Fluid/UI/CustomDictionaryView.swift Sources/Fluid/UI/DictionaryWordWizard.swift: passed with zero violations.

  • git diff --check: passed. The two UI files retain their existing SwiftFormat findings; the UI changes added none.

  • Live UI verification: open Add manually or Add correction, enter post hoc → PostHog, inspect the preview, go Back and reopen to confirm the draft survives; clear the draft without saving. Search with no matches reports 0 of 195 words. Open Custom Words to inspect its explanation and switch. Expand/collapse the drawer to confirm stable toolbar alignment. Test entries and search text were cleared.

  • The maintainer previously tested the training fix in the rebuilt app. The UI verification did not record microphone audio or save new dictionary entries.

Screenshots / Video

CleanShot 2026-10-16 at 10 33 54 PM@2x

Notes

Codex implemented the training fix and UI follow-up. The maintainer previously tested and reviewed the training change, then requested the UI changes, reviewed the visual iterations, and authorized pushing them to this PR.

  • A human created this PR or reviewed and approved it before submission, understands the full diff, and takes responsibility for the change.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-17T05:33:54.714550Z d50e588 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot added the needs screenshots Pull request needs screenshot or video evidence. label Oct 16, 2026
@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

The PR Policy check is blocking this PR because required template information is missing.

Please update the PR description with:

  • Screenshots / Video

Visual files detected:

  • Sources/Fluid/UI/CustomDictionaryView.swift
  • Sources/Fluid/UI/DictionaryWordWizard.swift

Screenshots or video are required for UI, UX, settings, onboarding, overlay, menu bar, or visual behavior changes. If this PR has no visual changes, check the no-visual-change box in the template.

If this remains incomplete for 48 hours after opening, the PR may be closed.

@greptile-apps

greptile-apps Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 4/5

[Medium impact] The changes affect the custom dictionary and the dictation corrections that use it.

Separate the unrelated visual changes before merging to meet the repository’s scope requirement.

Summary

Voice training now saves captured spellings without rejecting ordinary words through spellcheck.

  • The training wizard saves captured spellings as correction triggers.
  • The correction overlay saves captured spellings as correction triggers.
  • The dictionary drawer opens to saved corrections and offers a direct manual-entry path.

Reviews (2) · Last reviewed commit: "Make dictionary corrections discoverable..." · Reviewed by Greptile

@grohith327 grohith327 removed the needs screenshots Pull request needs screenshot or video evidence. label Oct 16, 2026
@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

FluidVoice PR build ready

Download FluidVoice-PR-1163-d50e588b6ae7

The artifact contains the ad-hoc-signed app ZIP, Xcode archive, build manifest, and installation instructions. It expires 5 days after the build.

Install the app

  1. Extract the downloaded artifact, then extract FluidVoice-PR-1163.app.zip.

  2. Move FluidVoice Fix dictionary training and make manual corrections discoverable #1163.app into the /Applications folder.

  3. Open Terminal and remove the download quarantine marker:

    xattr -dr com.apple.quarantine "/Applications/FluidVoice #1163.app"
    
  4. In Applications, Control-click FluidVoice Fix dictionary training and make manual corrections discoverable #1163.app and choose Open.

  5. If macOS still blocks it, open System Settings → Privacy & Security, click Open Anyway, and confirm.

This build has its own app identity, so its permissions are separate from the release version of FluidVoice.

View workflow run

@grohith327 grohith327 changed the title Fix voice training discarding captured dictionary spellings Fix dictionary training and make manual corrections discoverable Oct 17, 2026
@github-actions github-actions Bot added the needs screenshots Pull request needs screenshot or video evidence. label Oct 17, 2026

private var drawerAnimation: Animation? {
self.reduceMotion ? nil : .timingCurve(0.22, 0.8, 0.25, 1, duration: 0.34)
self.reduceMotion ? nil : .spring(response: 0.35, dampingFraction: 1)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Visual changes exceed stated scope

The drawer animation change is unrelated to saving captured spellings. Changing the toolbar spacing and opening the drawer by default also fall outside this fix. The repository requires Swift changes to stay within the stated scope and avoid unrelated UI/UX or theming work. Move these visual changes to a separate PR before merging.

Rule Used: What: Ensure macOS Swift PR changes match the stated scope, don’t introduce unrelated UI/UX/theming work, and don’t risk breaking existing features. Why: Keeps reviews focused, prevents scope creep (especially UI/UX), and avoids regressions or inc... (source)

Prompt To Fix With AI
This is a comment left during a code review.
Path: Sources/Fluid/UI/CustomDictionaryView.swift
Line: 416

Comment:
**Visual changes exceed stated scope**

The drawer animation change is unrelated to saving captured spellings. Changing the toolbar spacing and opening the drawer by default also fall outside this fix. The repository requires Swift changes to stay within the stated scope and avoid unrelated UI/UX or theming work. Move these visual changes to a separate PR before merging.

**Rule Used:** What: Ensure macOS Swift PR changes match the stated scope, don’t introduce unrelated UI/UX/theming work, and don’t risk breaking existing features.    Why: Keeps reviews focused, prevents scope creep (especially UI/UX), and avoids regressions or inc... ([source](https://app.greptile.com/altic/-/custom-context?memory=c54a31bd-761f-45ed-8fcb-a3cb1158d02e))

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Fix in Codex

@github-actions github-actions Bot removed the needs screenshots Pull request needs screenshot or video evidence. label Oct 17, 2026
@YashPat

YashPat commented Oct 18, 2026

Copy link
Copy Markdown

I also need this fixed! thank you

@github-actions

Copy link
Copy Markdown

This pull request has been marked stale because it has had no activity for 5 days. It will be closed in 2 days if there is no further activity. Add the keep-open or pinned label to prevent automatic closure.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

This pull request has been marked stale because it has had no activity for 5 days. It will be closed in 2 days if there is no further activity. Add the keep-open or pinned label to prevent automatic closure.

@github-actions github-actions Bot added the stale label Nov 2, 2026
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown

Closing this pull request because it remained inactive for 2 days after being marked stale.

@github-actions github-actions Bot closed this Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants