Skip to content

Conversation

@sensei-hacker
Copy link
Member

@sensei-hacker sensei-hacker commented Jan 30, 2026

Summary

Improves the BLE device chooser UX by adding alphabetical sorting and search/filter functionality to address issue #2361. Users reported difficulty finding their flight controller in a long, constantly-updating device list.

Changes

  • Added search input box with real-time filtering
  • Implemented alphabetical sorting by device name
  • Devices now maintain stable positions during scan updates (no more jumping)
  • Cancel button stays at bottom
  • Search filters both device name and ID
  • Removed CSS forcing the buttons to be smaller than their content

Testing

  • Tested manually with configurator in development mode
  • Search input filters devices in real-time correctly
  • Alphabetical sorting maintains stable list order
  • Devices no longer jump around during scan updates
  • Cancel button remains at bottom
  • No regression in BLE connectivity
  • Code reviewed with inav-code-review agent - all issues addressed
  • Button labels are actually in their associated buttons

Related Issues

Fixes #2361

Add alphabetical sorting and search/filter functionality to make
the device selection interface easier to use. Fixes issue iNavFlight#2361.

Changes:
- Add search input to filter devices by name or ID
- Sort devices alphabetically to prevent jumping as devices are added
- Remove devices from DOM and re-render in sorted order
- Keep Cancel button at bottom of list
@Itay-Sharoni
Copy link

Life changing commit ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants