-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fix #5923: keybind action for switch environments #5998
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
Fix #5923: keybind action for switch environments #5998
Conversation
8933559
to
0346c6a
Compare
@filfreire @jackkav - anyone able to take a look at this? |
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.
I'd like to hear if there is an alternative way to do this that doesn't require useImperativeHandle since the dropdown component was rewritten recently @pavkout / @gatzjames ?
Thanks for the contribution!
Thanks! |
@jackkav @filfreire @gatzjames @pavkout - Could I please get some feedback on this PR? |
53a24d7
to
3d8b0e9
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.
Updated to use onOpen/onClose instead of the imperative handle!
Thanks for the help!
3d8b0e9
to
3b7fb38
Compare
The environment switch UI used to allow filtering. Did that get functionality get removed? |
@sebastianjonasson you can claim a free tshirt for this PR contribution - find more at https://konghq.com/community/open-source-contribution |
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.
👍
changelog(Fixes): Fixed an issue with the keybind action to switch between environments
Description
Fix keybind (
Ctrl+Shift+E
) action: open environments dropdown when keybind is used.Closes issue: #5923
Type of change
Trivial change.
The keybind broke in patch: e38ece1ab7a45671778fef9326fe4c18c4554154. I used previous commit (90e014a0057322eddbc9f729a4a505d8063ceb8d) as reference to restore the behavior of the keybind.
How Has This Been Tested?
Manually tested using Insomnia UI on Ubuntu 22.04:
Ctrl
+Shift
+E
On develop branch:
On this branch: