Skip to content

Hints and activation take their decisions from formbridge; Textual renders and finds targets - #321

Merged
trissim merged 1 commit into
mainfrom
claude-a/hint-activation-decisions
Nov 16, 2026
Merged

trissim merged 1 commit into
mainfrom
claude-a/hint-activation-decisions

Conversation

@trissim

@trissim trissim commented Nov 16, 2026

Copy link
Copy Markdown

Follows OpenHCSDev/formbridge#28.

  • hint_labels.py deleted (-28): the label styles are formbridge.hint_keys. HintLabel.caption renders a style's shown(key, prefix) answer on Content (typed characters out of the reverse style), so the rendering stays here.
  • HintSession inherits HintKeyAssignment; its alphabet, label_width and label (_hints.py:114-135) are gone.
  • PrimaryActivation/ContextActivation inherit formbridge's PrimaryEffect/ContextEffect (what activating runs) and keep only CallbackTarget discovery.

Checks: bindings dump identical; hint tests (label styles, hints, text clearance) 16 passed.

🤖 Generated with Claude Code

https://claude.ai/code/session_016gZLdupVQyBzHTmHBC9Cyn

…nders and finds targets

HintSession inherits formbridge's HintKeyAssignment instead of carrying the alphabet
and key assignment; hint_labels.py is deleted and HintLabel.caption renders the label
style's answer (shown text, typed count) on Content. PrimaryActivation and
ContextActivation inherit formbridge's PrimaryEffect and ContextEffect and keep only the
click-target discovery.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016gZLdupVQyBzHTmHBC9Cyn
@trissim
trissim merged commit dda78f4 into main Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant