Skip to content

Fix hue filter not narrowing the hue list - #83

Merged
kaczy93 merged 1 commit into
kaczy93:masterfrom
DavideRei:fix-hue-filter
Nov 17, 2026
Merged

kaczy93 merged 1 commit into
kaczy93:masterfrom
DavideRei:fix-hue-filter

Conversation

@DavideRei

Copy link
Copy Markdown
Contributor

Problem

Typing in the Hues window filter didn't narrow the list. FilterHues() appended matching ids to _matchedHueIds without clearing it first, so the full list stayed and the matches were added at the end. The list also got duplicated on every reconnect.

Fix

Clear _matchedHueIds at the start of FilterHues().

Testing

Built and tested in the app: the hue list now shows only the hues matching the filter (by name, hex or decimal id).

🤖 Generated with Claude Code

FilterHues appended matches to _matchedHueIds without clearing it, so the
list never shrank and filtered results ended up after the full hue list.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kaczy93
kaczy93 merged commit e3aad11 into kaczy93:master Nov 17, 2026
8 checks passed
@DavideRei
DavideRei deleted the fix-hue-filter branch November 17, 2026 09:25
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

Successfully merging this pull request may close these issues.

2 participants