-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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: Update kv list filter to not search on type #22648
Conversation
@value={{this.query}} | ||
placeholder="Search secret path" | ||
aria-describedby="Search by secret path" |
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.
🎉
<form {{on "submit" (perform this.handleSearch)}}> | ||
<Hds::SegmentedGroup as |S|> |
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.
@hellobontempo can probably speak more to this, but should we make an hds ticket to keep track of this component being used? 🙂
@@ -83,84 +89,4 @@ export default class KvListFilterComponent extends Component { | |||
this.navigate(null, input); | |||
} | |||
} | |||
/* |
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.
yay for removing some of these key events!
Build Results: |
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.
Just here to say THANK YOU! Performance wise this should be a much better experience.
Searching on type has been causing issues as of a recent Ember Upgrade, because the input loses focus each time the query param is updated (which causes a full page refresh). We had a hack to manually focus the input after page load, but found it was not working as expected within a namespace.
To reduce flakiness on this interaction, we have opted to replace the old functionality with a streamlined search bar which requires submit (or ENTER key) to search. Note that pressing the ESC key while the input is focused will direct the user to the previous "folder", as it did in the previous iterations of the nested search bar.