Skip to content

Conversation

@leoafarias
Copy link
Collaborator

Summary

  • Clear imageCache before evicting individual file images to prevent stale thumbnails from lingering during export
  • Disable gaplessPlayback to ensure fresh images are always displayed when thumbnails are regenerated
  • Revert blocks/content properties to optional in schemas, removing the Google AI compatibility constraint that made them required

Changes

packages/superdeck/lib/src/export/async_thumbnail.dart

  • Added imageCache.clear() call to fully clear cached images
  • Changed gaplessPlayback from true to false

packages/core/lib/src/models/block_model.dart

  • Made blocks property optional in SectionBlock.schema
  • Made content property optional in ContentBlock.schema
  • Removed comments about Google AI schema requirements

Test plan

  • Run melos run test to verify no regressions
  • Test thumbnail export to confirm stale images no longer appear
  • Verify schema validation still works as expected

@docs-page
Copy link

docs-page bot commented Jan 8, 2026

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

docs.page/btwld/superdeck~29

Documentation is deployed and generated using docs.page.

…rties

- Clear imageCache before evicting individual file images to prevent
  stale thumbnails from lingering during export
- Disable gaplessPlayback to ensure fresh images are always displayed
- Revert blocks/content properties to optional in schemas, removing
  the Google AI compatibility constraint
- Add showcase.md demo file
@leoafarias leoafarias force-pushed the 001-multi-presentation-support branch from 6847679 to f6c18cc Compare January 8, 2026 21:31
@leoafarias leoafarias merged commit 19712ff into main Jan 8, 2026
2 checks passed
@leoafarias leoafarias deleted the 001-multi-presentation-support branch January 8, 2026 23:22
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.

2 participants