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

Conditional Filtering descendants nodes #24

Open
rafaelbes opened this issue Sep 8, 2023 · 1 comment
Open

Conditional Filtering descendants nodes #24

rafaelbes opened this issue Sep 8, 2023 · 1 comment

Comments

@rafaelbes
Copy link

I believe there might be an enhancement that could offer added utility in certain scenarios. Specifically, when setting up a conditional filter, would it be feasible to introduce an option (perhaps with a checkbox) that displays the descendant nodes? I've done a preliminary review of the code and noticed the TreeFilterViewItem objects appears to be structured as a flat list. Would the integration of such a feature need a major restructuring or there is a straightforward way to append the descendant nodes to these objects?

@doug-101
Copy link
Owner

I considered that, but it made it confusing to keep track of which nodes matched and which were children of matches.

A work-around is to select a node of interest then toggle between "End Filter" and "Filter" in the dialog. It will stay selected and show you where it lives in the tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants