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

plugin: fix tree-searching in tree-views #10097

Merged
merged 1 commit into from
Sep 15, 2021
Merged

Conversation

vince-fugnitto
Copy link
Member

@vince-fugnitto vince-fugnitto commented Sep 14, 2021

What it does

Fixes: #10095

The pull-request fixes the bogus rebinding of tree-props which meant that we are not longer able to search as a result.
Instead of rebinding the props (losing them), we pass them correctly.

tree-search-fix.mp4

How to test

  1. start the application
  2. open the npm scripts view
  3. start typing and the tree-search should appear

Review checklist

Reminder for reviewers

Signed-off-by: vince-fugnitto [email protected]

The commit fixes the bogus rebinding of `tree-props` which meant that we
are not longer able to `search` as a result.

Signed-off-by: vince-fugnitto <[email protected]>
@vince-fugnitto vince-fugnitto added bug bugs found in the application tree issues related to the tree (ex: tree widget) plug-in system issues related to the plug-in system labels Sep 14, 2021
@vince-fugnitto vince-fugnitto self-assigned this Sep 14, 2021
Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

I can confirm that the issue exists on master and is addressed by these changes nicely.

@vince-fugnitto vince-fugnitto merged commit 04e2816 into master Sep 15, 2021
@vince-fugnitto vince-fugnitto deleted the vf/tree-search branch September 15, 2021 18:02
@github-actions github-actions bot added this to the 1.18.0 milestone Sep 15, 2021
@thegecko
Copy link
Member

Thanks @vince-fugnitto

This actually fixes another bug where context menus on treeviews supplied by plugins don't work. Now they do!

Screenshot 2021-09-17 at 00 11 01

I was about to open a PR and did a git blame only to find you fixed it two days previously 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application plug-in system issues related to the plug-in system tree issues related to the tree (ex: tree widget)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tree-view: search regression
3 participants