Skip to content

chore(input): add interactive input sample, integration tests, and AOT smoke - #131

Merged
isrcalebe merged 1 commit into
developfrom
chore/124-interactive-input-sample
Nov 18, 2026
Merged

isrcalebe merged 1 commit into
developfrom
chore/124-interactive-input-sample

Conversation

@isrcalebe

Copy link
Copy Markdown
Contributor

Summary

Adds an interactive input sample, multi-frame HeadlessGameHost integration tests, and end-to-end NativeAOT smoke verification for Phase 5 input features:

  • Added samples/interactive-input (registered in kajar-framework.slnx) demonstrating nested/rotated/masked containers with hover highlights, click/double-click/scroll feedback, draggable cards, focusable targets (including text input), and KeyBindingContainer<SampleAction> actions with a visual binding HUD.
  • Added tests/framework/Input/InteractiveInputIntegrationTests.cs covering multi-frame HeadlessGameHost propagation across rotated/masked hit-testing, dynamic hover re-evaluation, click/double-click/drag/scroll, focus switching and window-focus-loss cleanup, chorded/positional/nested KeyBindingContainer<TAction> precedence, synthetic IPlatformBackend event delivery, and PassThroughInputManager/ManualInputManager isolation.
  • Updated samples/aot-smoke/Program.cs with Phase5InputSmokeGame to exercise [Resolved] InputManager, rotated/masked tree hit-testing, drag/scroll, PassThroughInputManager, focus switching/text input, and KeyBindingContainer<Phase5SmokeAction> under PublishAot=true.
  • Verified with scripts/check.ps1 (restore, dotnet format --verify-no-changes, Release build with 0 warnings, 424/424 tests passing, NativeAOT publish & run, and NuGet pack) and a timed run of samples/interactive-input.

Closes #124

Checklist

  • Labeled with one primary type label (feature, fix, docs, ci, chore, dependencies), plus breaking-change if applicable
  • Labeled with relevant area:* labels
  • Linked to an issue (Closes #124)
  • Public API changes are intentional (none, or listed below)
  • Tests added or updated
  • No new reflection or runtime code generation on the main path (NativeAOT-safe)

Public API changes

None.

@isrcalebe isrcalebe added chore Maintenance with no user-facing change area:input Input handling and propagation area:testing Test infrastructure and visual tests labels Nov 18, 2026
@isrcalebe
isrcalebe merged commit 392add7 into develop Nov 18, 2026
4 of 5 checks passed
@isrcalebe
isrcalebe deleted the chore/124-interactive-input-sample branch November 18, 2026 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:input Input handling and propagation area:testing Test infrastructure and visual tests chore Maintenance with no user-facing change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sample & verification: interactive input, hover/click/focus tree, and key bindings

1 participant