chore: make config ENABLE_REACT_CRUD_VIEWS = True by default (#11259)

React CRUD views have been maturing for a while and are ready for prime
time!
This commit is contained in:
Maxime Beauchemin 2020-10-18 21:37:41 -07:00 committed by GitHub
parent 31e4a90440
commit a1f8429b4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -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.
* [11098](https://github.com/apache/incubator-superset/pull/11098): includes a database migration that adds a `uuid` column to most models, and updates `Dashboard.position_json` to include chart UUIDs. Depending on number of objects, the migration may take up to 5 minutes, requiring planning for downtime.

View File

@ -843,7 +843,7 @@ DOCUMENTATION_ICON = None # Recommended size: 16x16
# 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
@ -956,7 +956,7 @@ if CONFIG_PATH_ENV_VAR in os.environ:
elif importlib.util.find_spec("superset_config") and not is_test():
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: