Repository navigation
Fix dictionary training and make manual corrections discoverable - #1163
grohith327 wants to merge 2 commits into
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
The PR Policy check is blocking this PR because required template information is missing. Please update the PR description with:
Visual files detected:
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. |
[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. SummaryVoice training now saves captured spellings without rejecting ordinary words through spellcheck.
Reviews (2) · Last reviewed commit: "Make dictionary corrections discoverable..." · Reviewed by Greptile |
FluidVoice PR build readyDownload 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
This build has its own app identity, so its permissions are separate from the release version of FluidVoice. |
|
|
||
| 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) |
There was a problem hiding this 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)
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!
|
I also need this fixed! thank you |
|
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 |
|
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 |
|
Closing this pull request because it remained inactive for 2 days after being marked stale. |
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
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
runfvbuild: 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 reports0 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
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.