From 841959b51f1d5ae62c4a99993d32de1e17e167a3 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Tue, 27 Dec 2022 18:38:38 +0100 Subject: [PATCH] feat: move flags to settings --- components/nav/NavFooter.vue | 16 +++++----- components/nav/NavSide.vue | 1 - components/nav/SelectFeatureFlags.vue | 31 ------------------- components/settings/SettingsToggle.vue | 42 ++++++++++++++++++++++++++ components/user/UserSwitcher.vue | 1 - locales/ar-EG.json | 14 +++++---- locales/cs-CZ.json | 14 +++++---- locales/de-DE.json | 14 +++++---- locales/en-US.json | 13 ++++---- locales/es-ES.json | 14 +++++---- locales/fr-FR.json | 14 +++++---- locales/ja-JP.json | 12 +++++--- locales/zh-CN.json | 13 ++++---- pages/settings/preferences/index.vue | 36 +++++++++++++++++----- 14 files changed, 140 insertions(+), 95 deletions(-) delete mode 100644 components/nav/SelectFeatureFlags.vue create mode 100644 components/settings/SettingsToggle.vue diff --git a/components/nav/NavFooter.vue b/components/nav/NavFooter.vue index 6b251684..15bcccae 100644 --- a/components/nav/NavFooter.vue +++ b/components/nav/NavFooter.vue @@ -22,6 +22,15 @@ const buildTimeAgo = useTimeAgo(buildTimeDate, timeAgoOptions) @click="toggleZenMode()" /> + + + - - - - -
-
-

- 🚧 -

-

- {{ $t('settings.preferences.label') }} -

-
+

+
+ {{ $t('settings.feature_flags.title') }} +

+ + {{ $t('settings.feature_flags.virtual_scroll') }} + + + {{ $t('settings.feature_flags.avatar_on_avatar') }} + + + {{ $t('settings.feature_flags.github_cards') }} + + + {{ $t('settings.feature_flags.user_switcher_sidebar') }} +