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

keybindings: search improvement #12312

Conversation

FernandoAscencio
Copy link
Contributor

What it does

Closes #11873

This commit aims to improve the keybinding search results in the Keyboard Shortcut Widget.

How to test

Similar to the linked issue.

  1. Open the keybinding widget
  2. Search for a key combination, e.g. Ctrl+U
  3. Check that the proper keybindings are shown.
Notes

Ctrl+U should show keybindings with Ctrl and U, with the following being examples that may or may not exist already.

  • Ctrl+U
  • Ctrl+Alt+U
  • Ctrl+T U
  • Ctrl+K Ctrl+U.

Other search terms that should work for finding Ctrl+U are 'Ctrl U', 'U', 'Ctrl' and 'Ctrl+'. These should include Ctrl+U in the results.

Review checklist

Reminder for reviewers

@vince-fugnitto
Copy link
Member

@FernandoAscencio do you mind rebasing the pull-request against the latest master?

@FernandoAscencio
Copy link
Contributor Author

@vince-fugnitto
Rebase is done.

@FernandoAscencio
Copy link
Contributor Author

@colin-grant-work
Does this seem good to you?

improvement that aims to reduce the number of result when searching keys
in keybindings.

Signed-Off-By: FernandoAscencio <fernando.ascencio.cama@ericsson.com>
@vince-fugnitto vince-fugnitto added keybindings issues related to keybindings ui/ux issues related to user interface / user experience labels Apr 10, 2023
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

  • the code looks good
  • confirmed that searching works as expected and is aligned with the behavior present in VS Code

@vince-fugnitto vince-fugnitto merged commit 8a58417 into eclipse-theia:master Apr 10, 2023
@vince-fugnitto vince-fugnitto deleted the fa/keyboardSearchImprovement branch April 10, 2023 19:32
@vince-fugnitto vince-fugnitto added this to the 1.37.0 milestone Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keybindings issues related to keybindings ui/ux issues related to user interface / user experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keyboard Shortcut Widget Search returns too many results
3 participants