microsoft / microsoft/PowerBI-visuals-TextFilter

Support Wildcards

Open
#6 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
29
Forks
36
PR merge metrics
No merged PRs in 30d

Description

This is more of a future enhancement, but it would be nice if text filter supports wildcards. From a customer:

E.g. ERC* only finds things that begin with ERC
nnnABC begins with 3 numbers
B?B - search for bob, bib, brb, etc. any letter in between the B's

Currently, TextFilter uses applyJSONFilter, and that only really supports equals, contains and starts with operators (and their counterparts does not ) for text fields, so we cannot implement at this time.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the TextFilter implementation and its use of applyJSONFilter to understand the current text operators and their limitations. Compare the desired behavior with the examples ERC*, nnnABC, and B?B; done should include defined wildcard matching for these patterns, including the relevant negative operators if supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.