Skip to content

feat: add framework hooks for embedded SuperDeck hosts#79

Open
tilucasoli wants to merge 1 commit into
mainfrom
feat/playground-framework-support
Open

feat: add framework hooks for embedded SuperDeck hosts#79
tilucasoli wants to merge 1 commit into
mainfrom
feat/playground-framework-support

Conversation

@tilucasoli
Copy link
Copy Markdown
Collaborator

Summary

Framework changes that let SuperDeck slides be hosted inside a custom app (e.g. an external editor) instead of going through the CLI build pipeline. Split out from #77 — the playground app that consumes these hooks remains in #77, stacked on this branch.

Changes

packages/superdeck

  • SlideParts.header / footer now nullable so embedded hosts can omit chrome.
  • SlideRenderView uses MixScope.inherit, and SlideCaptureService re-applies SDColors.colorMap so captured frames resolve the same tokens as live slides.
  • DeckPresentationState.deleteAllThumbnails() + ThumbnailService.deleteAllThumbnails() for editor flows that need to invalidate the full cache.
  • Hero shuttle re-applies the source slide's DefaultTextStyle so text properties left unset by element specs no longer resolve against the bare overlay default.

packages/builder

  • Re-export comment_parser, markdown_parser, section_parser so downstream apps can drive the build pipeline directly.

demo/ and packages/superdeck

  • Bump google_fonts from ^6.3.2 to ^8.1.0.

Test plan

  • melos run analyze
  • melos run test (new tests for deleteAllThumbnails, ThumbnailService.deleteAllThumbnails, and Hero shuttle text-style behavior)
  • Verify demo app still builds and the new google_fonts version works
  • Verify Hero transitions in the demo don't resize text mid-flight

🤖 Generated with Claude Code

Framework changes that let SuperDeck slides be hosted inside a custom app
(e.g. an external editor) instead of going through the CLI build pipeline.

superdeck:
- SlideParts.header/footer are now nullable so embedded hosts can omit chrome
- SlideRenderView uses MixScope.inherit and SlideCaptureService re-applies
  SD color tokens so captures resolve theme tokens identically to live slides
- DeckPresentationState/ThumbnailService expose deleteAllThumbnails for
  editor flows that need to invalidate the cache
- Hero shuttle now re-applies the source slide's DefaultTextStyle so text
  doesn't resize at handoff

builder: re-export comment/markdown/section parsers for downstream apps.

demo/superdeck: bump google_fonts to ^8.1.0.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@docs-page
Copy link
Copy Markdown

docs-page Bot commented Jun 2, 2026

To view this pull requests documentation preview, visit the following URL:

docs.page/btwld/superdeck~79

Documentation is deployed and generated using docs.page.

@tilucasoli tilucasoli mentioned this pull request Jun 2, 2026
4 tasks
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

Visit the preview URL for this PR (updated for commit f5eb72c):

https://superdeck-dev--pr79-feat-playground-fram-nmob0q0h.web.app

(expires Thu, 02 Jul 2026 02:26:08 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: bd68fc230762285849207e7e120aaf87cd4ca2f9

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