-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
UiWidgetsPlugins and InputDispatchPlugin are now in DefaultPlugins
#23346
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
alice-i-cecile
merged 61 commits into
bevyengine:main
from
micttyoid:ui-widgets-to-default-2
Apr 2, 2026
Merged
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
5335b24
Squashed commit of the following:
micttyoid e7bab9f
Apply migration guide to examples
micttyoid 6c8b886
Include `InputDispatchPlugin` in `DefaultPlugins`
micttyoid 714bd13
Move popover and scrollbar to bevy_ui
micttyoid d310bdf
Ambiguate the execution orders of systems in `InputDispatchPlugin`
micttyoid 79940d7
Wrap the execution orders in system sets
micttyoid 8ec74b4
Wrap the execution orders in system sets
micttyoid fb25d06
Stub in migration guide
micttyoid f7fad09
Regress update_scrollbar_thumb and position_popover to private
micttyoid 12bb5f7
Update the migration guide
micttyoid 36ddbad
Resolve MD031/blanks-around-fences
micttyoid 9c21ed7
Update the migration guide
micttyoid e2d6051
Merge branch 'main' into ui-widgets-to-default-2
micttyoid d36148e
Update release-content/migration-guides/ui_widgets_plugins_and_input_…
micttyoid aee5607
Merge branch 'main' into ui-widgets-to-default-2
micttyoid 56937a6
Merge branch 'main' into ui-widgets-to-default-2
micttyoid e2ff949
Merge branch 'main' into ui-widgets-to-default-2
micttyoid 3e1f711
Merge branch 'main' into ui-widgets-to-default-2
micttyoid 39cc0e3
Merge branch 'main' into ui-widgets-to-default-2
micttyoid 69fa98e
Add `UiSystems::ComputeRelative`
micttyoid 25880c6
Remove unused import
micttyoid 8e6a735
Remove dead code
micttyoid edf8a06
Merge branch 'main' into ui-widgets-to-default-2
micttyoid 62ca63a
Merge branch 'main' into ui-widgets-to-default-2
micttyoid 5d315cb
Fix TODO in migration guide
alice-i-cecile ab08ea2
Yeet unneeded migration guides for subplugins
alice-i-cecile 568e28d
Focus on PostLayout
micttyoid de19e2d
Remove unused import
micttyoid 302e158
Reyeet migration guide
micttyoid 4cfc631
Merge branch 'main' into ui-widgets-to-default-2
micttyoid 28989e7
Remove redundant ordering
micttyoid c623595
Removed `Node` from scrollbar thumb nodes, instead `CoreScrollbarThum…
ickshonpe a6ad25a
Migrate example multiple_text_inputs
micttyoid f05c5d3
Remove empty add_plugins
micttyoid dc46d3e
Remove unused import
micttyoid 7f31047
Move scrollbar to UiSystems::PostLayout
micttyoid 02858f3
fixed doc link
ickshonpe 8ad3da4
Correctly order UiSystems::Stack
alice-i-cecile c6c3ae3
Remove unused before(UiSystems::Prepare)
micttyoid 61b0ae6
Merge remote-tracking branch 'ickshonpe/thumb' into ui-widgets-to-def…
micttyoid 1beedf8
Merge remote-tracking branch 'alice/order-ui-systems-better' into ui-…
micttyoid 26bde1f
Show some direction
micttyoid f6c60a3
Revert "Show some direction"
micttyoid a5e13f8
Revert "Merge remote-tracking branch 'alice/order-ui-systems-better' …
micttyoid 536aea6
Go edgy on PostLayout
micttyoid 04826fb
Merge branch 'main' into ui-widgets-to-default-2
micttyoid 0c60af7
Chain instead of ambiguity
micttyoid 37be382
Re-revert merged bevy_error.rs and handler.rs from "Merge remote-trac…
micttyoid 1d76860
Merge branch 'main' into ui-widgets-to-default-2
micttyoid b1c9d20
Merge branch 'main' into ui-widgets-to-default-2
micttyoid 9ef4f8e
Apply system ordering fixes from ickshonpe
alice-i-cecile a05747c
Add clipping ordering fix
alice-i-cecile 217a2ef
Clean up unused variable
alice-i-cecile aa7774e
All input dispatching should run after InputSystems
alice-i-cecile a1b1480
Fix cycle of position_popover
alice-i-cecile 0596318
Merge branch 'main' into ui-widgets-to-default-2
alice-i-cecile 4d63f82
Remove unused import
alice-i-cecile 74c3b89
Fix spurious merge conflict change for ScrollbarPlugin order
alice-i-cecile de3cf6d
Remove old comments
alice-i-cecile d9fad7b
Fix timing of position_popover
alice-i-cecile 3920238
Fix missing imports
alice-i-cecile File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
...igration-guides/ui_widgets_plugins_and_input_dispatch_plugin_are_now_default.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| --- | ||
| title: "`UiWidgetsPlugins` and `InputDispatchPlugin` are now in `DefaultPlugins`" | ||
| pull_requests: [23346] | ||
| --- | ||
|
|
||
| `UiWidgetsPlugins` and `InputDispatchPlugin` are now part of `DefaultPlugins`. | ||
|
|
||
| These plugins are now mature enough to be included as part of the default Bevy experience. | ||
|
|
||
| Remove `UiWidgetsPlugins` if you have `DefaultPlugins` | ||
|
|
||
| ```rs | ||
| // 0.18 | ||
| fn main() { | ||
| App::new() | ||
| .add_plugins(DefaultPlugins, UiWidgetsPlugins) | ||
| .add_plugins((my_ambitious_game::game_plugin)) | ||
| .run(); | ||
| } | ||
|
|
||
| // 0.19 | ||
| fn main() { | ||
| App::new() | ||
| .add_plugins(DefaultPlugins) // Puff! | ||
| .add_plugins((my_ambitious_game::game_plugin)) | ||
| .run(); | ||
| } | ||
| ``` | ||
|
|
||
| Remove `InputDispatchPlugin` if you have `DefaultPlugins` | ||
|
|
||
| ```rs | ||
| // 0.18 | ||
| fn main() { | ||
| App::new() | ||
| .add_plugins(DefaultPlugins, UiWidgetsPlugins, InputDispatchPlugin) | ||
| .add_plugins((my_sequel_game::game_plugin)) | ||
| .run(); | ||
| } | ||
|
|
||
| // 0.19 | ||
| fn main() { | ||
| App::new() | ||
| .add_plugins(DefaultPlugins) // Puff! | ||
| .add_plugins((my_sequel_game::game_plugin)) | ||
| .run(); | ||
| } | ||
| ``` |
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.