From 7b48d89784300d0fc87499d62cc28bb487e241e3 Mon Sep 17 00:00:00 2001 From: Rhonin Date: Sat, 4 Jul 2026 04:42:39 +0800 Subject: [PATCH] feat(extension): add list view and page size options to plugin market # Conflicts: # dashboard/src/views/extension/useExtensionPage.js --- .../locales/en-US/features/extension.json | 1 + .../locales/zh-CN/features/extension.json | 1 + .../src/views/extension/MarketPluginsTab.vue | 308 +++++++++++++++++- .../src/views/extension/useExtensionPage.js | 76 ++++- 4 files changed, 374 insertions(+), 12 deletions(-) diff --git a/dashboard/src/i18n/locales/en-US/features/extension.json b/dashboard/src/i18n/locales/en-US/features/extension.json index 75313fdba9..a01cc7c3ce 100644 --- a/dashboard/src/i18n/locales/en-US/features/extension.json +++ b/dashboard/src/i18n/locales/en-US/features/extension.json @@ -172,6 +172,7 @@ "sourceResolved": "Source resolved successfully", "installPlugin": "Install Plugin", "randomPlugins": "🎲 Random Plugins", + "itemsPerPage": "Items per page", "sourceSafetyWarning": "Even with the default source, plugin stability and security cannot be fully guaranteed. Please verify carefully before use." }, "sort": { diff --git a/dashboard/src/i18n/locales/zh-CN/features/extension.json b/dashboard/src/i18n/locales/zh-CN/features/extension.json index d8ba9869e6..3fb5d250cb 100644 --- a/dashboard/src/i18n/locales/zh-CN/features/extension.json +++ b/dashboard/src/i18n/locales/zh-CN/features/extension.json @@ -172,6 +172,7 @@ "sourceResolved": "插件源可用", "installPlugin": "安装插件", "randomPlugins": "🎲 随机插件", + "itemsPerPage": "每页显示", "sourceSafetyWarning": "即使是默认插件源,我们也不能完全保证插件的稳定性和安全性,使用前请谨慎核查。" }, "sort": { diff --git a/dashboard/src/views/extension/MarketPluginsTab.vue b/dashboard/src/views/extension/MarketPluginsTab.vue index 73767a2c8f..d103d71c57 100644 --- a/dashboard/src/views/extension/MarketPluginsTab.vue +++ b/dashboard/src/views/extension/MarketPluginsTab.vue @@ -1,6 +1,7 @@