posit-dev / posit-dev/positron

Data explorer: Provide a better picker when creating a row filter for a categorical column

Open
#9,082 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: data explorer enhancement support
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 11h
Merged PRs (30d)
206

Description

When creating a row filter for a factor column (that's R speak, but this applies to Python as well), it feels like we should provide a dropdown with the known levels. That would be a great improvement!

A second level improvement (probably for later) would be to help folks with an "is one of" filter (so, selecting multiple levels) and some sort of search support (imagine a factor with lots of levels). cc @wesm

Image

Brought up in https://github.com/posit-dev/positron/discussions/9076 on the very same day I had this thought while working on R + data explorer.

Contributor guide

Open the contributing guide

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 Data explorer row-filter UI and the discussion in posit-dev/positron#9076. The first scope is to offer known levels when filtering a categorical or factor column; multi-level selection and search are explicitly later improvements. Done means a categorical filter presents a dropdown of its available levels.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.