Skip to content

NXT-16498: [Spotlight] Create sample for spotlight module#264

Merged
daniel-stoian-lgp merged 6 commits into
developfrom
feature/NXT-16498
Jul 3, 2026
Merged

NXT-16498: [Spotlight] Create sample for spotlight module#264
daniel-stoian-lgp merged 6 commits into
developfrom
feature/NXT-16498

Conversation

@dan-ichim-lgp

@dan-ichim-lgp dan-ichim-lgp commented Jun 30, 2026

Copy link
Copy Markdown

Checklist

  • I have read and understand the contribution guide
  • A CHANGELOG entry is included
  • At least one test case is included for this feature or bug fix
  • Documentation was added or is not needed
  • This is an API breaking change

Issue Resolved / Feature Added

NXT-16498 — Add a standalone @enact/spotlight sample app under samples/ui/spotlight-sandbox.

Port of the legacy enyo-strawman spotlight samples into a modern Enact sample, so developers can explore Spotlight 5-way navigation without a full theme (Sandstone/Moonstone)

Resolution

Adds a new Enact sample package with:

App shell — SpotlightRootDecorator, HashRouter, per-sample routes
Container Sample — nested SpotlightContainerDecorator, :focus-within container highlighting, active container via Spotlight.getActiveContainer()
Sandbox Sample — draggable/resizable DraggableControl components for spatial navigation testing
Disappear Sample — disabled, destroyed, and hidden controls; focus redirect to button02 after ancestor removal
Hold Sample — Touchable + Spottable hold/tap via Enter (compose(Touchable, Spottable))
Test Page — wide/tall targets for nearest-neighbor algorithm testing (scrollable canvas)
Shared UI via sampleTheme.less, consistent layout across samples, .gitignore aligned with other ui/ samples.

Each sample runs on its own routed page so 5-way navigation stays predictable.

Additional Considerations

Links

NXT-16498

Comments

Enact-DCO-1.0-Signed-off-by: Dan Ichim (dan.ichim@lgepartner.com)

@dan-ichim-lgp dan-ichim-lgp self-assigned this Jun 30, 2026
@daniel-stoian-lgp daniel-stoian-lgp merged commit eda24ac into develop Jul 3, 2026
5 checks passed
@daniel-stoian-lgp daniel-stoian-lgp deleted the feature/NXT-16498 branch July 3, 2026 12:14
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.

3 participants