From e7e665100b056102095c493aa3aaf786f219a805 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Mon, 1 Jun 2026 23:19:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(plugin-market):=20restore=20missing=20"?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2"(Page)=20component=20filter=20option?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The market component-filter list on this branch was a diverged rewrite that dropped the Page component kind master had added. The i18n key (market.componentName.Page) already existed; re-add the Page entry to the componentOptions list so plugins providing Page components can be filtered. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../components/plugin-market/PluginMarketComponent.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/src/app/home/plugins/components/plugin-market/PluginMarketComponent.tsx b/web/src/app/home/plugins/components/plugin-market/PluginMarketComponent.tsx index c8ed2ccc..0b239060 100644 --- a/web/src/app/home/plugins/components/plugin-market/PluginMarketComponent.tsx +++ b/web/src/app/home/plugins/components/plugin-market/PluginMarketComponent.tsx @@ -22,6 +22,7 @@ import { Hash, Book, FileText, + AppWindow, SlidersHorizontal, X, Info, @@ -193,6 +194,11 @@ function MarketPageContent({ label: t('market.componentName.Parser'), icon: FileText, }, + { + value: 'Page', + label: t('market.componentName.Page'), + icon: AppWindow, + }, ]; // 获取当前排序参数