Auto-focus on the Value field in filter view

Open
#40,109 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
react, typescript

Research direction

Start by locating the filter view used when choosing data for graphs, then trace the transition from selecting a filter field to displaying its value field. Verify the existing keyboard flow and define done as the value field receiving focus automatically after the filter field is selected.

Written by the indexing model from the issue text.

Description

enhancement
Feature request

Is your feature request related to a problem?

Nope, it's not. It's an accessibility enhancement. When adding filters to the data we choose for graphs - we can operate easily by keyboard. But after selecting the field we would like the filter to work on - we are not focusing the field with value.

Describe the solution you'd like

Auto-focus the value field after selecting the filter field, so it will be a seamless keyboard experience for users.

Describe alternatives you've considered

Additional context

I could prepare a PR for that if maintainers will accept that as a valid feature/imrovement to Posthog.

Debug info
- [ ] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
7h 27m
Merged PRs (30d)
222

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.

More from PostHog/posthog

All issues in PostHog/posthog

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.