feat: add framework hooks for embedded SuperDeck hosts#79
Open
tilucasoli wants to merge 1 commit into
Open
Conversation
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>
|
To view this pull requests documentation preview, visit the following URL: Documentation is deployed and generated using docs.page. |
|
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 |
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.
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/superdeckSlideParts.header/footernow nullable so embedded hosts can omit chrome.SlideRenderViewusesMixScope.inherit, andSlideCaptureServicere-appliesSDColors.colorMapso captured frames resolve the same tokens as live slides.DeckPresentationState.deleteAllThumbnails()+ThumbnailService.deleteAllThumbnails()for editor flows that need to invalidate the full cache.DefaultTextStyleso text properties left unset by element specs no longer resolve against the bare overlay default.packages/buildercomment_parser,markdown_parser,section_parserso downstream apps can drive the build pipeline directly.demo/andpackages/superdeckgoogle_fontsfrom^6.3.2to^8.1.0.Test plan
melos run analyzemelos run test(new tests fordeleteAllThumbnails,ThumbnailService.deleteAllThumbnails, and Hero shuttle text-style behavior)🤖 Generated with Claude Code