lorawan-stack icon indicating copy to clipboard operation
lorawan-stack copied to clipboard

Advanced entity search (in console)

Open kschiffer opened this issue 6 years ago • 6 comments

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?

  • Entity search by ID in the console
  • Search RPCs of the entity registry
  • Inclusive combination of search criteria (by "logic and" operator)

What is missing? What do you want to see?

  • Advanced search allowing for a combination of search criteria and search criteria other than the ID
    • ability to combine search criteria with "logic or" in the RPCs (@htdvisser noted that this might be unfeasible anytime soon – should I open an issue about this still?)
    • Advanced search UI in the console

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.

kschiffer avatar Jan 08 '20 15:01 kschiffer

Will this get a milestone?

benolayinka avatar Oct 11 '21 11:10 benolayinka

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.

htdvisser avatar Oct 12 '21 07:10 htdvisser

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

benolayinka avatar Oct 12 '21 08:10 benolayinka

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 avatar Oct 12 '21 08:10 htdvisser

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

htdvisser avatar Oct 12 '21 14:10 htdvisser

@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.

pgalic96 avatar Nov 03 '21 09:11 pgalic96