From 003f592ef6edd5125879c47126083bc92869395b Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 16 Jul 2022 23:11:05 +0900 Subject: [PATCH] feat(client): registry editor --- CHANGELOG.md | 8 ++ packages/client/src/pages/registry.keys.vue | 96 +++++++++++++++ packages/client/src/pages/registry.value.vue | 123 +++++++++++++++++++ packages/client/src/pages/registry.vue | 74 +++++++++++ packages/client/src/pages/settings/other.vue | 2 + packages/client/src/router.ts | 9 ++ 6 files changed, 312 insertions(+) create mode 100644 packages/client/src/pages/registry.keys.vue create mode 100644 packages/client/src/pages/registry.value.vue create mode 100644 packages/client/src/pages/registry.vue diff --git a/CHANGELOG.md b/CHANGELOG.md index 90325f1363..a5e1fa65bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,14 @@ You should also include the user name that made the change. --> +## 12.x.x (unreleased) + +### Improvements +- Client: registry editor @syuilo + +### Bugfixes +- + ## 12.115.0 (2022/07/16) ### Improvements diff --git a/packages/client/src/pages/registry.keys.vue b/packages/client/src/pages/registry.keys.vue new file mode 100644 index 0000000000..9d2f24f18a --- /dev/null +++ b/packages/client/src/pages/registry.keys.vue @@ -0,0 +1,96 @@ + + + + + diff --git a/packages/client/src/pages/registry.value.vue b/packages/client/src/pages/registry.value.vue new file mode 100644 index 0000000000..5291b2e4c8 --- /dev/null +++ b/packages/client/src/pages/registry.value.vue @@ -0,0 +1,123 @@ + + + + + diff --git a/packages/client/src/pages/registry.vue b/packages/client/src/pages/registry.vue new file mode 100644 index 0000000000..a428755a88 --- /dev/null +++ b/packages/client/src/pages/registry.vue @@ -0,0 +1,74 @@ + + + + + diff --git a/packages/client/src/pages/settings/other.vue b/packages/client/src/pages/settings/other.vue index 52ef4d401f..51dab04cfa 100644 --- a/packages/client/src/pages/settings/other.vue +++ b/packages/client/src/pages/settings/other.vue @@ -10,6 +10,8 @@ {{ i18n.ts.accountInfo }} + {{ i18n.ts.registry }} + {{ i18n.ts.closeAccount }} diff --git a/packages/client/src/router.ts b/packages/client/src/router.ts index 2ff41e9723..b61b77eeeb 100644 --- a/packages/client/src/router.ts +++ b/packages/client/src/router.ts @@ -153,6 +153,15 @@ export const routes = [{ }, { path: '/channels', component: page(() => import('./pages/channels.vue')), +}, { + path: '/registry/keys/system/:path(*)?', + component: page(() => import('./pages/registry.keys.vue')), +}, { + path: '/registry/value/system/:path(*)?', + component: page(() => import('./pages/registry.value.vue')), +}, { + path: '/registry', + component: page(() => import('./pages/registry.vue')), }, { path: '/admin/file/:fileId', component: iAmModerator ? page(() => import('./pages/admin-file.vue')) : page(() => import('./pages/not-found.vue')),