Skip to content

feat(negotiation): add clickable key hints and step-by-step digit sequencer#3432

Open
tpaciorek wants to merge 1 commit into
mainIine:betafrom
tpaciorek:feature/negotiation-step-key-hints
Open

feat(negotiation): add clickable key hints and step-by-step digit sequencer#3432
tpaciorek wants to merge 1 commit into
mainIine:betafrom
tpaciorek:feature/negotiation-step-key-hints

Conversation

@tpaciorek

Copy link
Copy Markdown
Contributor
  • split suggestion hint into separate clickable digit chips (e.g. 1 and 9) while keeping direct click input behavior
  • emulate key input from suggestion clicks using the in-game pipeline (KeyboardEvents.paste) with keyboard-event fallback
  • add a new step control () that emits one digit per click, in left-to-right order across the suggestion row, then loops from start
  • store and update sequence state via SuggestionStepIndex after both step-button clicks and manual digit clicks
  • highlight the next digit to be emitted (seq-next) so the next action is always visible to the user
  • add visual feedback styles for chips and step control (hover/active animation + highlighted next-step glow)
  • keep tooltip compatibility by filling both place and legacy plaats placeholders
  • blur clicked helper chips to reduce focus sticking on the helper element
image image image

…uencer

- split suggestion hint into separate clickable digit chips (e.g. `1` and `9`) while keeping direct click input behavior
- emulate key input from suggestion clicks using the in-game pipeline (`KeyboardEvents.paste`) with keyboard-event fallback
- add a new step control (`•`) that emits one digit per click, in left-to-right order across the suggestion row, then loops from start
- store and update sequence state via `SuggestionStepIndex` after both step-button clicks and manual digit clicks
- highlight the next digit to be emitted (`seq-next`) so the next action is always visible to the user
- add visual feedback styles for chips and step control (hover/active animation + highlighted next-step glow)
- keep tooltip compatibility by filling both `place` and legacy `plaats` placeholders
- blur clicked helper chips to reduce focus sticking on the helper element
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