Skip to content

feat: migrate UI render layer to Blits (LightningJS) - #2

Merged
skdonthi merged 1 commit into
mainfrom
feat/blits-migration
Jul 1, 2026
Merged

feat: migrate UI render layer to Blits (LightningJS)#2
skdonthi merged 1 commit into
mainfrom
feat/blits-migration

Conversation

@skdonthi

@skdonthi skdonthi commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Adopt @lightningjs/blits ^2.6.0 as the canvas UI framework; drop classic @lightningjs/core/sdk/ui-components.

  • libs/core now Blits.Launch(App, "app", {w,h}); root Application in libs/core/src/app.ts renders the hero from tenant config via a boot-config bridge. Widgets are Blits components (*.component.ts).
  • Blits vite plugin spread into all 3 app configs (default array export); @lightningjs/blits/vite type shim; per-app public/ dir for msdfGenerator.
  • Tizen firmware SDK (webapis/avplay/b2bapis) moved from static index.html tags to runtime injection in apps/samsung-tv/src/main.ts (Vite can't bundle the $WEBAPIS tokens under Blits).
  • Removed dead hero-banner.lightning.ts (classic Lightning 2).
  • Config/tenant/isolation/signing/muting/player/diagnostics all intact; isolation verified (no rival tokens in the Blits bundle). Old DOM layout/widget-registry retained pending a Blits-native layout engine.

Transitional: config-driven multi-widget Blits layout, keymap->Blits input, and Blits-reactive hot-apply (currently soft reload) are follow-ups.

Adopt @lightningjs/blits ^2.6.0 as the canvas UI framework; drop classic
@lightningjs/core/sdk/ui-components.

- libs/core now Blits.Launch(App, "app", {w,h}); root Application in
  libs/core/src/app.ts renders the hero from tenant config via a boot-config
  bridge. Widgets are Blits components (*.component.ts).
- Blits vite plugin spread into all 3 app configs (default array export);
  @lightningjs/blits/vite type shim; per-app public/ dir for msdfGenerator.
- Tizen firmware SDK (webapis/avplay/b2bapis) moved from static index.html
  tags to runtime injection in apps/samsung-tv/src/main.ts (Vite can't bundle
  the $WEBAPIS tokens under Blits).
- Removed dead hero-banner.lightning.ts (classic Lightning 2).
- Config/tenant/isolation/signing/muting/player/diagnostics all intact;
  isolation verified (no rival tokens in the Blits bundle). Old DOM
  layout/widget-registry retained pending a Blits-native layout engine.

Transitional: config-driven multi-widget Blits layout, keymap->Blits input,
and Blits-reactive hot-apply (currently soft reload) are follow-ups.
@skdonthi
skdonthi merged commit 66f58ec into main Jul 1, 2026
3 checks passed
@skdonthi
skdonthi deleted the feat/blits-migration branch July 1, 2026 11:39
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