-
Notifications
You must be signed in to change notification settings - Fork 283
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
ui search capability to include services #2832
base: master
Are you sure you want to change the base?
Conversation
ac5da73
to
dc3db16
Compare
Signed-off-by: aporss <[email protected]>
d400b98
to
af8f810
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- We should indicate to the the user that the search results being shown is partial. (The search results is partial when serviceMatchCount field is set.) One way to do that can be to show it in Search results header below
- The backend API has the capability to filter results based on domain name as well. Can you confirm if this story/PR was also meant to add support for that in UI? IIRC users can give "athenz:zms" as search term then UI can make search call with domain name set to athenz and service to zms
req.clients.zms.searchServiceIdentities(params, function (err, data) { | ||
if (!err && Array.isArray(data.list)) { | ||
data.list.sort((a, b) => { | ||
debug(a.name, b.name); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove in subsequent PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
regarding point 2 - services search accepts partial name of the service, without the domain name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will make change regarding point 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for point 2, the scenario I was thinking of is if searching for a service returns more than 100(default limit) results then user will never be able to use UI for search if the result is after top 100 even though the user may know the domain name which will help further narrow it down.
Description
UI search capability to include services
Contribution Checklist: