Skip to content

Inesa/v1 docstrings for material controls #5290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 45 commits into from
May 8, 2025

Conversation

InesaFitsner
Copy link
Contributor

@InesaFitsner InesaFitsner commented May 8, 2025

Description

Test Code

# Test code for the review of this PR

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

  • I signed the CLA.
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing tests pass locally with my changes
  • I have made corresponding changes to the documentation (if applicable)

Screenshots

Additional details

Summary by Sourcery

Add comprehensive docstrings to material controls in the Flet Python SDK, improving code documentation and readability

Enhancements:

  • Improved code readability by adding comprehensive property descriptions
  • Enhanced type and usage documentation for control properties
  • Standardized docstring format across multiple controls

Documentation:

  • Added detailed docstrings to multiple material controls, including TextField, NavigationRail, SearchBar, Switch, PopupMenuButton, DataTable, Tabs, Slider, SnackBar, RangeSlider, Tooltip, SegmentedButton, ProgressRing, OutlinedButton, TextButton, ProgressBar, AlertDialog, Container, SubmenuButton, Chip, VerticalDivider, AppBar, ExpansionTile, DatePicker, DropdownM2, Checkbox, FloatingActionButton, Banner, CircleAvatar, RadioGroup, ExpansionPanel, Badge, ElevatedButton, SelectionArea, Card, Divider, BottomAppBar, BottomSheet, and Icons

@InesaFitsner InesaFitsner requested a review from FeodorFitsner May 8, 2025 17:18
@FeodorFitsner FeodorFitsner merged commit 290c6b4 into v1 May 8, 2025
1 of 3 checks passed
@FeodorFitsner FeodorFitsner deleted the inesa/v1-docstrings-material-n-v branch May 8, 2025 17:49
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