This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch ssh-tunneling-commands
in repository https://gitbox.apache.org/repos/asf/superset.git
from 6c59663638 feat(ssh_tunnel): Create command & exceptions (#22148)
add 888f43c6ad chore: rename 'Change dataset' action to 'Swap dataset'
(#22197)
add 1809d2b957 fix(explore): Value undefined and Unhashable type errors
(#22207)
add 3bc0865d90 fix: Drill to detail blocked by tooltip (#22082)
add 2e650eaebe fix(plugin-chart-echarts): tooltip overflow bug (#22218)
add 7408676019 build(docker): Push websocket image (#22181)
add 1831e8c927 fix: (dashboard) Adds optional chaining to avoid runtime
error (#22213)
add b2fcdc56c1 refactor: restructure shared-contrls modules (#22224)
add 64939f2872 feat: Make filters and dividers display horizontally in
horizontal native filters filter bar (#22169)
add 9578a443ef feat(chart): Added Latvia to countries map (#22220)
add d1e576cbd1 fix(explore): Prevent infinite rerenders when editing
dataset (#22219)
add eba7b3d074 feat: Adds virtualization option to antd based Table
component (#22135)
add a8bc53d805 fix(reports): force data generation in csv reports (#22196)
add cc2334e58c chore(dashboard): Ignore empty json value for overwrite
confirm (#22214)
add 22fab5e58c feat: Axis sort in the Bar Chart V2 (#21993)
add 0fdc520797 fix: the TimePicker overlay the AdhocFilter (#22234)
add 940a17514f fix(generic-chart-axes): apply time filter on all target
column types (#22238)
add 4b96474d6c fix(dashboard): Fix filter card positioning for horizontal
native filters (#22212)
add 93158ea649 fix(dashboard): Fix hover labels for horizontal overflow
native filter dividers (#22210)
add 435926b89e fix(dashboard): Add correct icon, label and badge to
horizontal native filters dropdown button (#22211)
add 79e7980791 chore: Add a migration that removes filter_bar_orientation
from dashboard's json_metadata (#22248)
add 389e44e1c5 fix: Apply border radius and fix height for MetadataBar
(#22010)
add fb3e717573 fix(file_upload): Fix columnar and Excel upload forms
(#22249)
add a642d126f8 fix(dashboard): Fix FilterWithDataMask typing and add null
check (#22260)
add 969c9634f6 fix(dashboard): Force native filters into vertical
orientation when FF off (#22265)
add 4657250bcf chore(dashboard): Fix missing React key errors (#22266)
add 91d19056cf fix(dashboard): Change horizontal filter bar divider
truncation logic (#22252)
add b1f8fd4f64 chore(superset-ui): remove deprecated fields from
QueryObject (#22272)
add 2fd0a6146e feat: CSV File Upload form updates (Grouping with
Collapse/Expand) (#21992)
add 6ead8afe28 build(deps-dev): bump @typescript-eslint/parser from 4.19.0
to 5.45.0 in /superset-websocket (#22255)
add 5de98c31fd chore: bump clickhouse to 0.4.6 (#22279)
add 436b790998 docs: Add Oslandia to superset users (#22242)
add 32ccb97c9b fix: allow datasource imports on Windows (#22264)
add e80e10ec06 feat: add risingwave.py in db engine specs (#22123)
add cd97128733 Merge branch 'master' of https://github.com/apache/superset
into ssh-tunneling-commands
No new revisions were added by this update.
Summary of changes:
.github/workflows/docker_build_push.sh | 1 +
RESOURCES/INTHEWILD.md | 1 +
docs/docs/databases/risingwave.mdx | 17 +
setup.py | 2 +-
superset-frontend/.storybook/main.js | 4 +-
.../superset-ui-chart-controls/src/index.ts | 8 +-
.../src/operators/sortOperator.ts | 42 ++-
.../src/sections/echartsTimeSeriesQuery.tsx | 64 ++--
.../src/shared-controls/customControls.tsx | 141 ++++++++
.../src/shared-controls/emitFilterControl.tsx | 37 --
.../src/shared-controls}/index.ts | 7 +-
.../src/shared-controls/legacySortBy.tsx | 37 --
.../{index.tsx => sharedControls.tsx} | 4 +-
.../superset-ui-chart-controls/src/types.ts | 3 +-
.../src/utils/expandControlConfig.tsx | 3 +-
.../test/operators/sortOperator.test.ts | 121 +++----
.../superset-ui-core/src/query/buildQueryObject.ts | 21 +-
.../superset-ui-core/src/query/getColumnLabel.ts | 4 +-
.../packages/superset-ui-core/src/query/index.ts | 7 +-
.../superset-ui-core/src/query/normalizeOrderBy.ts | 10 +-
.../superset-ui-core/src/query/types/Dashboard.ts | 2 +
.../src/query/types/PostProcessing.ts | 4 +-
.../superset-ui-core/src/query/types/Query.ts | 6 -
.../src/query/types/QueryFormData.ts | 8 +-
.../test/query/buildQueryObject.test.ts | 43 ++-
.../test/query/normalizeOrderBy.test.ts | 8 +-
.../test/query/types/Metric.test.ts | 6 +-
.../test/query/types/PostProcessing.test.ts | 2 +-
.../scripts/Country Map GeoJSON Generator.ipynb | 1 +
.../src/countries.ts | 2 +
.../src/countries/latvia.geojson | 125 +++++++
.../src/BigNumber/BigNumberTotal/transformProps.ts | 9 +-
.../src/BigNumber/BigNumberViz.tsx | 70 ++--
.../BigNumberWithTrendline/transformProps.ts | 14 +-
.../plugin-chart-echarts/src/BigNumber/types.ts | 60 +++-
.../src/BoxPlot/EchartsBoxPlot.tsx | 2 +
.../plugin-chart-echarts/src/BoxPlot/buildQuery.ts | 2 +-
.../src/BoxPlot/controlPanel.ts | 2 +-
.../src/BoxPlot/transformProps.ts | 10 +-
.../plugin-chart-echarts/src/BoxPlot/types.ts | 21 +-
.../src/Funnel/EchartsFunnel.tsx | 2 +
.../src/Funnel/transformProps.ts | 8 +-
.../plugin-chart-echarts/src/Funnel/types.ts | 22 +-
.../src/Gauge/EchartsGauge.tsx | 2 +
.../src/Gauge/transformProps.ts | 8 +-
.../plugin-chart-echarts/src/Gauge/types.ts | 19 +-
.../src/Graph/EchartsGraph.tsx | 2 +
.../src/Graph/transformProps.ts | 14 +-
.../plugin-chart-echarts/src/Graph/types.ts | 29 +-
.../src/MixedTimeseries/EchartsMixedTimeseries.tsx | 6 +-
.../src/MixedTimeseries/transformProps.ts | 14 +-
.../src/MixedTimeseries/types.ts | 43 +--
.../plugin-chart-echarts/src/Pie/EchartsPie.tsx | 2 +
.../plugin-chart-echarts/src/Pie/transformProps.ts | 8 +-
.../plugins/plugin-chart-echarts/src/Pie/types.ts | 24 +-
.../src/Radar/EchartsRadar.tsx | 2 +
.../plugin-chart-echarts/src/Radar/buildQuery.ts | 4 +-
.../src/Radar/transformProps.ts | 8 +-
.../plugin-chart-echarts/src/Radar/types.ts | 19 +-
.../src/Timeseries/EchartsTimeseries.tsx | 5 +-
.../src/Timeseries/Regular/Bar/controlPanel.tsx | 37 +-
.../src/Timeseries/buildQuery.ts | 2 +
.../src/Timeseries/transformProps.ts | 10 +-
.../plugin-chart-echarts/src/Timeseries/types.ts | 40 ++-
.../plugin-chart-echarts/src/Tree/EchartsTree.tsx | 12 +-
.../plugin-chart-echarts/src/Tree/constants.ts | 16 +
.../plugin-chart-echarts/src/Tree/controlPanel.tsx | 2 +-
.../src/Tree/transformProps.ts | 20 +-
.../plugins/plugin-chart-echarts/src/Tree/types.ts | 34 +-
.../src/Treemap/EchartsTreemap.tsx | 14 +-
.../src/Treemap/transformProps.ts | 8 +-
.../plugin-chart-echarts/src/Treemap/types.ts | 11 +-
.../plugin-chart-echarts/src/components/Echart.tsx | 6 +
.../plugins/plugin-chart-echarts/src/constants.ts | 15 +-
.../plugins/plugin-chart-echarts/src/defaults.ts | 56 ++-
.../plugins/plugin-chart-echarts/src/types.ts | 45 ++-
.../src/utils/eventHandlers.ts | 13 +-
.../plugin-chart-echarts/src/utils/tooltip.ts | 79 +++++
.../test/BigNumber/transformProps.test.ts | 8 +-
.../test/Graph/transformProps.test.ts | 49 ++-
.../test/MixedTimeseries/buildQuery.test.ts | 9 +-
.../test/Timeseries/buildQuery.test.ts | 4 +-
.../test/Tree/transformProps.test.ts | 11 +-
.../src/plugin/buildQuery.ts | 2 +-
.../src/plugin/controlPanel.tsx | 2 +-
.../plugins/plugin-chart-table/src/buildQuery.ts | 2 +-
.../plugin-chart-table/src/controlPanel.tsx | 2 +-
superset-frontend/spec/fixtures/mockStore.js | 5 +
.../Datasource/ChangeDatasourceModal.tsx | 2 +-
.../src/components/DropdownContainer/index.tsx | 71 ++--
.../src/components/MetadataBar/MetadataBar.tsx | 6 +
.../src/components/Table/Table.overview.mdx | 81 ++++-
.../src/components/Table/Table.stories.tsx | 277 +++++++++++----
.../src/components/Table/VirtualTable.tsx | 247 ++++++++++++++
superset-frontend/src/components/Table/index.tsx | 175 ++++++++--
.../DashboardBuilder/DashboardBuilder.tsx | 5 +-
.../FilterBar/ActionButtons/index.tsx | 2 +-
.../FilterBar/FilterControls/FilterControl.tsx | 167 ++++++++-
.../FilterBar/FilterControls/FilterControls.tsx | 258 ++++++++------
.../FilterControls/FilterDivider.stories.tsx | 122 +++++++
.../FilterControls/FilterDivider.test.tsx | 135 ++++++++
.../FilterBar/FilterControls/FilterDivider.tsx | 157 +++++++++
.../FilterBar/FilterControls/FilterValue.tsx | 15 +-
.../FilterBar/FilterControls/types.ts | 13 +-
.../FilterBar/FiltersDropdownContent/index.tsx} | 37 +-
.../FiltersOutOfScopeCollapsible/index.tsx | 69 ++++
.../nativeFilters/FilterBar/Horizontal.tsx | 10 +-
.../nativeFilters/FilterBar/Vertical.tsx | 30 +-
.../FilterBar/useFilterControlFactory.tsx | 88 +++++
.../nativeFilters/FilterCard/ScopeRow.tsx | 4 +-
.../components/nativeFilters/FilterCard/index.tsx | 3 +-
.../components/nativeFilters/FilterCard/types.ts | 7 +
.../dashboard/components/nativeFilters/state.ts | 9 +-
.../dashboard/components/nativeFilters/utils.ts | 14 +-
superset-frontend/src/dashboard/styles.ts | 9 +
.../src/dashboard/util/getOverwriteItems.ts | 6 +-
.../explore/components/ControlPanelsContainer.tsx | 50 ++-
.../DatasourceControl/DatasourceControl.test.tsx | 8 +-
.../controls/DatasourceControl/index.jsx | 4 +-
.../controls/DateFilterControl/DateFilterLabel.tsx | 3 +-
.../components/controls/XAxisSortControl.tsx} | 30 +-
.../src/explore/components/controls/index.js | 2 +
.../src/filters/components/Range/buildQuery.ts | 1 -
.../filters/components/Select/buildQuery.test.ts | 10 +-
.../src/filters/components/Select/buildQuery.ts | 2 +-
superset-frontend/src/filters/components/types.ts | 3 +
superset-frontend/src/hooks/useTruncation/index.ts | 90 +----
.../hooks/useTruncation/useCSSTextTruncation.ts | 64 ++++
.../{index.ts => useChildElementTruncation.ts} | 13 +-
superset-websocket/package-lock.json | 378 ++++++++++++++++-----
superset-websocket/package.json | 2 +-
superset/charts/data/api.py | 6 +
superset/charts/schemas.py | 1 +
superset/commands/importers/v1/utils.py | 6 +-
superset/connectors/base/models.py | 3 +
superset/connectors/sqla/models.py | 1 +
.../{cockroachdb.py => risingwave.py} | 6 +-
..._4ce1d9b25135_remove_filter_bar_orientation.py} | 64 ++--
superset/models/helpers.py | 4 +
.../templates/superset/form_view/csv_macros.html | 75 ++++
.../templates/superset/form_view/csv_scripts.html | 37 ++
.../form_view/csv_to_database_view/edit.html | 116 ++++++-
superset/utils/pandas_postprocessing/sort.py | 24 +-
superset/utils/pandas_postprocessing/utils.py | 12 +-
superset/views/database/forms.py | 16 +-
superset/views/database/views.py | 67 +++-
tests/common/query_context_generator.py | 4 +-
tests/integration_tests/charts/data/api_tests.py | 50 +++
tests/integration_tests/csv_upload_tests.py | 4 +-
.../unit_tests/pandas_postprocessing/test_sort.py | 29 +-
150 files changed, 3766 insertions(+), 1124 deletions(-)
create mode 100644 docs/docs/databases/risingwave.mdx
create mode 100644
superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/customControls.tsx
delete mode 100644
superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/emitFilterControl.tsx
copy superset-frontend/{src/explore/components/DataTablesPane =>
packages/superset-ui-chart-controls/src/shared-controls}/index.ts (75%)
delete mode 100644
superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/legacySortBy.tsx
rename
superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/{index.tsx
=> sharedControls.tsx} (99%)
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/latvia.geojson
create mode 100644
superset-frontend/plugins/plugin-chart-echarts/src/utils/tooltip.ts
create mode 100644 superset-frontend/src/components/Table/VirtualTable.tsx
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/FilterDivider.stories.tsx
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/FilterDivider.test.tsx
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/FilterDivider.tsx
copy
superset-frontend/{plugins/plugin-chart-handlebars/src/components/ControlHeader/controlHeader.tsx
=>
src/dashboard/components/nativeFilters/FilterBar/FiltersDropdownContent/index.tsx}
(51%)
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FiltersOutOfScopeCollapsible/index.tsx
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/useFilterControlFactory.tsx
copy superset-frontend/src/{hooks/useChangeEffect/useChangeEffect.ts =>
explore/components/controls/XAxisSortControl.tsx} (63%)
create mode 100644
superset-frontend/src/hooks/useTruncation/useCSSTextTruncation.ts
copy superset-frontend/src/hooks/useTruncation/{index.ts =>
useChildElementTruncation.ts} (87%)
copy superset/db_engine_specs/{cockroachdb.py => risingwave.py} (89%)
copy
superset/migrations/versions/{2018-04-03_08-19_130915240929_is_sqllab_viz_flow.py
=> 2022-11-28_17-51_4ce1d9b25135_remove_filter_bar_orientation.py} (59%)
create mode 100644 superset/templates/superset/form_view/csv_macros.html
create mode 100644 superset/templates/superset/form_view/csv_scripts.html