posit-dev / posit-dev/positron
Data explorer: Provide a better picker when creating a row filter for a categorical column
Nobody has claimed this yet.
- 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
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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