Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Ditto UI search slot with selection of namespaces to search in #1654

Open
thjaeckle opened this issue Jun 14, 2023 · 2 comments
Open
Labels
good-first-issue help wanted UI Issues related to the Ditto explorer UI

Comments

@thjaeckle
Copy link
Member

The current "search slot" when browsing for all things in the Ditto Explorer UI does not provide the option to define the namespace(s) to search in.
The API provides this as a separate query parameter namespaces (comma separated list of namespaces to search in):
https://www.eclipse.org/ditto/http-api-doc.html#/Things-Search/get_api_2_search_things

It would be great to make the namespaces to search in selectable.
The "environment" already supports to configure searchNamespaces - maybe just list all of those in a kind of "multi select" component to quickly add/remove namespaces to search in.

@thfries what do you think about this? Does it make sense?

@thjaeckle thjaeckle added the UI Issues related to the Ditto explorer UI label Jun 14, 2023
@thfries
Copy link
Contributor

thfries commented Jun 14, 2023

Hi @thjaeckle,
yes, if you have multiple namespaces configured on an environment that makes sense to select here.
But I thought a namespace is rather for separating bigger scopes (like a tenant) and not for very fine grained separation where you switch frequently back and forth. So my assumption was, that you configure one or two namespaces per environment and use rather different environments for different namespaces.
So if you say you have the need to frequently switch between namespaces, this could be easily done.
The only concern that might get more complex over time: we may need to extend the saved favorite filters (that should include the namespace, too. In future, separate columns and sorting per saved filter might make sense too :-) )

@thjaeckle
Copy link
Member Author

We are using namespace for eg categorizing different types of entities, eg "devices", "rooms", "buildings" being part of the namespace.

A tenant can also be part of the very same namespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good-first-issue help wanted UI Issues related to the Ditto explorer UI
Projects
None yet
Development

No branches or pull requests

2 participants