Skip to content

Feature: Real-time search/filter box in TreeView (queues, topics, subscriptions) #861

@RaoulJacobs

Description

@RaoulJacobs

Summary

A real-time filter box above the TreeView that narrows down visible nodes as you type.

Motivation

When a namespace has many queues and topics, scrolling through the tree to find a specific entity becomes tedious. A simple filter box solves this.

Behavior

  • TextBox above the TreeView with placeholder "Filter queues/topics..."
  • As you type: hides non-matching top-level nodes (queues/topics)
  • Deep filter: if filtering on a subscription name, the parent topic stays visible and only non-matching subscriptions are hidden
  • Empty filter: full tree restored
  • Filter survives tree refresh (re-applied after each ShowEntities call)
  • 250ms debounce to avoid stuttering on large namespaces

Implementation

Implemented in our fork tailormade-eu/ServiceBusExplorer on top of upstream HEAD (d71dc35).

Changes: MainForm.cs + MainForm.Designer.cs + NativeMethods.cs (Win32 cue banner for placeholder text).

We are working on extracting the filter logic into a testable unit before submitting a PR.

Question

Is this a feature you'd accept a PR for?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions