浏览代码

[editor] Turn the new SQL editor on by default

Romain Rigaux 9 年之前
父节点
当前提交
b0b4f256c0
共有 3 个文件被更改,包括 9 次插入3 次删除
  1. 3 3
      apps/beeswax/src/beeswax/conf.py
  2. 3 0
      desktop/conf.dist/hue.ini
  3. 3 0
      desktop/conf/pseudo-distributed.ini.tmpl

+ 3 - 3
apps/beeswax/src/beeswax/conf.py

@@ -124,11 +124,11 @@ THRIFT_VERSION = Config(
   default=7
 )
 
-USE_NEW_EDITOR = Config( # To remove in Hue 3.10
+USE_NEW_EDITOR = Config( # To remove in Hue 4
   key='use_new_editor',
-  default=False,
+  default=True,
   type=coerce_bool,
-  help=_t('Choose whether to show the new editors for beta testing.')
+  help=_t('Choose whether to show the new SQL editor.')
 )
 
 SSL = ConfigSection(

+ 3 - 0
desktop/conf.dist/hue.ini

@@ -817,6 +817,9 @@
   ## auth_username=hue
   ## auth_password=
 
+  # Choose whether to show the new SQL editor.
+  ## use_new_editor=true
+
 
 ###########################################################################
 # Settings to configure Impala

+ 3 - 0
desktop/conf/pseudo-distributed.ini.tmpl

@@ -819,6 +819,9 @@
   ## auth_username=hue
   ## auth_password=
 
+  # Choose whether to show the new SQL editor.
+  ## use_new_editor=true
+
 
 ###########################################################################
 # Settings to configure Impala