From 69d009d02aed0658a827334d8394fadd16e2769f Mon Sep 17 00:00:00 2001 From: Shinigami Date: Mon, 28 Nov 2022 23:57:27 +0100 Subject: [PATCH] feat: toggleable feature flags (#209) --- components/nav/NavFooter.vue | 1 + components/nav/SelectFeatureFlags.vue | 24 ++++++++++ components/nav/SelectLanguage.vue | 2 +- components/timeline/TimelinePaginator.vue | 18 ++++--- composables/featureFlags.ts | 57 +++++++++++++++++++++++ composables/users.ts | 1 + constants/index.ts | 2 +- locales/de-DE.json | 6 ++- locales/en-US.json | 6 ++- locales/zh-CN.json | 6 ++- 10 files changed, 111 insertions(+), 12 deletions(-) create mode 100644 components/nav/SelectFeatureFlags.vue create mode 100644 composables/featureFlags.ts diff --git a/components/nav/NavFooter.vue b/components/nav/NavFooter.vue index 361d438b..cc353302 100644 --- a/components/nav/NavFooter.vue +++ b/components/nav/NavFooter.vue @@ -18,6 +18,7 @@ const buildTimeAgo = useTimeAgo(buildTime) /> +