Skip to content

[System Pop Up] Hide hidden and deprecated settings from search results #4390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 9, 2025

Conversation

bmcomfy
Copy link
Contributor

@bmcomfy bmcomfy commented Jul 8, 2025

Summary

Fixes setting search to exclude hidden and deprecated settings from results, maintaining consistency with the normal settings tree behavior.

Changes

  • Added filter in useSettingSearch.ts to exclude settings with type: 'hidden' or deprecated: true
  • Added comprehensive unit tests and playwright tests for setting search functionality

Before

Hidden and deprecated settings appeared in search results even though they're not shown in the normal settings tree.

After

Search results now only show visible, non-deprecated settings, matching the expected behavior.

┆Issue is synchronized with this Notion page by Unito

@bmcomfy bmcomfy requested review from a team as code owners July 8, 2025 22:50
Copy link
Contributor

@christian-byrne christian-byrne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing! LGTM!

@bmcomfy bmcomfy merged commit f5b03f3 into main Jul 9, 2025
9 of 10 checks passed
@bmcomfy bmcomfy deleted the system-pop-up/fix-setting-search-for-hidden-fields branch July 9, 2025 00:19
This was referenced Jul 9, 2025
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.

2 participants