Skip to content

Make it easier to exclude one environment in the filter #130734

Open

Description

@sentry-junior

Problem Statement

A customer wants to see every environment except one. The environment page filter makes this tedious, and it's easy to lose your selection:

  • All Envs means "no filter." It doesn't check every box, so you can't start from "all" and uncheck the one you don't want. The only way to exclude one is to check every other environment individually.
  • Clicking an environment's checkbox adds it to a staged selection. Clicking the environment's name replaces the whole selection with just that one and applies it right away. A slightly-off click while you're checking boxes throws away everything you've checked so far.
  • Shift + click (range) and Cmd/Ctrl + click (multi-select) exist, but they're only mentioned in the ⓘ tooltip next to "Filter Environments," so people don't find them.
  • The customer missed the checkbox three times in a row before getting through the selection.

The search bar doesn't help on Issues: environment is left out of the search keys on purpose (useFetchIssueTags.tsx), so the page filter is the only way to filter by environment.

Relevant code: static/app/components/pageFilters/environment/environmentPageFilter.tsx, static/app/components/pageFilters/useStagedCompactSelect.tsx (handleChange → onReplace + commit on a plain row click).

Solution Brainstorm

The customer's implied ask: let All Envs (or a "select all" control) check every environment so you can uncheck the ones you don't want.

Product Area

Issues (the environment page filter is shared, so other pages that use it are affected too)

Source: customer feedback, anonymized.

via Saad Khan.

--

View Session [Sentry]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions