-
Notifications
You must be signed in to change notification settings - Fork 606
Icon browser and other gallery examples for 0.80.0 #5964
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
+152
−282
Conversation
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
Replaces direct Flet imports with 'import flet as ft' and updates all references accordingly. Refactors event handlers to use async functions, updates UI control usage to the ft namespace, and improves clipboard and snackbar handling. Increases batch size for icon display and adds UI update delays for better responsiveness.
Updated icons_browser to support both Material and Cupertino icons in a tabbed interface. Removed separate icons_cupertino_browser and layouts/footer apps. Updated requirements and dependencies to use latest flet versions and simplified pyproject.toml.
Configured the build system with setuptools and wheel, and specified package discovery rules for the examples directory. This enables proper packaging and building of the Python example modules.
Changed DIST_PATH from $PWD/python/dist to $PWD/dist and updated all app and tutorial paths to remove the 'python/' prefix. This streamlines the script to match the new directory structure.
Switched the published Solitaire tutorial app to use the declarative version. Also renamed 'solitare-final' to 'solitaire-final' in the declarative tutorial assets and main.py for consistency.
Corrects the way asset directories are resolved in the publish command to use the script directory consistently. Enhances patch_index_html to handle base href and related config values more robustly, ensuring correct base URL and asset path injection in the generated index.html.
Added flet-web to icons_browser requirements and relaxed flet version in todo app. Refactored Solitaire declarative tutorial to use memoized views and callbacks, added missing game.notify() calls, and updated CardView and SlotView to accept a key parameter for improved performance.
Contributor
There was a problem hiding this 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
Deploying flet-docs with
|
| Latest commit: |
e016062
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://7dadeeca.flet-docs.pages.dev |
| Branch Preview URL: | https://icon-browser.flet-docs.pages.dev |
|
@FeodorFitsner still not working and do you host these on static hosting or dynamic hosting with uvicorn? Rive.app is also made with flutter web why it's load so fast but flet web takes 2 second even with WASM |
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.
Summary by Sourcery
Update Python example gallery and web publishing behavior for Flet 0.80.0, consolidating icon browsers, improving solitaire performance, and refining publish tooling.
New Features:
Enhancements:
Build:
Deployment:
Chores: