Skip to content

Migrate ssr example to use FeathersRadio and FeathersNumberInput (Phase 5 Item 6)#25040

Open
kfc35 wants to merge 6 commits into
bevyengine:mainfrom
kfc35:24112_migrate_ssr_example
Open

Migrate ssr example to use FeathersRadio and FeathersNumberInput (Phase 5 Item 6)#25040
kfc35 wants to merge 6 commits into
bevyengine:mainfrom
kfc35:24112_migrate_ssr_example

Conversation

@kfc35

@kfc35 kfc35 commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Objective

Solution

  • Reuse the helpers/radio.rs helper that creates FeathersRadio for the toggles, improving as necessary so that both the pcss and ssr examples look good.
  • Use FeathersNumberInput for the number inputs.
  • bsn!-ify the ui portion of the example only.

Testing

  • cargo run --example ssr --features="bluenoise_texture bevy_feathers” Everything toggles as expected. The number inputs work like they do in the feathers_gallery example, where you can drag to slide or insert numbers directly. The only thing may be that the words become hard to read when switching to the metallic base.
  • cargo run --example pcss --features="bevy_feathers experimental_pbr_pcss” still looks OK with the text color changes.
Screenshot 2026-07-17 at 10 37 44 AM

One thing I noticed while testing this time is that the FeathersNumberInput stops accepting keyboard input after I command+shift+4 or command+shift+5 to screenshot or record something on my screen. The slider still works but the keyboard input doesn’t. I spun this out as #25041

@kfc35 kfc35 added C-Examples An addition or correction to our examples A-UI Graphical user interfaces, styles, layouts, and widgets labels Jul 17, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in UI Jul 17, 2026
@kfc35 kfc35 added the S-Needs-Review Needs reviewer attention (from anyone!) to move forward label Jul 17, 2026
@kfc35 kfc35 changed the title Migrate ssr example to use FeathersRadio and FeathersNumberInput Migrate ssr example to use FeathersRadio and FeathersNumberInput (Phase 5 Item 6) Jul 17, 2026
@kfc35
kfc35 requested a review from viridia July 17, 2026 14:43
@kfc35 kfc35 added the D-Modest A "normal" level of difficulty; suitable for simple features or challenging fixes label Jul 19, 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-Examples An addition or correction to our examples D-Modest A "normal" level of difficulty; suitable for simple features or challenging fixes S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

2 participants