This is an automated email from the ASF dual-hosted git repository. young pushed a change to branch dev/next in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git
from 33ed7db33 feat: protos page, FileUploadTextarea component (#3001) add fe85cbbc3 feat: plugin-global-rules add page, list page, Plugin component (#3002) No new revisions were added by this update. Summary of changes: package.json | 4 + pnpm-lock.yaml | 69 ++++++++++ src/apis/plugins.ts | 9 ++ .../form-slice/FormItemPlugins/PluginCard.tsx | 64 +++++++++ .../form-slice/FormItemPlugins/PluginCardList.tsx | 148 +++++++++++++++++++++ .../FormItemPlugins/SelectPluginsDrawer.tsx | 72 ++++++++++ .../FormItemPlugins/UpdatePluginDrawer.tsx | 72 ++++++++++ .../form-slice/FormItemPlugins/index.tsx | 97 ++++++++++++++ src/components/form-slice/FormItemPlugins/req.ts | 34 +++++ src/components/form-slice/FormPartGlobalRules.tsx | 15 +++ src/components/form-slice/FormSectionInfo.tsx | 45 +++++-- src/components/form/Btn.tsx | 3 +- src/components/form/Editor.tsx | 141 ++++++++++++++++++++ src/components/page/ToAddPageBtn.tsx | 23 ++++ src/config/constant.ts | 3 + src/config/navRoutes.ts | 4 +- src/locales/en/common.json | 27 +++- src/locales/zh/common.json | 2 +- src/routeTree.gen.ts | 92 ++++++++++--- src/routes/{protos => global-rules}/add.tsx | 50 +++---- src/routes/global-rules/detail.$id.tsx | 9 ++ src/routes/{protos => global-rules}/index.tsx | 56 ++++---- src/routes/plugin-global-rules/index.tsx | 9 -- src/routes/protos/index.tsx | 25 ++-- src/routes/upstreams/index.tsx | 25 ++-- src/styles/global.css | 8 +- src/types/schema/apisix/common.ts | 6 - src/types/schema/apisix/global-rule.ts | 17 +++ src/types/schema/apisix/index.ts | 4 + src/types/schema/apisix/plugin.ts | 21 +++ src/types/schema/apisix/route.ts | 3 +- src/types/schema/apisix/type.ts | 5 + 32 files changed, 1020 insertions(+), 142 deletions(-) create mode 100644 src/apis/plugins.ts create mode 100644 src/components/form-slice/FormItemPlugins/PluginCard.tsx create mode 100644 src/components/form-slice/FormItemPlugins/PluginCardList.tsx create mode 100644 src/components/form-slice/FormItemPlugins/SelectPluginsDrawer.tsx create mode 100644 src/components/form-slice/FormItemPlugins/UpdatePluginDrawer.tsx create mode 100644 src/components/form-slice/FormItemPlugins/index.tsx create mode 100644 src/components/form-slice/FormItemPlugins/req.ts create mode 100644 src/components/form-slice/FormPartGlobalRules.tsx create mode 100644 src/components/form/Editor.tsx create mode 100644 src/components/page/ToAddPageBtn.tsx copy src/routes/{protos => global-rules}/add.tsx (54%) create mode 100644 src/routes/global-rules/detail.$id.tsx copy src/routes/{protos => global-rules}/index.tsx (70%) delete mode 100644 src/routes/plugin-global-rules/index.tsx create mode 100644 src/types/schema/apisix/global-rule.ts create mode 100644 src/types/schema/apisix/plugin.ts