This is an automated email from the ASF dual-hosted git repository.
aafghahi pushed a change to branch
arash.afghahi/sc-61350/db-connect-error-msg-is-not-show-on-basic
in repository https://gitbox.apache.org/repos/asf/superset.git
discard fb97563027 error message refactor
discard 049f7f2dc9 error messages
add a77b2d6ebf chore: remove annotation layer FAB CRUD model view (#22178)
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 ae7ec5e6a2 error messages
add 14f9623aec error message refactor
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (fb97563027)
\
N -- N -- N
refs/heads/arash.afghahi/sc-61350/db-connect-error-msg-is-not-show-on-basic
(14f9623aec)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.github/workflows/docker_build_push.sh | 1 +
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/getColumnLabel.ts | 4 +-
.../packages/superset-ui-core/src/query/index.ts | 7 +-
.../superset-ui-core/src/query/types/Dashboard.ts | 2 +
.../src/query/types/PostProcessing.ts | 4 +-
.../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 +
.../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/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 ++++++++++---
.../FilterBar/ActionButtons/index.tsx | 2 +-
.../FilterBar/FilterControls/FilterControl.tsx | 167 +++++++++++--
.../FilterBar/FilterControls/FilterControls.tsx | 253 +++++++++++--------
.../FilterControls/FilterDivider.stories.tsx | 122 +++++++++
.../FilterControls/FilterDivider.test.tsx | 135 ++++++++++
.../FilterBar/FilterControls/FilterDivider.tsx | 166 ++++++++++++
.../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 +++++++
.../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 ++--
.../AnnotationLayerControl/AnnotationLayer.jsx | 4 +-
.../AnnotationLayer.test.tsx | 2 +-
.../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 +
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 +-
.../src/views/CRUD/annotation/AnnotationList.tsx | 4 +-
.../CRUD/annotationlayers/AnnotationLayersList.tsx | 8 +-
superset-frontend/src/views/routes.tsx | 4 +-
.../annotations/commands/create.py | 2 +-
superset/charts/data/api.py | 6 +
superset/charts/schemas.py | 1 +
superset/connectors/base/models.py | 3 +
superset/connectors/sqla/models.py | 1 +
superset/initialization/__init__.py | 27 +-
..._4ce1d9b25135_remove_filter_bar_orientation.py} | 64 +++--
superset/models/helpers.py | 4 +
superset/utils/pandas_postprocessing/sort.py | 24 +-
superset/utils/pandas_postprocessing/utils.py | 12 +-
superset/views/__init__.py | 1 -
superset/views/annotations.py | 110 +-------
superset/views/database/forms.py | 4 +-
superset/views/database/views.py | 12 +-
tests/common/query_context_generator.py | 4 +-
tests/integration_tests/charts/data/api_tests.py | 50 ++++
tests/integration_tests/core_tests.py | 35 ---
tests/integration_tests/csv_upload_tests.py | 4 +-
.../unit_tests/pandas_postprocessing/test_sort.py | 29 ++-
135 files changed, 3113 insertions(+), 1130 deletions(-)
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/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%)