Avoid FletApp control messing with root app routing #6086
Merged
FeodorFitsner merged 6 commits intomainfrom Jan 29, 2026
Merged
Avoid FletApp control messing with root app routing #6086FeodorFitsner merged 6 commits intomainfrom
FletApp control messing with root app routing #6086FeodorFitsner merged 6 commits intomainfrom
Conversation
Introduces FletLocalRouteInformationProvider to handle routing in embedded Flet apps, ensuring route state is managed locally. Updates page and backend logic to distinguish between embedded and root app modes, preventing global session storage and deep linking bootstrap in embedded contexts.
Adjusted the 'tablet' and 'desktop' breakpoint values in the custom_breakpoint.py example. Updated related integration test to use new breakpoint values and replaced golden image assets to reflect the new breakpoints.
Refreshed the golden image for theme_1_buttons in the macOS color scheme integration tests to reflect recent UI or theme changes.
Reduced the height of cards in the responsive row example from 90 to 60. Updated integration test screenshot dimensions to use 600px height and adjusted widths for consistency. Updated golden images to reflect these changes.
Refactored the Markdown control to use sizedImageBuilder with MarkdownImageConfig for improved image handling, including width and height. Also removed an unnecessary @OverRide annotation from didPushRouteInformation in the route information provider.
Deploying flet-examples with
|
| Latest commit: |
b2de0f3
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://122d727a.flet-examples.pages.dev |
| Branch Preview URL: | https://flet-app-improvs.flet-examples.pages.dev |
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.
Summary by Sourcery
Add a local route information provider and adjust routing/session behavior to better support embedded Flet apps while updating responsive layout examples and tests.
New Features:
Bug Fixes:
Enhancements:
Tests: