Explorar o código

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

Flag not in hue.ini for now
Romain Rigaux %!s(int64=9) %!d(string=hai) anos
pai
achega
fe082df660
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  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 = []