This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch refactor-tc
in repository https://gitbox.apache.org/repos/asf/superset.git
from 374e29f9e1 fix mock test
add d1294a06e6 chore: Refactor python libs (#22335)
add 3a4131ffc7 fix: Missing spacing in adhoc filters popover (#22346)
add ff1d29c539 chore: Bump holidays to 0.17.2 (#22354)
add 2731cbacbf fix: Broken effect in useCSSTextTruncation hook (#22324)
add 0dbaaad83d feat(explore-popover): Show disabled 'Save' button in
explore popover (#21318)
add 60a617eaba fix(bigquery): Properly display errors for BigQuery DBs
(#22349)
add 08f2c9b305 refactor(frontend): Make dashboard search box the first
filter (#19721)
add da64fa2525 fix: Reordering native filters ignored by filter bar
(#22362)
add e1ef9e0bba chore(docs): adding community calendar link to the
community page (#22347)
add 49f1cfc3f9 fix: Change dropdown in Alert/Report modal to use
javascript for conditional rendering instead of css (#22360)
add f64423a740 fix: Time filter position and click in Horizontal FilterBar
(#22338)
add 1edfd7e1e1 fix: DropdownContainer items width calculation (#22371)
add de4f50909e fix: Add tooltip to dropdown trigger in horizontal filter
bar (#22373)
add 3a442e09bf fix: Button resizing in horizontal filter bar (#22365)
add d41cb66737 fix(snowflake): Allow encrypted_extra field to be imported
(#22357)
add 3b45ad8b97 feat(dashboard): Add edit button to dashboard native
filters filter cards (#22364)
add 012d1300c1 chore(viz): rename v1 and v2 charts (#22369)
add a993c3ca2c fix(translations): French translation (typo fixes) (#21942)
add 861001251d fix(readme): link target and title (#19576)
add 368e7e6b08 fix: make sure that gsheets db connection form loads
properly (#22361)
add 6b4ab8a03c chore(plugin-chart-echarts): upgrade to echarts 5.4.1
(#22382)
add 85c9480791 fix: Update typo in docker-add-drivers.mdx (#21965)
add a5a0cf9ffb feat: Add oneLine mode to AsyncSelect (#22379)
add 605cfa045a perf: Prevent rerendering and re-querying metadata of
filters in horizontal bar (#22389)
add c3a6327ff0 fix: correct exception level in log and add error message
(#22381)
add 608ffcbfb9 fix: make database connection modal ace fields uncontrolled
(#22350)
add a235078e48 build(deps-dev): bump @types/node from 18.11.10 to 18.11.13
in /superset-websocket (#22386)
add d1989a4766 fix(report): Capture unexpected errors in report
screenshots. Fixes #21653 (#21724)
add e7b034c466 build(deps-dev): bump eslint from 7.32.0 to 8.29.0 in
/superset-websocket (#22322)
add 72fb270146 build(deps): bump express from 4.17.1 to 4.18.2 in /docs
(#22341)
add a748b687d8 chore(deps): bump css-what from 2.1.2 to 2.1.3 in
/superset-frontend (#21712)
add 481b020e9d chore: show database UUID in API (#22411)
add 92fc304099 build(deps): bump loader-utils from 2.0.2 to 2.0.4 in /docs
(#22134)
add 1014a327f5 fix(sqla): copy temporal range logic to helper (#22405)
add aa0cae9b49 feat(thumbnails): add support for user specific thumbs
(#22328)
add 90d79c78d2 fix(trino): Fix Trino timestamp conversion (#21737)
add ebaa94974b fix: Force configuration for SafeMarkdown component in
Handlebars (#22417)
add bb318cb137 fix: Allow empty CSS in Handlebars (#22422)
add 755c49017a Merge branch 'master' of https://github.com/apache/superset
into refactor-tc
No new revisions were added by this update.
Summary of changes:
README.md | 2 +-
UPDATING.md | 1 +
docs/docs/databases/docker-add-drivers.mdx | 2 +-
docs/docs/installation/cache.mdx | 7 +
docs/src/pages/community.tsx | 5 +
docs/yarn.lock | 505 ++++++-----
requirements/base.txt | 3 +-
requirements/testing.txt | 6 +-
setup.py | 4 +-
.../cypress/integration/chart_list/filter.test.ts | 4 +-
.../integration/dashboard/drilltodetail.test.ts | 4 +-
.../cypress/integration/explore/control.test.ts | 2 +-
superset-frontend/package-lock.json | 83 +-
.../legacy-plugin-chart-pivot-table/src/index.js | 2 +-
.../legacy-plugin-chart-treemap/src/index.js | 2 +-
.../legacy-preset-chart-nvd3/src/Area/index.js | 2 +-
.../legacy-preset-chart-nvd3/src/Bar/index.js | 2 +-
.../legacy-preset-chart-nvd3/src/Line/index.js | 2 +-
.../plugins/plugin-chart-echarts/package.json | 2 +-
.../src/Timeseries/Area/index.ts | 2 +-
.../src/Timeseries/Regular/Bar/index.ts | 4 +-
.../src/Timeseries/Regular/Line/index.ts | 2 +-
.../plugin-chart-echarts/src/Treemap/index.ts | 2 +-
.../src/components/ControlHeader/controlHeader.tsx | 4 +-
.../src/components/Handlebars/HandlebarsViewer.tsx | 15 +-
.../src/plugin/controls/style.tsx | 33 +-
.../plugin-chart-pivot-table/src/plugin/index.ts | 2 +-
superset-frontend/src/components/Badge/index.tsx | 4 +-
.../DropdownContainer/DropdownContainer.test.tsx | 13 +
.../src/components/DropdownContainer/index.tsx | 86 +-
.../src/components/Select/AsyncSelect.stories.tsx | 9 +
.../src/components/Select/AsyncSelect.test.tsx | 48 +
.../src/components/Select/AsyncSelect.tsx | 17 +-
superset-frontend/src/components/Select/styles.tsx | 2 +-
.../FilterBar/FilterConfigurationLink/index.tsx | 10 +-
.../FilterBar/FilterControls/FilterControl.tsx | 77 +-
.../FilterBar/FilterControls/FilterControls.tsx | 27 +-
.../FilterBar/FilterControls/FilterValue.tsx | 2 +-
.../FilterBar/FiltersDropdownContent/index.tsx | 2 +-
.../FiltersOutOfScopeCollapsible/index.tsx | 2 +-
.../nativeFilters/FilterCard/DependenciesRow.tsx | 1 +
.../nativeFilters/FilterCard/FilterCard.test.tsx | 171 ++--
.../nativeFilters/FilterCard/FilterCardContent.tsx | 12 +-
.../nativeFilters/FilterCard/NameRow.tsx | 53 +-
.../components/nativeFilters/FilterCard/Styles.ts | 5 +
.../components/nativeFilters/FilterCard/index.tsx | 7 +-
.../controls/ControlPopover/ControlPopover.tsx | 22 +-
.../controls/DateFilterControl/DateFilterLabel.tsx | 7 +
.../components/controls/DateFilterControl/types.ts | 1 +
.../DndColumnSelectControl/ColumnSelectPopover.tsx | 6 +-
.../AdhocFilterEditPopover.test.jsx | 3 +-
.../FilterControl/AdhocFilterEditPopover/index.jsx | 8 +-
.../AdhocMetricEditPopover.test.jsx | 6 +-
.../AdhocMetricEditPopover.test.tsx | 42 +-
.../MetricControl/AdhocMetricEditPopover/index.jsx | 6 +-
.../VizTypeControl/VizTypeControl.test.tsx | 8 +-
.../filters/components/Time/TimeFilterPlugin.tsx | 2 +
.../src/filters/components/Time/transformProps.ts | 1 +
.../src/filters/components/Time/types.ts | 1 +
.../hooks/useTruncation/useCSSTextTruncation.ts | 23 +-
.../src/views/CRUD/alert/AlertReportModal.test.jsx | 12 +-
.../src/views/CRUD/alert/AlertReportModal.test.tsx | 34 +
.../src/views/CRUD/alert/AlertReportModal.tsx | 66 +-
.../src/views/CRUD/dashboard/DashboardList.tsx | 14 +-
.../DatabaseModal/DatabaseConnectionForm/index.tsx | 125 ++-
.../data/database/DatabaseModal/ExtraOptions.tsx | 35 +-
.../data/database/DatabaseModal/index.test.tsx | 90 +-
.../CRUD/data/database/DatabaseModal/index.tsx | 37 +-
superset-websocket/package-lock.json | 971 +++++++++++----------
superset-websocket/package.json | 4 +-
superset/charts/api.py | 35 +-
superset/config.py | 64 +-
superset/dashboards/api.py | 18 +-
superset/databases/api.py | 2 +
superset/db_engine_specs/bigquery.py | 2 +-
superset/db_engine_specs/trino.py | 25 +
superset/models/core.py | 7 +-
superset/models/dashboard.py | 20 +-
superset/models/helpers.py | 22 +-
superset/models/slice.py | 21 +-
superset/reports/commands/alert.py | 10 +-
superset/reports/commands/exceptions.py | 4 -
superset/reports/commands/execute.py | 32 +-
superset/reports/types.py | 10 -
superset/reports/utils.py | 71 --
.../common.py => superset/tasks/exceptions.py | 9 +-
superset/tasks/scheduler.py | 7 +-
superset/tasks/thumbnails.py | 52 +-
superset/{reports => tasks}/types.py | 25 +-
superset/tasks/utils.py | 94 ++
.../{advanced_data_type => thumbnails}/__init__.py | 0
superset/thumbnails/digest.py | 83 ++
superset/translations/fr/LC_MESSAGES/messages.json | 10 +-
superset/utils/date_parser.py | 4 +-
superset/utils/webdriver.py | 70 +-
tests/integration_tests/databases/api_tests.py | 1 +
.../db_engine_specs/trino_tests.py | 30 +
tests/integration_tests/reports/alert_tests.py | 29 +-
tests/integration_tests/reports/commands_tests.py | 6 +-
tests/integration_tests/reports/scheduler_tests.py | 32 +
tests/integration_tests/thumbnails_tests.py | 253 ++++--
tests/unit_tests/db_engine_specs/test_bigquery.py | 10 +-
tests/unit_tests/reports/__init__.py | 16 -
tests/unit_tests/reports/test_utils.py | 178 ----
.../unit_tests/tasks}/__init__.py | 0
tests/unit_tests/tasks/test_utils.py | 323 +++++++
.../unit_tests/thumbnails}/__init__.py | 0
tests/unit_tests/thumbnails/test_digest.py | 258 ++++++
108 files changed, 2969 insertions(+), 1640 deletions(-)
delete mode 100644 superset/reports/utils.py
copy tests/unit_tests/fixtures/common.py => superset/tasks/exceptions.py (80%)
copy superset/{reports => tasks}/types.py (50%)
create mode 100644 superset/tasks/utils.py
copy superset/{advanced_data_type => thumbnails}/__init__.py (100%)
create mode 100644 superset/thumbnails/digest.py
delete mode 100644 tests/unit_tests/reports/__init__.py
delete mode 100644 tests/unit_tests/reports/test_utils.py
copy {superset/advanced_data_type => tests/unit_tests/tasks}/__init__.py (100%)
create mode 100644 tests/unit_tests/tasks/test_utils.py
copy {superset/advanced_data_type => tests/unit_tests/thumbnails}/__init__.py
(100%)
create mode 100644 tests/unit_tests/thumbnails/test_digest.py