Repository navigation
Fix family announcements: shared outcome helper, first call sites - #3898
Open
accesswatch wants to merge 1 commit into
Open
accesswatch wants to merge 1 commit into
accesswatch wants to merge 1 commit into
Conversation
Adds quill/ui/outcome_announce.py: announce_result (one sentence from the real outcome) and write_clipboard_text (clipboard write that reports whether the text landed). Converts the sites whose false success, silence or double speech was real on current code: Activity Copy Details, AI Thesaurus Copy, Clip Library Copy and Combine, QUILL Lite Keyboard Manager save, Edit > Delete, List Headings latch, Status bar F6 landing, external-change auto-reload, recommended keymap update notice, and Quillin Remove / Configure Events. Part of #3852 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Part of #3852
Builds the shared outcome helper once and converts the first call sites.
Helper
quill/ui/outcome_announce.py(new, small module; GATE-11 budgets untouched):announce_result(announce, ok, done_text, fail_text): speaks exactly one sentence chosen from the real outcome, so a success sentence cannot follow a failure.write_clipboard_text(wx, text): bounded-retry clipboard write that returns whether the text landed (write counterpart ofwith_clipboard_read_retry).announce_keys_saved: the Keyboard Manager's outcome sentence.Members converted (each with a test that fails before)
announce), silent with nothing selectedsave_keymapnow returns bool)#2682 (high): checked on current main, already fixed by the per-run stop event (#2367); commented on the issue.
An existing test fake (
_PollHost._reload_from_disk_preserving_cursor) now returns True, because the real method now reports success; no assertion was loosened.Left for later segments or other sessions
Everything else on the family checklist. Related to this PR but not done: #3508 (AI result / chat dialog Copy buttons need an announce callback plumbed in), #3515, #3669, #3678, #3776, #2719, #2743. Radio / Cast / Weather / GitHub Workbench members are left to their sessions (#3784, #3782, #3776 and the github_* ones, #3148, #3528, #3631, #3543, #3608, #3179, #3028, #3023).
Checks
ruff check/format, check_over_announce (GATE-13), braille_parity_audit (GATE-BRAILLE), dialog_inventory, dialog_button_contract, check_access_keys, module_size_budget all clean; related unit tests pass (tests/unit/apps run, 98% at push with no failures).
🤖 Generated with Claude Code