Automattic / Automattic/jetpack
Search Widget: default to non-expanded filter form
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
#### Steps to reproduce the issue
1. Start from a site with Jetpack Professional, and with the Search feature enabled.
2. Go to Appearance > Customize, and add the Jetpack Search widget to your site.
3. Removing the only filter option and then saving, brings it back again.

4. Ideally, maybe we should default to the "Add Filter" button at all times.
Contributor guide
Research direction
No file or test is named. Reproduce the behavior in Appearance > Customize with the Jetpack Search widget, then locate the widget implementation and its save behavior. Done means removing the only filter remains removed and the widget defaults to showing the “Add Filter” button rather than an expanded filter form.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100