Give Input keycaps, a shortcut search, and the missing pointer basics
Claude-Session: https://claude.ai/code/session_01Ms2FbjQy31TVf3CEvQhGM8
This commit is contained in:
@@ -130,6 +130,25 @@ grep -q 'dictate("cancel")' "$keybinds" \
|
||||
grep -q '"status"' "$service" \
|
||||
|| note 'the settings service never asks the helper what is installed'
|
||||
|
||||
# The page grew an on-page test that runs the helper directly, so that the
|
||||
# dictated words arrive in a field somebody is looking at instead of in their
|
||||
# document. That is fine -- it is the same start/stop the hotkey sends, and
|
||||
# nothing about where text lands changes, because wtype types into whatever
|
||||
# holds keyboard focus and the page holds it.
|
||||
#
|
||||
# What is not fine is the page spelling out where the helper lives. The service
|
||||
# publishes that path once; a second copy in the page would go stale the moment
|
||||
# the helper moves, and silently, because the page's own status readout comes
|
||||
# from the service and would still be correct.
|
||||
page="$repo_dir/config/dot/quickshell/modules/settings/DictationPage.qml"
|
||||
if [[ -f "$page" ]]; then
|
||||
grep -q 'scripts/panama-dictate' "$page" \
|
||||
&& note 'the Dictation page spells out the helper path instead of using the one the service publishes'
|
||||
if grep -q 'Process' "$page" && ! grep -q 'Dictation.helper' "$page"; then
|
||||
note 'the Dictation page runs a process without going through Dictation.helper'
|
||||
fi
|
||||
fi
|
||||
|
||||
if (( ${#findings[@]} > 0 )); then
|
||||
mapfile -t findings < <(printf '%s\n' "${findings[@]}" | sort -u)
|
||||
printf 'dictation contract: %d finding(s)\n' "${#findings[@]}" >&2
|
||||
|
||||
Reference in New Issue
Block a user