Don't show the textbox filter if there are so few facet links you can take them in at a glance

Created on 4 November 2024, 12 days ago

Problem/Motivation

The ability to filter requires a textbox, and when there is only one or two facets links to show this makes the user experience worse instead of better, almost certainly is unhelpful at three or four, and it is a judgement call if it makes sense at five and more that sitebuilders should be able to make for themselves.

Proposed resolution

Make configurable the minimum number of facet links before showing text filter.

If there are only this many links to choose from, do not show the text box for filtering. Set to zero to always show the filter even if only one link to filter (not recommended).

Remaining tasks

Do it.

User interface changes

The option described.

API changes

None.

Data model changes

None.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mlncn Minneapolis, MN, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024