Procházet zdrojové kódy

HUE-3281 Interface revamp and modernization of UX: Hue 4

Flag not in hue.ini for now
Romain Rigaux před 9 roky
rodič
revize
fe082df
1 změnil soubory, kde provedl 8 přidání a 0 odebrání
  1. 8 0
      desktop/core/src/desktop/conf.py

+ 8 - 0
desktop/core/src/desktop/conf.py

@@ -1219,6 +1219,14 @@ USE_DEFAULT_CONFIGURATION = Config(
   help=_('Enable saved default configurations for Hive, Impala, Spark, and Oozie.')
 )
 
+IS_HUE_4 = Config( # To remove in Hue 5
+  key='is_hue_4',
+  default=False,
+  type=coerce_bool,
+  help=_('Choose whether to enable the new interface.')
+)
+
+
 def validate_ldap(user, config):
   res = []