Skip to content

feat(provider): add fuzzy search and A-Z sort to ProviderPresetSelector#3853

Open
BingzhenLiu wants to merge 1 commit into
farion1231:mainfrom
BingzhenLiu:main
Open

feat(provider): add fuzzy search and A-Z sort to ProviderPresetSelector#3853
BingzhenLiu wants to merge 1 commit into
farion1231:mainfrom
BingzhenLiu:main

Conversation

@BingzhenLiu
Copy link
Copy Markdown

@BingzhenLiu BingzhenLiu commented Jun 7, 2026

  • Add search input with fuzzy matching (OR logic for multi-word search)
  • Add Sort button to toggle A-Z alphabetical ordering
  • 'Custom' button stays first regardless of sort state
  • Support zh, zh-TW, en, ja i18n
  • Add tests for multi-word search, case-insensitive, and sort toggle

Summary / 概述

Add fuzzy search and A-Z sort functionality to ProviderPresetSelector component.

为 ProviderPresetSelector 组件添加模糊搜索和 A-Z 排序功能。

Related Issue / 关联 Issue

Fixes #

Screenshots / 截图

Before / 修改前 After / 修改后

|
Snipaste_2026-06-07_23-59-01
| image |

Checklist / 检查清单

  • pnpm typecheck passes / 通过 TypeScript 类型检查
  • pnpm format:check passes / 通过代码格式检查
  • cargo clippy passes (if Rust code changed) / 通过 Clippy 检查(如修改了 Rust 代码)
  • Updated i18n files if user-facing text changed / 如修改了用户可见文本,已更新国际化文件

- Add search input with fuzzy matching (OR logic for multi-word search)
- Add Sort button to toggle A-Z alphabetical ordering
- 'Custom' button stays first regardless of sort state
- Support zh, zh-TW, en, ja i18n
- Add tests for multi-word search, case-insensitive, and sort toggle
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