pythops / pythops/bluetui

Add live search/filter in Paired Devices and Discovered devices

Open
#156 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
3k
Forks
79
PR merge metrics
No merged PRs in 30d

Description

Feature request

Add a way to search/filter the device lists so it is easier to find a device among many paired or discovered devices.

Proposed behavior
  • A configurable key (default /) opens a search input when either Paired Devices or Discovered devices (scanning) is focused.
  • Typing filters the visible rows live.
  • Matching is case-insensitive by default and match fields are configurable per list (alias and/or address).
  • j/k (or Down/Up) move the selection between matches.
  • Enter confirms (keeps the selection); Esc cancels and restores the previous selection.
Configuration
search = "/"
search_case_sensitive = false

[paired_device]
search_fields = ["alias", "address"]

[new_device]
search_fields = ["alias", "address"]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Paired Devices and Discovered devices views and the configuration entries described in the issue. Trace how focus, selection, and key handling work, then implement filtering and verify that configurable fields, case sensitivity, navigation, Enter, and Esc behave as specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.