Просмотр исходного кода

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

Flag not in hue.ini for now
Romain Rigaux 9 лет назад
Родитель
Сommit
fe082df
1 измененных файлов с 8 добавлено и 0 удалено
  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 = []