Skip to content

Add a rootFilter config key to hide the root search filter - #66

Open
nchudleigh wants to merge 1 commit into
typecraft-dev:mainfrom
nchudleigh:feat/hide-root-filter
Open

nchudleigh wants to merge 1 commit into
typecraft-dev:mainfrom
nchudleigh:feat/hide-root-filter

Conversation

@nchudleigh

@nchudleigh nchudleigh commented Nov 3, 2026 •

Copy link
Copy Markdown

Problem

The All / Applications / Commands filter button beside the root search takes header room, and there's no way to turn it off for people who never use it.

Change

New config.json key rootFilter (default true). Set to false, it hides the filter button and turns off its Ctrl+P dropdown, so root search always shows all results. Invalid values fall back to the default. The README notes it under Keyboard.

Testing

node --test tests/*.test.js passes, with new cases in migrate.test.js. Checked live with "rootFilter": false: the button is gone and the query uses the full header width.

Screenshots

Default | "rootFilter": false:

Header with the filter

Header without the filter

🤖 Generated with Claude Code

The All / Applications / Commands button takes header room some people never
use. "rootFilter": false in config.json hides it and its Ctrl+P shortcut;
the default keeps it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant