Repository navigation
fix: compact, self-dismissing notice when insertion cannot be confirmed - #142
Merged
Merged
Conversation
…ot be confirmed The unconfirmed-insertion HUD stayed on screen until closed and used a fixed 360x96 card with distant buttons. It is now a one-row notice with a title and a quieter detail, Copy and Close beside the text, a darker surface that stays readable on white windows, and it hides itself after 8 s (reopenable from the menu bar). Errors that need action get the same layout and still stay until closed. Delivery, receipts and history are unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Outcome
When insertion cannot be confirmed, Utter shows a compact one-row notice that leaves on its own after 8 s, instead of a 96 pt card that stayed until closed. Same facts, same
uncertaindelivery status. Error notices that need action (models, permissions, clipboard disabled) get the same cleaner layout and still stay until closed.Origin: the owner reported that the "无法确认是否已写入" popup shows up often, lingers across later work, and looks bad. About 11% of recent dictations end
uncertain(ChatGPT 4 of 5, T3 Code 6 of 92), and the notice used to require a manual Close.SDLC bundle and risk
docs/sdlc/changes/2026-11-03-compact-unconfirmed-notice(intent, spec, plan and verification all approved by the owner in chat, 2026-11-03)productionenvironment reviewer still has to approve the release deployment.Verification
bash scripts/sdlc-checks.sh(the template'sscripts/sdlc.pydoes not exist in this repo)bash scripts/ci-basic-checks.shswift test: 631 tests, 26 opt-in skips, 0 failures (evidence/tests-full-suite.txt)SDLC GatejobOverlayPanelover white and dark windows, plus offscreen renders in zh/en (evidence/). Narrow width: panel width is unchanged (360 pt).Residual risk and rollback
verification.md.verification.mdand were approved with it.Reviewer focus
NativeDesktopHost.scheduleHide(a newer session must never be hidden by an older timer) and the height prediction inOverlayAlertMetrics(measured text height must match what SwiftUI lays out; covered by layout tests and zh/en renders).