Skip to content

fix(nodes): Correctly filter ignored nodes#3966

Merged
jamesarich merged 2 commits into
mainfrom
fix/show-only-ignore
Dec 11, 2025
Merged

fix(nodes): Correctly filter ignored nodes#3966
jamesarich merged 2 commits into
mainfrom
fix/show-only-ignore

Conversation

@jamesarich

Copy link
Copy Markdown
Collaborator

The filter for showing or hiding ignored nodes was not working as intended. This commit corrects the logic to properly filter the node list based on the showIgnored flag.

Previously, the filter was filter.showIgnored || !it.isIgnored, which would always show non-ignored nodes, regardless of the filter setting.

The new logic, node.isIgnored == filter.showIgnored, correctly displays only ignored nodes when showIgnored is true, and only non-ignored nodes when it is false.

resolves #3881

The filter for showing or hiding ignored nodes was not working as intended. This commit corrects the logic to properly filter the node list based on the `showIgnored` flag.

Previously, the filter was `filter.showIgnored || !it.isIgnored`, which would always show non-ignored nodes, regardless of the filter setting.

The new logic, `node.isIgnored == filter.showIgnored`, correctly displays only ignored nodes when `showIgnored` is true, and only non-ignored nodes when it is false.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@github-actions github-actions Bot added the bugfix PR tag label Dec 11, 2025
@jamesarich jamesarich enabled auto-merge December 11, 2025 04:46
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@codecov

codecov Bot commented Dec 11, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.52%. Comparing base (ce73220) to head (97eac2e).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #3966   +/-   ##
=====================================
  Coverage   0.52%   0.52%           
=====================================
  Files        394     394           
  Lines      23170   23170           
  Branches    2943    2943           
=====================================
  Hits         122     122           
  Misses     23027   23027           
  Partials      21      21           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jamesarich jamesarich added this pull request to the merge queue Dec 11, 2025
Merged via the queue into main with commit 919901e Dec 11, 2025
6 checks passed
@jamesarich jamesarich deleted the fix/show-only-ignore branch December 11, 2025 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix PR tag

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: 2.7.8 Show ignored nodes broken

1 participant