This is an automated email from the ASF dual-hosted git repository.
diegopucci pushed a change to branch chore/cypress-runtime-enhancements
in repository https://gitbox.apache.org/repos/asf/superset.git
from 1c4d440794 Additional sample data management enhancements
new 106c917f7b Clean up
new 1cc7d74b40 Minor enhancements
new 39b74287e2 Add codeowner
new 4559fe6337 Move markdown in editmode
new 05049dee69 Improve test reliability
add 04dd8d414d fix(celery cache warmup): add auth and use warm_up_cache
endpoint (#21076)
add f2d67f75d0 Revert "ok (#21116)" (#21247)
add 05bdaf2376 feat(helm): Added env variable SERVER_WORKER_AMOUNT (#21236)
add ad6b98c2b7 fix(sqllab): update persistent queryEditor keys (#21246)
add 1aa1864d13 chore: missing IconType on Icons (#21218)
add 05354a96bf feat: filter with created_by for charts and dashboards
(#21199)
add 944808a0ce fix: Add french translation missing (#20061)
add 034ee1c3c1 fix(sqllab): unable to create new tabs (#21260)
add 6223042050 fix: SQLAlchemy coercing subquery warning on RLS (#21257)
add 0c87ff783a fix: Table content disappears when switching between tabs
(#21251)
add 3f2e894af3 fix: dataset name change and permission change (#21161)
add 9c4ae2ab7e fix: bump min version of elastic search (#21274)
add a7fe4850ed fix: dataset exists error in save Dataset modal (#21244)
add 4b221378cc fix: Revert "#20095 - fix(database): make to display
validation error msg when all … (#21277)
add 5233a9027f chore(sqllab): Remove max-width on side panel (#21280)
add 6d65f806d8 chore: updating thrift (#20776)
add 994f327157 chore: Renaming Line Chart to Line Chart v2 (#21278)
add 9fd752057e feat: adds TLS certificate validation option for SMTP
(#21272)
add ad34f9d740 chore: update release docs (#21270)
add eb805682e2 feat(embedded): provides filter bar visibility setting on
embedded dashboard (#21069) (#21070)
add 076af6003a fix(explore): Incorrect conversion from simple bool filter
to custom sql (#21293)
add c4b6fc5a6a chore: migrate available_domains to api/v1 (#21173)
add 742dbdd0a5 fix: Fix console errors about feature flags when running
tests (#21275)
add c3a00d43d0 fix(explore): Time column label not formatted when
GENERIC_X_AXES enabled (#21294)
add 1aeb8fd6b7 fix(plugin-chart-echarts): show zero value in tooltip
(#21296)
add 65a11b6f45 refactor: introduce react-query on api resource hook
(#21240)
add 222f1e7ea8 fix(sqllab): invalid table metadata request (#21304)
add 2aa3bb6c00 fix(utils): use getaddrinfo for hostname check to support
ipv6 (#21042)
add 38782bb98a fix(utils): use getaddrinfo response to support dual-stack
port checks (#21043)
add 2d70ef670e feat(sqllab): Make LeftBar width resizable (#21300)
add f71ee2e7bc fix: flaky test when sync metadata (#21306)
add 60db0bb47e chore: Bump pandas to 1.4.4 (#21285)
add fbe980779e feat: Adds a helper text option to the Select component
(#21269)
add 99a4f05069 fix: DB connection modal connect bug (#21299)
add 34a79add04 feat: filter parameters from DB API (#21248)
add 1cc2148538 fix(ViewQuery-Modal): Copy icon is out of box when resize
query modal (#21243)
add 79525dfaf2 feat(explore): standardized controls for time pivot chart
(#21321)
add d994babe75 fix(dashboard): padding between rows within tabs (#21323)
add b71182f013 chore: refactor ChartHolder to typescript + tests (#20910)
add c3f8417139 fix: disallow users from viewing other user's profile on
config (#21302)
new d179a9510d Merge branch 'master' of https://github.com/apache/superset
into chore/cypress-runtime-enhancements
new a9eb065a1f Refactor fav/unfav
new ac2219aea3 Lint
The 8 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/CODEOWNERS | 2 +-
RELEASING/README.md | 12 +-
docker/pythonpath_dev/superset_config.py | 10 +
docs/docs/installation/alerts-reports.mdx | 1 +
helm/superset/Chart.yaml | 2 +-
helm/superset/values.yaml | 14 +-
requirements/base.txt | 2 +-
requirements/development.txt | 2 +-
setup.py | 8 +-
superset-embedded-sdk/README.md | 7 +-
superset-embedded-sdk/src/const.ts | 4 +
superset-embedded-sdk/src/index.ts | 21 +-
.../chart_list/chartlist.applitools.test.ts | 2 +-
.../cypress/integration/chart_list/filter.test.ts | 10 +-
.../{controls.test.ts => _skip.controls.test.ts} | 8 +-
.../{filter.test.ts => _skip.filter.test.ts} | 9 +-
.../{key_value.test.ts => _skip.key_value.test.ts} | 8 +-
...url_params.test.ts => _skip.url_params.test.ts} | 12 +-
.../cypress/integration/dashboard/actions.test.js} | 35 +-
.../dashboard/dashboard.applitools.test.ts | 2 +-
.../integration/dashboard/dashboard.helper.ts | 23 -
.../integration/dashboard/drilltodetail.test.ts | 196 ++---
.../{editsave.test.ts => editmode.test.ts} | 208 +++--
.../cypress/integration/dashboard/fav_star.test.js | 64 --
.../cypress/integration/dashboard/load.test.ts | 2 +-
.../cypress/integration/dashboard/markdown.test.ts | 72 --
.../integration/dashboard/nativeFilters.test.ts | 20 +-
.../cypress/integration/dashboard/utils.ts | 43 +-
.../integration/dashboard_list/list.test.ts | 6 +-
.../cypress-base/cypress/support/index.ts | 82 +-
.../cypress-base/cypress/utils/index.ts | 137 +--
.../cypress-base/cypress/utils/urls.ts | 3 +-
superset-frontend/cypress-base/package-lock.json | 11 +
superset-frontend/cypress-base/package.json | 1 +
superset-frontend/package-lock.json | 96 +++
superset-frontend/package.json | 1 +
.../test/utils/featureFlag.test.ts | 48 +-
.../src/TimePivot/controlPanel.ts | 5 +
.../src/MixedTimeseries/transformProps.ts | 2 +-
.../src/Timeseries/Regular/Line/index.ts | 2 +-
.../plugin-chart-echarts/src/utils/forecast.ts | 5 +-
.../test/utils/forecast.test.ts | 223 +++--
superset-frontend/spec/helpers/shim.ts | 1 +
superset-frontend/spec/helpers/testing-library.tsx | 7 +
superset-frontend/src/SqlLab/App.jsx | 15 +-
superset-frontend/src/SqlLab/actions/sqlLab.js | 10 +-
.../src/SqlLab/actions/sqlLab.test.js | 74 +-
.../SqlLab/components/SaveDatasetModal/index.tsx | 5 +-
.../SqlLab/components/SqlEditor/SqlEditor.test.jsx | 9 +-
.../src/SqlLab/components/SqlEditor/index.jsx | 54 +-
.../SqlEditorLeftBar/SqlEditorLeftBar.test.jsx | 124 +--
.../SqlLab/components/SqlEditorLeftBar/index.tsx | 14 +-
.../TabbedSqlEditors/TabbedSqlEditors.test.jsx | 9 +-
.../SqlLab/components/TabbedSqlEditors/index.jsx | 4 +-
.../src/SqlLab/components/TableElement/index.tsx | 1 +
superset-frontend/src/SqlLab/constants.ts | 1 +
superset-frontend/src/SqlLab/main.less | 5 +-
superset-frontend/src/SqlLab/reducers/sqlLab.js | 20 +-
.../src/SqlLab/reducers/sqlLab.test.js | 22 +
.../src/SqlLab/utils/newQueryTabName.ts | 2 +-
.../SqlLab/utils/reduxStateToLocalStorageHelper.js | 2 +-
.../src/components/Chart/DrillDetailModal.tsx | 7 +-
.../components/Datasource/DatasourceModal.test.jsx | 9 +-
.../components/ErrorMessage/ErrorAlert.test.tsx | 6 -
.../src/components/ErrorMessage/ErrorAlert.tsx | 19 +-
.../ErrorMessage/ErrorMessageWithStackTrace.tsx | 3 -
.../src/components/FilterableTable/index.tsx | 2 +
superset-frontend/src/components/Icons/index.tsx | 2 +-
superset-frontend/src/components/ListView/types.ts | 2 +
superset-frontend/src/components/Modal/Modal.tsx | 48 +-
.../src/components/ResizableSidebar/index.tsx | 82 ++
.../useStoredSidebarWidth.test.ts} | 41 +-
.../ResizableSidebar/useStoredSidebarWidth.ts} | 28 +-
.../src/components/Select/AsyncSelect.test.tsx | 74 +-
.../src/components/Select/AsyncSelect.tsx | 30 +-
.../src/components/Select/Select.test.tsx | 14 +
superset-frontend/src/components/Select/Select.tsx | 28 +-
.../src/components/TableSelector/index.tsx | 132 ++-
.../src/dashboard/components/AnchorLink/index.tsx | 3 +-
.../DashboardBuilder/DashboardBuilder.test.tsx | 12 +-
.../DashboardBuilder/DashboardBuilder.tsx | 88 +-
.../components/SliceHeaderControls/index.tsx | 1 +
.../src/dashboard/components/dnd/DragDroppable.jsx | 20 +-
.../components/gridComponents/ChartHolder.jsx | 420 ----------
.../components/gridComponents/ChartHolder.test.jsx | 138 ---
.../components/gridComponents/ChartHolder.test.tsx | 360 +++++++-
.../components/gridComponents/ChartHolder.tsx | 333 ++++++++
.../src/dashboard/stylesheets/components/row.less | 6 +
superset-frontend/src/dashboard/types.ts | 5 +
.../util/useFilterFocusHighlightStyles.test.tsx | 209 +++++
.../util/useFilterFocusHighlightStyles.ts | 91 ++
superset-frontend/src/hooks/apiResources/index.ts | 1 +
.../src/hooks/apiResources/tables.test.ts | 221 +++++
superset-frontend/src/hooks/apiResources/tables.ts | 97 +++
superset-frontend/src/types/Database.ts | 2 +-
superset-frontend/src/utils/common.js | 4 +-
superset-frontend/src/utils/common.test.jsx | 9 +-
superset-frontend/src/utils/localStorageHelpers.ts | 2 +
superset-frontend/src/views/App.tsx | 43 +-
.../src/views/CRUD/chart/ChartList.tsx | 22 +-
.../src/views/CRUD/dashboard/DashboardList.tsx | 10 +-
.../DatabaseConnectionForm/EncryptedField.tsx | 3 +-
.../data/database/DatabaseModal/ExtraOptions.tsx | 6 +-
.../data/database/DatabaseModal/index.test.jsx | 3 +
.../CRUD/data/database/DatabaseModal/index.tsx | 71 +-
.../CRUD/data/database/DatabaseModal/styles.ts | 3 +-
.../src/views/CRUD/data/database/types.ts | 2 +-
.../Item.tsx => views/QueryProvider.tsx} | 43 +-
.../__init__.py | 0
superset/available_domains/api.py | 75 ++
.../available_domains/schemas.py | 11 +-
superset/charts/api.py | 2 +
superset/charts/filters.py | 16 +
superset/config.py | 6 +-
superset/connectors/sqla/models.py | 7 +-
superset/constants.py | 2 +
superset/dashboards/api.py | 3 +-
superset/dashboards/filters.py | 17 +-
superset/databases/api.py | 2 +-
superset/databases/commands/create.py | 6 +
superset/databases/commands/test_connection.py | 16 +-
superset/databases/commands/update.py | 42 +
superset/databases/commands/validate.py | 18 +-
superset/databases/dao.py | 24 +
superset/databases/schemas.py | 17 +-
superset/datasets/commands/create.py | 11 +-
superset/datasets/commands/delete.py | 24 -
superset/db_engine_specs/base.py | 34 +-
superset/db_engine_specs/bigquery.py | 43 +-
superset/db_engine_specs/gsheets.py | 41 +-
superset/db_engine_specs/presto.py | 2 +-
superset/db_engine_specs/trino.py | 5 +-
superset/initialization/__init__.py | 2 +
superset/models/core.py | 44 +-
superset/models/helpers.py | 2 +-
superset/security/manager.py | 641 ++++++++++----
superset/tasks/cache.py | 98 +--
superset/templates/superset/basic.html | 1 -
superset/translations/fr/LC_MESSAGES/messages.json | 193 ++++-
superset/translations/fr/LC_MESSAGES/messages.po | 356 +++++++-
superset/translations/messages.pot | 10 +
superset/utils/core.py | 34 +-
superset/utils/network.py | 25 +-
.../utils/pandas_postprocessing/contribution.py | 3 -
superset/views/base.py | 1 +
superset/views/core.py | 14 +-
.../available_domains}/__init__.py | 0
.../client.py => available_domains/api_tests.py} | 16 +-
tests/integration_tests/charts/api_tests.py | 28 +
tests/integration_tests/core_tests.py | 12 +
tests/integration_tests/dashboards/api_tests.py | 36 +
tests/integration_tests/databases/api_tests.py | 6 +-
tests/integration_tests/datasets/api_tests.py | 21 +-
.../db_engine_specs/postgres_tests.py | 10 +-
.../db_engine_specs/trino_tests.py | 12 +-
tests/integration_tests/email_tests.py | 29 +-
tests/integration_tests/security_tests.py | 931 ++++++++++++++++-----
tests/integration_tests/sqla_models_tests.py | 7 +-
tests/integration_tests/strategy_tests.py | 141 +---
tests/integration_tests/superset_test_config.py | 2 +
tests/unit_tests/conftest.py | 4 +
tests/unit_tests/databases/api_test.py | 108 ++-
tests/unit_tests/db_engine_specs/test_bigquery.py | 36 +-
tests/unit_tests/db_engine_specs/test_gsheets.py | 40 +-
164 files changed, 5395 insertions(+), 2447 deletions(-)
rename
superset-frontend/cypress-base/cypress/integration/dashboard/{controls.test.ts
=> _skip.controls.test.ts} (95%)
rename
superset-frontend/cypress-base/cypress/integration/dashboard/{filter.test.ts =>
_skip.filter.test.ts} (93%)
rename
superset-frontend/cypress-base/cypress/integration/dashboard/{key_value.test.ts
=> _skip.key_value.test.ts} (93%)
rename
superset-frontend/cypress-base/cypress/integration/dashboard/{url_params.test.ts
=> _skip.url_params.test.ts} (88%)
copy
superset-frontend/{plugins/plugin-chart-echarts/test/utils/controls.test.ts =>
cypress-base/cypress/integration/dashboard/actions.test.js} (55%)
rename
superset-frontend/cypress-base/cypress/integration/dashboard/{editsave.test.ts
=> editmode.test.ts} (65%)
delete mode 100644
superset-frontend/cypress-base/cypress/integration/dashboard/fav_star.test.js
delete mode 100644
superset-frontend/cypress-base/cypress/integration/dashboard/markdown.test.ts
create mode 100644 superset-frontend/src/components/ResizableSidebar/index.tsx
rename
superset-frontend/src/{dashboard/components/DashboardBuilder/useStoredFilterBarWidth.test.ts
=> components/ResizableSidebar/useStoredSidebarWidth.test.ts} (68%)
rename
superset-frontend/src/{dashboard/components/DashboardBuilder/useStoredFilterBarWidth.ts
=> components/ResizableSidebar/useStoredSidebarWidth.ts} (62%)
delete mode 100644
superset-frontend/src/dashboard/components/gridComponents/ChartHolder.jsx
delete mode 100644
superset-frontend/src/dashboard/components/gridComponents/ChartHolder.test.jsx
create mode 100644
superset-frontend/src/dashboard/components/gridComponents/ChartHolder.tsx
create mode 100644
superset-frontend/src/dashboard/util/useFilterFocusHighlightStyles.test.tsx
create mode 100644
superset-frontend/src/dashboard/util/useFilterFocusHighlightStyles.ts
create mode 100644 superset-frontend/src/hooks/apiResources/tables.test.ts
create mode 100644 superset-frontend/src/hooks/apiResources/tables.ts
copy superset-frontend/src/{components/Pagination/Item.tsx =>
views/QueryProvider.tsx} (62%)
copy superset/{advanced_data_type => available_domains}/__init__.py (100%)
create mode 100644 superset/available_domains/api.py
copy docs/static/.asf.yaml => superset/available_domains/schemas.py (73%)
copy {superset/advanced_data_type =>
tests/integration_tests/available_domains}/__init__.py (100%)
copy tests/integration_tests/{fixtures/client.py =>
available_domains/api_tests.py} (64%)