# Filter Condition UX Policy

## Purpose

`dev-21.5.3` fixes the filter popup condition area.  The previous popup showed
text conditions and numeric conditions at the same time.  That was confusing for
text columns such as `商品`, and it also made the popup visually crowded.

## Policy

The filter popup now shows one condition editor at a time:

- Text-heavy columns show text-oriented conditions by default.
- Numeric columns show numeric comparison options.
- The value checklist remains available for all columns.
- Clear / non-empty / blank actions remain as direct shortcut buttons.

## Implementation notes

`NativeGridRenderer.detectFilterColumnType()` classifies the column from the
current filter values.  The rule is intentionally conservative: a column is
numeric only when every non-blank value can be parsed as a finite number.  This
prevents product-name columns from showing numeric conditions.

The model criterion format is unchanged.  The popup only changes how criteria
are edited, so existing `rowPassesFilter()` behavior and saved `.uspdx` metadata
remain compatible.
