feat: 为插件市场的搜索增加拼音与首字母搜索功能 #2936
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #XYZ
Motivation / 动机
Modifications / 改动点
dashboard/src/views/ExtensionPage.vue:pinyin-pronormalizeStr、toPinyinText、toInitialsmarketCustomFilter,对名称/简称/描述/作者进行拼音与首字母匹配v-data-table绑定:custom-filter="marketCustomFilter"dashboard/package.json:"pinyin-pro": "^3.26.0"Verification Steps / 验证步骤
dashboard执行:npm inpm run devScreenshots or Test Results / 运行截图或测试结果
Compatibility & Breaking Changes / 兼容性与破坏性变更
Checklist / 检查清单
requirements.txt和pyproject.toml文件相应位置。/ I have ensured that no new dependencies are introduced, OR if new dependencies are introduced, they have been added to the appropriate locations inrequirements.txtandpyproject.toml.Sourcery 总结
在插件市场中启用拼音和首字母搜索,并引入一个新的机器人命令来激活所有功能工具。
新功能:
改进:
Original summary in English
Summary by Sourcery
Enable pinyin and initials search in the plugin marketplace and introduce a new bot command to activate all function tools.
New Features:
Enhancements:
Sourcery 总结
集成 pinyin-pro 并在市场表格上实现一个自定义筛选器,以支持在插件名称、别名、描述和作者中进行拼音、首字母和标准关键词搜索。
新功能:
增强功能:
Original summary in English
Summary by Sourcery
Integrate pinyin-pro and implement a custom filter on the marketplace table to enable pinyin, initials, and standard keyword search across plugin names, aliases, descriptions, and authors.
New Features:
Enhancements: