Skip to content

Conversation

@OwenMcDonnell
Copy link
Contributor

@OwenMcDonnell OwenMcDonnell commented Oct 28, 2025

Description

Add snackbar, shadermask, selectionarea, and segmentedbutton example tests and images.

Summary by Sourcery

Provide example tests and sample images for SnackBar, ShaderMask, SelectionArea, and SegmentedButton controls; refine example scripts and update documentation to reference new test-generated images.

New Features:

  • Add integration tests with screenshot assertions for SnackBar, ShaderMask, SelectionArea, and SegmentedButton examples

Enhancements:

  • Refine SegmentedButton example labels, default selections, and selected icons
  • Add keys to Text controls in SelectionArea example and wrap non-selectable text similarly
  • Standardize example entry points using if name == "main" guard
  • Update ShaderMask examples with consistent image sources, dimensions, and added inline documentation snippet
  • Wrap NavigationRail example in SelectionArea to demonstrate selectable content

Documentation:

  • Update control documentation to point to test-generated images under golden directories and include image captions

Tests:

  • Adjust existing Slider integration test to target a single Slider instance
  • Introduce new integration tests under flet.integration_tests for SnackBar, ShaderMask, SegmentedButton, and SelectionArea

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've reviewed this pull request using the Sourcery rules engine

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 29, 2025

Deploying flet-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 41cc3aa
Status: ✅  Deploy successful!
Preview URL: https://232d88d8.flet-docs.pages.dev
Branch Preview URL: https://owen-control-docs-p4.flet-docs.pages.dev

View logs

@FeodorFitsner
Copy link
Contributor

@FeodorFitsner FeodorFitsner merged commit 68b4344 into main Oct 29, 2025
22 of 45 checks passed
@FeodorFitsner FeodorFitsner deleted the owen/control-docs-p4 branch October 29, 2025 19:11
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.

3 participants