feat: add playground app and supporting framework changes#77
Open
tilucasoli wants to merge 1 commit into
Open
Conversation
Introduces packages/playground — a standalone editor + presentation app (forerunner of SuperDeck Studio) — and the framework changes required to host SuperDeck slides outside the CLI 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 (matches playground). 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 ed27c75): https://superdeck-dev--pr77-feat-create-playgrou-ndk6m9my.web.app (expires Sun, 21 Jun 2026 02:55:48 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
packages/playground— a standalone Markdown editor + presentation app (forerunner of SuperDeck Studio) that runs without the CLI pipeline.DefaultTextStylewas not inherited into the Navigator overlay.Changes
packages/playground/(new)Standalone editor with rich-text Markdown input, live thumbnail previews, full-screen presentation mode, and system theme support. Depends on local
superdeck,superdeck_core, andsuperdeck_builder. Not published (publish_to: none).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 (playground) can drive the build pipeline directly.demo/andpackages/superdeckgoogle_fontsfrom^6.3.2to^8.1.0(matches playground).Test plan
melos run analyzemelos run test(new tests fordeleteAllThumbnails,ThumbnailService.deleteAllThumbnails, and Hero shuttle text-style behavior)cd packages/playground && fvm flutter run -d macosfvm flutter run -d chrome🤖 Generated with Claude Code