Uh oh!
There was an error while loading. Please reload this page.
[ Widget Preview ] Respond to IDE navigation events and show previews from the currently focused script - #174466
Merged
auto-submit[bot] merged 6 commits intoSep 2, 2025
Conversation
…s from the currently focused script This change allows for the widget previewer to react to `activeLocationChanged` events sent over the `Editor` DTD service to automatically filter the set of visible previews based on the currently selected file in the IDE. This functionality can be turned on or off depending on whether or not the developer wants to see all previews in the project at once. This change also includes some minor refactoring and UI changes to move the widget preview environment controls to a reserved area at the bottom of the preview window.
bkonyi
marked this pull request as ready for review
August 26, 2025 21:17
LongCatIsLooong
approved these changes
Aug 29, 2025
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
justinmc
commented
Aug 29, 2025
Contributor
Thanks for reviewing @LongCatIsLooong |
Uh oh!
There was an error while loading. Please reload this page.
bkonyi
commented
Sep 2, 2025
ContributorAuthor
Thanks so much for the review! |
Uh oh!
There was an error while loading. Please reload this page.
auto-submitBot
deleted the
widget_previews_selected_script_responsive
branch
September 2, 2025 17:28
engine-flutter-autoroll added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Sep 2, 2025
…previews from the currently focused script (flutter/flutter#174466)
engine-flutter-autoroll added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Sep 2, 2025
…previews from the currently focused script (flutter/flutter#174466)
engine-flutter-autoroll added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Sep 2, 2025
…previews from the currently focused script (flutter/flutter#174466)
engine-flutter-autoroll added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Sep 2, 2025
…previews from the currently focused script (flutter/flutter#174466)
engine-flutter-autoroll added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Sep 3, 2025
…previews from the currently focused script (flutter/flutter#174466)
engine-flutter-autoroll added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Sep 3, 2025
…previews from the currently focused script (flutter/flutter#174466)
engine-flutter-autoroll added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Sep 3, 2025
…previews from the currently focused script (flutter/flutter#174466)
engine-flutter-autoroll added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Sep 4, 2025
…previews from the currently focused script (flutter/flutter#174466)
engine-flutter-autoroll added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Sep 4, 2025
…previews from the currently focused script (flutter/flutter#174466)
engine-flutter-autoroll added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Sep 4, 2025
…previews from the currently focused script (flutter/flutter#174466)
engine-flutter-autoroll added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Sep 4, 2025
…previews from the currently focused script (flutter/flutter#174466)
engine-flutter-autoroll added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Sep 5, 2025
…previews from the currently focused script (flutter/flutter#174466)
engine-flutter-autoroll added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Sep 5, 2025
…previews from the currently focused script (flutter/flutter#174466)
mboetger pushed a commit
to mboetger/flutter
that referenced
this pull request
Sep 18, 2025
… from the currently focused script (flutter#174466) This change allows for the widget previewer to react to `activeLocationChanged` events sent over the `Editor` DTD service to automatically filter the set of visible previews based on the currently selected file in the IDE. This functionality can be turned on or off depending on whether or not the developer wants to see all previews in the project at once. This change also includes some minor refactoring and UI changes to move the widget preview environment controls to a reserved area at the bottom of the preview window. **Demo:** https://github.com/user-attachments/assets/c3b93826-8437-4655-8264-6beed6651fe7
Jaineel-Mamtora pushed a commit
to Jaineel-Mamtora/flutter_forked
that referenced
this pull request
Sep 24, 2025
… from the currently focused script (flutter#174466) This change allows for the widget previewer to react to `activeLocationChanged` events sent over the `Editor` DTD service to automatically filter the set of visible previews based on the currently selected file in the IDE. This functionality can be turned on or off depending on whether or not the developer wants to see all previews in the project at once. This change also includes some minor refactoring and UI changes to move the widget preview environment controls to a reserved area at the bottom of the preview window. **Demo:** https://github.com/user-attachments/assets/c3b93826-8437-4655-8264-6beed6651fe7
engine-flutter-autoroll added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Nov 12, 2025
…previews from the currently focused script (flutter/flutter#174466)
lucaantonelli pushed a commit
to lucaantonelli/flutter
that referenced
this pull request
Nov 21, 2025
… from the currently focused script (flutter#174466) This change allows for the widget previewer to react to `activeLocationChanged` events sent over the `Editor` DTD service to automatically filter the set of visible previews based on the currently selected file in the IDE. This functionality can be turned on or off depending on whether or not the developer wants to see all previews in the project at once. This change also includes some minor refactoring and UI changes to move the widget preview environment controls to a reserved area at the bottom of the preview window. **Demo:** https://github.com/user-attachments/assets/c3b93826-8437-4655-8264-6beed6651fe7
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 freeto 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.
This change allows for the widget previewer to react to
activeLocationChangedevents sent over theEditorDTD service to automatically filter the set of visible previews based on the currently selected file in the IDE. This functionality can be turned on or off depending on whether or not the developer wants to see all previews in the project at once.This change also includes some minor refactoring and UI changes to move the widget preview environment controls to a reserved area at the bottom of the preview window.
Demo:
Screen.Recording.2025-08-26.at.4.40.22.PM.mov
Fixes#175661