Skip to content

Add optional SuperDeck plugin packages#80

Draft
leoafarias wants to merge 10 commits into
mainfrom
feat/plugins
Draft

Add optional SuperDeck plugin packages#80
leoafarias wants to merge 10 commits into
mainfrom
feat/plugins

Conversation

@leoafarias

@leoafarias leoafarias commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add explicit extension points for runtime deck actions and build-time content transforms.
  • Add optional PDF and Mermaid plugin packages that exercise those hooks.
  • Align plugin package API docs and metadata, including Mermaid configuration support and package publish housekeeping.
  • Remove unused vendored Mermaid theme reference files to keep the plugin package focused.
  • Remove the internal plugin planning draft from the PR branch.

Validation

  • melos run analyze
  • melos run test --no-select
  • from packages/plugins/pdf: fvm flutter test test/goldens/pdf_export_dialog_golden_test.dart
  • SUPERDECK_RUN_BROWSER_TESTS=1 fvm dart test test/integration/mermaid_build_plugin_integration_test.dart
  • scoped jscpd duplication scan over plugin/build/CLI surfaces: 0 clones, 0.0% duplication

leoafarias added 5 commits May 7, 2026 22:59
- Added support for DeckBuildPlugin in SuperDeckRunner and BuildCommand.
- Updated BuildCommand to accept a list of plugins for slide generation.
- Implemented a new Mermaid build plugin for rendering diagrams in slides.
- Enhanced PDF export functionality with new actions in SuperDeckApp.
- Introduced DeckAction for runtime actions in the presentation shell.
- Added tests for new features and ensured existing functionality remains intact.
@docs-page

docs-page Bot commented Jun 15, 2026

Copy link
Copy Markdown

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

docs.page/btwld/superdeck~80

Documentation is deployed and generated using docs.page.

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown

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

https://superdeck-dev--pr80-feat-plugins-dyruhc9g.web.app

(expires Thu, 16 Jul 2026 22:13:33 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: bd68fc230762285849207e7e120aaf87cd4ca2f9

Remove the internal plugin API planning draft from the branch.
- Refactored the `mermaidBuildPlugin` into a `MermaidBuildPlugin` class for better structure and clarity.
- Updated the internal processing logic to handle generator configuration more effectively.
- Modified integration and public API tests to reflect the new class structure.
- Enhanced test coverage for generator disposal and configuration handling.
- Added comprehensive documentation for the Mermaid diagrams and plugin usage.
- Updated PDF plugin documentation and tests to reflect changes in exports and structure.
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