TheThingsNetwork / lorawan-stack

The Things Stack, an Open Source LoRaWAN Network Server
https://www.thethingsindustries.com/stack/
Apache License 2.0
978 stars 308 forks source link

Advanced entity search (in console) #1825

Closed kschiffer closed 1 week ago

kschiffer commented 4 years ago

Summary

Entity search in the console is currently limited to IDs only (#1803). We should enhance search capabilities for advanced use cases.

Why do we need this?

Users with a lot of entities might want to find specific entities based on properties other than the ID.

What is already there? What do you see now?

What is missing? What do you want to see?

Environment

v3.4.1

How do you propose to implement this?

The solution might be either a dedicated search page or an advanced search panel as part of the table component.

Can you do this yourself and submit a Pull Request?

Yes.

benolayinka commented 3 years ago

Will this get a milestone?

htdvisser commented 3 years ago

Cross-posting my comment from #4056:

We've been discussing multiple things:

  1. The "advanced search" functionality where users can search on fields other than the ID, which would be implemented in the Console as something like GMail's advanced search:
Screen Shot 2021-10-11 at 13 35 42

This would just fill the fields of the existing search requests.

This is basically what's tracked in #1825.


  1. The "universal search" functionality where a single Spotlight-like search input (in the top of the Console) would magically search for all applications, gateways, end devices, etc. that contain the given text in any of their fields (id, euis, name, description, attributes, ...).

I don't think we have an issue for this yet.

benolayinka commented 3 years ago

Cross-posting my comment from #4056:

We've been discussing multiple things:

  1. The "advanced search" functionality where users can search on fields other than the ID, which would be implemented in the Console as something like GMail's advanced search:
Screen Shot 2021-10-11 at 13 35 42

This would just fill the fields of the existing search requests.

This is basically what's tracked in #1825.

  1. The "universal search" functionality where a single Spotlight-like search input (in the top of the Console) would magically search for all applications, gateways, end devices, etc. that contain the given text in any of their fields (id, euis, name, description, attributes, ...).

I don't think we have an issue for this yet.

Yep, this would be awesome. I'm for implementing #2 ASAP as this is critical, and then #1 as gold plating

htdvisser commented 3 years ago

The thing is that everything for "advanced search" already exists in the backend. For the "universal search" there's still a lot of research that needs to be done before we can start doing this.

htdvisser commented 3 years ago

I'll open a separate issue for "universal search". Let's use this issue to discuss "advanced search" only.

@kschiffer @pgalic96 can we maybe merge all of these issues into this one?

Searching on the Name field: https://github.com/TheThingsNetwork/lorawan-stack/issues/4056 Searching on the Gateway EUI field: https://github.com/TheThingsNetwork/lorawan-stack/issues/3327 Searching on the Attributes field: https://github.com/TheThingsNetwork/lorawan-stack/issues/2586 Also related: https://github.com/TheThingsNetwork/lorawan-stack/issues/1910

pgalic96 commented 2 years ago

@kschiffer @pgalic96 can we maybe merge all of these issues into this one?

Searching on the Name field: #4056 Searching on the Gateway EUI field: #3327 Searching on the Attributes field: #2586 Also related: #1910

I am fine with this, but does it mean we should halt work on the separate search issues? We currently need UX/UI design for "advanced search" and/or separate search fields for each field that would be searchable. cc @kschiffer I have https://github.com/TheThingsNetwork/lorawan-stack/issues/3327 assigned in this milestone but I think we first need a decision on how we want to approach this. I suggest we start immediately on the "advanced" gmail-like approach.

KrishnaIyer commented 1 week ago

The search currently does use the query field which searches for EUI, ID, Name and Description. This is sufficient for most use cases so the issue can be closed.