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 14f999acc feat: consumers pages without credentials (#3016)
add 3d08dee10 feat: consumer credentials pages (#3018)
No new revisions were added by this update.
Summary of changes:
src/apis/credentials.ts | 56 ++++++++++
src/apis/plugins.ts | 4 +-
.../form-slice/FormItemPlugins/PluginCardList.tsx | 26 +++--
.../FormItemPlugins/PluginEditorDrawer.tsx | 6 +-
.../form-slice/FormItemPlugins/index.tsx | 56 ++++++----
src/components/form-slice/FormPartCredential.tsx | 21 ++++
src/components/form-slice/FormSection/index.tsx | 4 +-
src/components/form-slice/FormSectionGeneral.tsx | 6 +-
src/components/page/ToAddPageBtn.tsx | 5 +-
src/config/constant.ts | 2 +
src/locales/en/common.json | 13 ++-
src/routeTree.gen.ts | 58 +++++++++-
.../{ => detail.$username/credentials}/add.tsx | 56 ++++++----
.../{index.tsx => credentials/detail.$id.tsx} | 69 ++++++------
.../detail.$username/credentials/index.tsx | 119 +++++++++++++++++++--
src/types/schema/apisix/credentials.ts | 21 ++++
src/types/schema/apisix/index.ts | 2 +
src/types/schema/apisix/plugins.ts | 5 +-
src/types/schema/apisix/type.ts | 7 ++
19 files changed, 429 insertions(+), 107 deletions(-)
create mode 100644 src/apis/credentials.ts
create mode 100644 src/components/form-slice/FormPartCredential.tsx
copy src/routes/consumers/{ => detail.$username/credentials}/add.tsx (52%)
copy src/routes/consumers/detail.$username/{index.tsx =>
credentials/detail.$id.tsx} (65%)
create mode 100644 src/types/schema/apisix/credentials.ts