More control images for docs, create_gif helper method#5717
Merged
FeodorFitsner merged 11 commits intomainfrom Oct 17, 2025
Merged
More control images for docs, create_gif helper method#5717FeodorFitsner merged 11 commits intomainfrom
FeodorFitsner merged 11 commits intomainfrom
Conversation
Updated documentation to include a new example image and code snippet for BottomAppBar. Added an integration test and corresponding golden image for visual regression testing of the BottomAppBar control.
Updated Canvas documentation to include a basic example image and code snippet. Added a corresponding integration test and golden image for screenshot validation. Adjusted image references in docs to use new example image and media paths.
Updated documentation to include a new example image and code snippet for CupertinoActionSheet. Added an integration test and corresponding golden image for documentation purposes.
Updated documentation for CupertinoActivityIndicator to include a new example image and improved example references. Added a golden image and an integration test for the control to ensure visual consistency. Also enhanced the docstring with a usage example.
Updated documentation for BottomSheet with a new example image and code snippet. Added an integration test and corresponding screenshot for the BottomSheet control to improve test coverage and documentation clarity.
Introduced integration tests and golden images for alert dialog examples, covering both modal and non-modal dialogs. Updated documentation to use new screenshots instead of GIFs, and improved the example code to use a main guard. Added an empty __init__.py for the alert_dialog example package.
Introduces a create_gif method to FletTestApp for generating animated GIFs from a sequence of PNG images. Integration test for alert dialog now uses this method to create a GIF of the dialog flow when golden images are enabled.
Added the 'duration=500' parameter to the create_gif call in test_alert_dialog.py to control the frame duration. Updated the corresponding golden GIF to reflect this change.
Adjusted the sequence and duration of frames in the alert dialog test GIF for improved clarity. Default GIF frame duration in FletTestApp was increased to 1000ms, and the test now uses a longer duration and an updated frame sequence.
Replaced three static images with a single GIF to better illustrate modal and non-modal dialog flows in the alertdialog documentation.
Deploying flet-docs with
|
| Latest commit: |
4057c41
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://84e781e0.flet-docs.pages.dev |
| Branch Preview URL: | https://inesa-docs-control-images-p4.flet-docs.pages.dev |
FeodorFitsner
approved these changes
Oct 17, 2025
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.
Description
Test Code
# Test code for the review of this PRType of change
Checklist
Screenshots
Additional details
Summary by Sourcery
Provide a new helper for generating GIF animations from test screenshots, enrich control docs with code snippets and refer to golden images, and add integration tests for control snapshots and dialog flows.
New Features:
Enhancements:
Tests: