From 64dc58c2590c13f6e47b954d22328590115e4a35 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 21 Mar 2024 10:35:18 +0100 Subject: [PATCH] :bug: Set correctly the default features --- common/src/app/common/features.cljc | 4 +++- common/src/app/common/flags.cljc | 5 +---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/common/src/app/common/features.cljc b/common/src/app/common/features.cljc index f4751da8f..90b27587f 100644 --- a/common/src/app/common/features.cljc +++ b/common/src/app/common/features.cljc @@ -56,7 +56,9 @@ ;; migrations process, so all features referenced in migrations should ;; be here. (def default-enabled-features - #{"fdata/shape-data-type"}) + #{"fdata/shape-data-type" + "styles/v2" + "layout/grid"}) ;; A set of features which only affects on frontend and can be enabled ;; and disabled freely by the user any time. This features does not diff --git a/common/src/app/common/flags.cljc b/common/src/app/common/flags.cljc index bd3afed23..93b88f87e 100644 --- a/common/src/app/common/flags.cljc +++ b/common/src/app/common/flags.cljc @@ -12,8 +12,7 @@ (def default "A common flags that affects both: backend and frontend." [:enable-registration - :enable-login-with-password - :enable-feature-styles-v2]) + :enable-login-with-password]) (defn parse [& flags] @@ -34,5 +33,3 @@ :else (recur (rest flags) result))))))) - -