From 78581fa71725bb662eb00fe1da5f2221a1779081 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Tue, 13 Oct 2020 19:59:14 -0700 Subject: [PATCH] chore: make config ENABLE_REACT_CRUD_VIEWS = True by default React CRUD views have been maturing for a while and are ready for prime time! --- UPDATING.md | 3 +++ superset/config.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/UPDATING.md b/UPDATING.md index a36788c0f6715..3c10ffac749a2 100644 --- a/UPDATING.md +++ b/UPDATING.md @@ -23,6 +23,9 @@ assists people when migrating to a new version. ## Next +* NOTICE: config flag ENABLE_REACT_CRUD_VIEWS has been set to `True` by default, set to `False` if + you prefer to vintage look and feel :) + * [11244](https://github.com/apache/incubator-superset/pull/11244): The `REDUCE_DASHBOARD_BOOTSTRAP_PAYLOAD` feature flag has been removed after being set to True for multiple months. * [11172](https://github.com/apache/incubator-superset/pull/11172): Breaking change: SQL templating is turned off be default. To turn it on set `ENABLE_TEMPLATE_PROCESSING` to True on `DEFAULT_FEATURE_FLAGS` diff --git a/superset/config.py b/superset/config.py index 9fbcbebce7d93..0692f92924e37 100644 --- a/superset/config.py +++ b/superset/config.py @@ -842,7 +842,7 @@ class CeleryConfig: # pylint: disable=too-few-public-methods # Enables the replacement react views for all the FAB views (list, edit, show) with # designs introduced in SIP-34: https://github.com/apache/incubator-superset/issues/8976 # This is a work in progress so not all features available in FAB have been implemented -ENABLE_REACT_CRUD_VIEWS = False +ENABLE_REACT_CRUD_VIEWS = True # What is the Last N days relative in the time selector to: # 'today' means it is midnight (00:00:00) in the local timezone @@ -955,7 +955,7 @@ class CeleryConfig: # pylint: disable=too-few-public-methods elif importlib.util.find_spec("superset_config"): try: import superset_config # pylint: disable=import-error - from superset_config import * # type: ignore # pylint: disable=import-error,wildcard-import,unused-wildcard-import + from superset_config import * # pylint: disable=import-error,wildcard-import,unused-wildcard-import print(f"Loaded your LOCAL configuration at [{superset_config.__file__}]") except Exception: