Azure / Azure/azure-iot-explorer

[Feature request] Device search matches IoT Hub portal

Open
#627 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
252
Forks
85
Avg merge
3h 32m
Merged PRs (30d)
2

Description

It would be very helpful if the device search worked the same as it does in IoT Hub portal, when it comes to partial deviceIds.

For example. If there is a device with Id of "000012345678", in IoT Hub you can serach for "0000" or "5678", and the device will show in results. In iot explorer, only "0000" works, whereas "5678" returns no results.

Examples:

**Identical behavior:**
![image](https://github.com/Azure/azure-iot-explorer/assets/96268167/7932756d-68ea-43b3-b58b-532ab5eec77f)
![image](https://github.com/Azure/azure-iot-explorer/assets/96268167/582814df-fe24-42ba-8f66-e3561cc23115)

**Differing behavior:**
![image](https://github.com/Azure/azure-iot-explorer/assets/96268167/50b800c6-b1f6-423f-84a4-36bca58168e8)
![image](https://github.com/Azure/azure-iot-explorer/assets/96268167/31820ffb-8033-4d00-9fd5-c29b233348b0)

Contributor guide

Open the contributing guide

Research direction

Start by locating the device-search implementation and determine how partial device IDs are matched. Compare the behavior with the examples in the issue: searching for both "0000" and "5678" should find a device with ID "000012345678", matching the IoT Hub portal behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.