feat(negotiation): add clickable key hints and step-by-step digit sequencer#3432
Open
tpaciorek wants to merge 1 commit into
Open
feat(negotiation): add clickable key hints and step-by-step digit sequencer#3432tpaciorek wants to merge 1 commit into
tpaciorek wants to merge 1 commit into
Conversation
…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
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.
1and9) while keeping direct click input behaviorKeyboardEvents.paste) with keyboard-event fallback•) that emits one digit per click, in left-to-right order across the suggestion row, then loops from startSuggestionStepIndexafter both step-button clicks and manual digit clicksseq-next) so the next action is always visible to the userplaceand legacyplaatsplaceholders