diff --git a/RESOURCES/FEATURE_FLAGS.md b/RESOURCES/FEATURE_FLAGS.md index 3374669870bce..13f4754f2978c 100644 --- a/RESOURCES/FEATURE_FLAGS.md +++ b/RESOURCES/FEATURE_FLAGS.md @@ -57,7 +57,6 @@ These features are **finished** but currently being tested. They are usable, but - DASHBOARD_NATIVE_FILTERS - DYNAMIC_PLUGINS: [(docs)](https://superset.apache.org/docs/installation/running-on-kubernetes) - ENABLE_JAVASCRIPT_CONTROLS -- GENERIC_CHART_AXES - GLOBAL_ASYNC_QUERIES [(docs)](https://github.com/apache/superset/blob/master/CONTRIBUTING.md#async-chart-queries) - RLS_IN_SQLLAB - SSH_TUNNELING [(docs)](https://superset.apache.org/docs/installation/setup-ssh-tunneling) @@ -98,3 +97,4 @@ These features flags currently default to True and **will be removed in a future - ALLOW_DASHBOARD_DOMAIN_SHARDING - DISPLAY_MARKDOWN_HTML - FORCE_DATABASE_CONNECTIONS_SSL +- GENERIC_CHART_AXES diff --git a/UPDATING.md b/UPDATING.md index 3496742bee131..1a561aed40832 100644 --- a/UPDATING.md +++ b/UPDATING.md @@ -24,6 +24,7 @@ assists people when migrating to a new version. ## Next +- [23652](https://github.com/apache/superset/pull/23652) Enables GENERIC_CHART_AXES feature flag by default. - [23226](https://github.com/apache/superset/pull/23226) Migrated endpoint `/estimate_query_cost/` to `/api/v1/sqllab/estimate/`. Corresponding permissions are can estimate query cost on SQLLab. Make sure you add/replace the necessary permissions on any custom roles you may have. - [22809](https://github.com/apache/superset/pull/22809): Migrated endpoint `/superset/sql_json` and `/superset/results/` to `/api/v1/sqllab/execute/` and `/api/v1/sqllab/results/` respectively. Corresponding permissions are `can sql_json on Superset` to `can execute on SQLLab`, `can results on Superset` to `can results on SQLLab`. Make sure you add/replace the necessary permissions on any custom roles you may have. - [22931](https://github.com/apache/superset/pull/22931): Migrated endpoint `/superset/get_or_create_table/` to `/api/v1/dataset/get_or_create/`. Corresponding permissions are `can get or create table on Superset` to `can get or create dataset on Dataset`. Make sure you add/replace the necessary permissions on any custom roles you may have. diff --git a/superset-frontend/cypress-base/cypress/integration/explore/visualizations/table.test.ts b/superset-frontend/cypress-base/cypress/integration/explore/visualizations/table.test.ts index 46030bfb35949..7db1dbe8ef95a 100644 --- a/superset-frontend/cypress-base/cypress/integration/explore/visualizations/table.test.ts +++ b/superset-frontend/cypress-base/cypress/integration/explore/visualizations/table.test.ts @@ -53,7 +53,7 @@ describe('Visualization > Table', () => { granularity_sqla: undefined, metrics: ['count'], }); - cy.get('[data-test=granularity_sqla] .column-option-label').contains('ds'); + cy.get('[data-test=adhoc_filters]').contains('ds'); }); it('Format non-numeric metrics correctly', () => { @@ -126,7 +126,7 @@ describe('Visualization > Table', () => { // should handle frontend sorting correctly cy.get('.chart-container th').contains('name').click(); cy.get('.chart-container td:nth-child(2):eq(0)').contains('Adam'); - cy.get('.chart-container th').contains('Time').click().click(); + cy.get('.chart-container th').contains('ds').click().click(); cy.get('.chart-container td:nth-child(1):eq(0)').contains('2008'); }); diff --git a/superset/config.py b/superset/config.py index e26baa9a4e05b..f67b2f8b81606 100644 --- a/superset/config.py +++ b/superset/config.py @@ -460,7 +460,7 @@ def _try_json_readsha(filepath: str, length: int) -> Optional[str]: # This could cause the server to run out of memory or compute. "ALLOW_FULL_CSV_EXPORT": False, "UX_BETA": False, - "GENERIC_CHART_AXES": False, + "GENERIC_CHART_AXES": True, "ALLOW_ADHOC_SUBQUERY": False, "USE_ANALAGOUS_COLORS": False, "DASHBOARD_EDIT_CHART_IN_NEW_TAB": False,