Sfoglia il codice sorgente

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

Flag not in hue.ini for now
Romain Rigaux 9 anni fa
parent
commit
fe082df
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  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 = []