浏览代码

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

Flag not in hue.ini for now
Romain Rigaux 9 年之前
父节点
当前提交
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 = []