feat(plugin-market): rename component filter to "插件组件" with hint tooltip + persist filters

- Rename the in-app plugin market component filter label to "插件组件" /
  "Plugin Component"
- Add an Info icon tooltip explaining what plugin components are (Tool /
  Command / EventListener, etc.)
- Persist filter selections (type / component / tags / sort) in localStorage
  so they survive reloads; restored on mount (URL type param still wins)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Junyan Qin
2026-06-01 23:14:59 +08:00
parent 67fab1dac6
commit 4a68b21477
3 changed files with 72 additions and 7 deletions
+3 -1
View File
@@ -670,7 +670,9 @@ const enUS = {
markAsRead: 'Mark as Read',
markAsReadSuccess: 'Marked as read',
markAsReadFailed: 'Mark as read failed',
filterByComponent: 'Component',
filterByComponent: 'Plugin Component',
filterByComponentHint:
'Plugin components are the capability types a plugin provides — Tool, Command, EventListener, etc. Filter by component to show only plugins offering that capability.',
allComponents: 'All Components',
componentName: {
Tool: 'Tool',
+3 -1
View File
@@ -643,7 +643,9 @@ const zhHans = {
markAsRead: '已读',
markAsReadSuccess: '已标记为已读',
markAsReadFailed: '标记为已读失败',
filterByComponent: '组件',
filterByComponent: '插件组件',
filterByComponentHint:
'插件组件是插件提供的能力类型,如工具(Tool)、命令(Command)、事件监听器(EventListener)等。按组件筛选可只看提供对应能力的插件。',
allComponents: '全部组件',
componentName: {
Tool: '工具',