Skip to content

Refactor number input foundation#24079

Draft
agluszak wants to merge 1 commit intobevyengine:mainfrom
agluszak:number-input-refactor
Draft

Refactor number input foundation#24079
agluszak wants to merge 1 commit intobevyengine:mainfrom
agluszak:number-input-refactor

Conversation

@agluszak
Copy link
Copy Markdown
Contributor

@agluszak agluszak commented May 2, 2026

Summary

  • Move typed numeric text editing into headless bevy_ui_widgets::NumberInput
  • Add the bounded RangedNumberInput foundation and Feathers wrapper
  • Keep Feathers number_input as a styled numeric text input without spinbox controls
  • Add the Feathers gallery alpha ranged number input example

Validation

  • cargo test -p bevy_ui_widgets number_input
  • cargo test -p bevy_ui_widgets ranged_number_input
  • cargo test -p bevy_feathers
  • cargo check -p bevy --example feathers_gallery --features experimental_bevy_feathers

@alice-i-cecile alice-i-cecile added C-Feature A new feature, making something new possible A-UI Graphical user interfaces, styles, layouts, and widgets X-Contentious There are nontrivial implications that should be thought through labels May 3, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in UI May 3, 2026
@alice-i-cecile alice-i-cecile added C-Code-Quality A section of code that is hard to understand or change M-Migration-Guide A breaking change to Bevy's public API that needs to be noted in a migration guide S-Needs-Design This issue requires design work to think about how it would best be accomplished and removed C-Feature A new feature, making something new possible labels May 3, 2026
@alice-i-cecile
Copy link
Copy Markdown
Member

Related to #24060.

@cart cart closed this May 5, 2026
@github-project-automation github-project-automation Bot moved this from Needs SME Triage to Done in UI May 5, 2026
@cart cart reopened this May 5, 2026
@github-project-automation github-project-automation Bot moved this from Done to Needs SME Triage in UI May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-UI Graphical user interfaces, styles, layouts, and widgets C-Code-Quality A section of code that is hard to understand or change M-Migration-Guide A breaking change to Bevy's public API that needs to be noted in a migration guide S-Needs-Design This issue requires design work to think about how it would best be accomplished X-Contentious There are nontrivial implications that should be thought through

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

3 participants