You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2022/03/04 17:40:52 UTC
[superset] branch hugh-add-bypass-cache-dash updated (ac22e03 -> fd235bf)
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch hugh-add-bypass-cache-dash
in repository https://gitbox.apache.org/repos/asf/superset.git.
from ac22e03 address
add 7e336d1 fix: add/find owners from report/alert modal (#18971)
add c4e3c45 fix(plugin-chart-echarts): fix customize margin (#18958)
add 2072225 fix(native-filters): Default value not shown in native filters (#18963)
add 37752ce fix(external-link): change the external link in creating chart dashboard (#18982)
add ca93d63 fix(tooltip-not-dissapeared): make the tooltip disappear when mouse away (#18892)
add ec746c2 chore(native-filters): Add unit tests for filter cards (#18967)
add 834686a bump and harmonize urijs and xss (#18922)
add f497c19 refactor: converted QueryAutoRefresh to functional component (#18179)
add 563cce1 docs: renamed yugabytedb to yugabyte as per request by Yugabyte team (#18983)
add 5fc7adb fix(packages): Fixing users packages (#18973)
add 150fd0d added datasource legacy editor flag (#18970)
add bd63a1b fix(chart): deprecate persisting url_params (#18960)
add a04f1d4 chore(cache): default to SimpleCache in debug mode (#18976)
add 19eb73b fix(sqllab): Replace stringified 'null' schema column values with NULL (#18992)
add be88cb9 feat: show user email in dashboard API (#19004)
add 5a8eb09 feat: remove loading indicator when typing in select (#18799)
add 6becd38 chore(deps): bump url-parse from 1.5.7 to 1.5.10 in /docs (#19019)
add 26486d0 chore: Remove legacy SIP-15 interim logic/flags (#18936)
add 6fe2431 fix(nested-tab-available): make the another tabs into one tabs available (#18877)
add 77063cc updating.md (#19016)
add 50bb86d fix: remove unneeded complexity in migration (#19022)
add 299b5dc chore: change case for upload selection (#19021)
add 06e1e42 feat: Adds support to multiple dependencies to the native filters (#18793)
add 5a5ff99 fix(SQL Editor): names new query tabs correctly (#18951)
add 9f834e8 fix(plugin-chart-echarts): Apply temporary filters to Query B in explore (#18998)
add 3298551 refactor: Deletes the common/components folder (#18999)
add fd235bf fix merge conflicts
No new revisions were added by this update.
Summary of changes:
UPDATING.md | 7 +
docs/docs/databases/yugabyte.mdx | 6 +-
docs/docs/installation/cache.mdx | 36 +-
docs/docs/installation/configuring-superset.mdx | 61 -
docs/package-lock.json | 3624 ++++++++++++++++----
docs/src/resources/data.js | 2 +-
docs/static/resources/openapi.json | 4 -
docs/yarn.lock | 6 +-
.../integration/dashboard/nativeFilters.test.ts | 131 +-
.../cypress/integration/sqllab/tabs.test.js | 4 +-
superset-frontend/package-lock.json | 50 +-
superset-frontend/package.json | 2 +-
.../src/sections/sections.tsx | 9 -
.../src/shared-controls/dndControls.tsx | 2 +-
.../src/shared-controls/index.tsx | 3 +-
.../src/chart/components/SuperChart.tsx | 2 +
.../src/chart/models/ChartProps.ts | 10 +
.../superset-ui-core/src/dashboard/types/Base.ts | 20 +-
.../superset-ui-core/src/query/constants.ts | 8 +-
.../superset-ui-core/src/query/extractExtras.ts | 4 -
.../superset-ui-core/src/query/types/Query.ts | 3 +-
.../src/query/types/QueryFormData.ts | 9 +-
.../superset-ui-core/src/query/types/Time.ts | 3 -
.../test/query/extractExtras.test.ts | 4 -
.../Polygon/geojsonPayload.js | 1 -
.../legacy-preset-chart-deckgl/package.json | 4 +-
.../plugins/legacy-preset-chart-nvd3/package.json | 2 +-
.../src/Timeseries/transformers.ts | 6 +-
.../plugins/plugin-chart-table/package.json | 2 +-
.../spec/fixtures/mockNativeFilters.ts | 4 +-
.../src/SqlLab/actions/sqlLab.test.js | 2 +-
.../QueryAutoRefresh/QueryAutoRefresh.test.jsx | 40 +-
.../SqlLab/components/QueryAutoRefresh/index.jsx | 86 +-
.../src/SqlLab/components/ResultSet/index.tsx | 2 +-
.../SaveDatasetModal/SaveDatasetModal.test.tsx | 2 +-
.../SqlLab/components/SaveDatasetModal/index.tsx | 3 +-
.../src/SqlLab/components/SaveQuery/index.tsx | 2 +-
.../components/ScheduleQueryButton/index.tsx | 2 +-
.../SqlLab/components/SqlEditor/SqlEditor.test.jsx | 4 +-
.../src/SqlLab/components/SqlEditor/index.jsx | 12 +-
.../TabbedSqlEditors/TabbedSqlEditors.test.jsx | 9 +
.../SqlLab/components/TabbedSqlEditors/index.jsx | 21 +-
superset-frontend/src/SqlLab/fixtures.ts | 2 +-
.../src/addSlice/AddSliceContainer.tsx | 5 +-
superset-frontend/src/common/components/index.tsx | 67 -
superset-frontend/src/components/Alert/index.tsx | 5 +-
superset-frontend/src/components/Button/index.tsx | 9 +-
.../components/CronPicker/CronPicker.stories.tsx | 2 +-
.../Datasource/ChangeDatasourceModal.tsx | 2 +-
.../src/components/Datasource/DatasourceEditor.jsx | 3 +-
.../src/components/Dropdown/index.tsx | 2 +-
.../src/components/DropdownButton/index.tsx | 6 +-
.../src/components/EmptyState/index.tsx | 2 +-
.../src/components/FacePile/FacePile.test.tsx | 2 +-
.../src/components/FacePile/index.tsx | 2 +-
superset-frontend/src/components/Form/Form.tsx | 4 +-
.../src/components/FormRow/FormRow.test.jsx | 2 +-
superset-frontend/src/components/FormRow/index.jsx | 2 +-
.../components/ImportModal/ImportModal.test.tsx | 2 +-
.../src/components/ImportModal/index.tsx | 2 +-
superset-frontend/src/components/Label/index.tsx | 2 +-
.../src/components/ListView/Filters/Search.tsx | 4 +-
.../src/components/ListView/ListView.test.jsx | 2 +-
.../src/components/ListView/ListView.tsx | 2 +-
.../ListViewCard/ListViewCard.stories.tsx | 6 +-
.../src/components/ListViewCard/index.tsx | 2 +-
superset-frontend/src/components/Modal/Modal.tsx | 5 +-
.../src/components/PopoverDropdown/index.tsx | 6 +-
.../src/components/ReportModal/index.tsx | 2 +-
.../src/components/Select/Select.test.tsx | 62 +-
superset-frontend/src/components/Select/Select.tsx | 216 +-
superset-frontend/src/components/Select/utils.ts | 15 +-
superset-frontend/src/components/Slider/index.tsx | 4 +-
.../src/components/TableView/TableView.tsx | 2 +-
superset-frontend/src/components/Tabs/Tabs.tsx | 8 +-
superset-frontend/src/components/index.ts | 56 +
.../CrossFilterScopingForm/index.tsx | 2 +-
.../CrossFilterScopingModal.tsx | 4 +-
.../CrossFilterScopingModal/utils/index.ts | 2 +-
.../src/dashboard/components/CssEditor/index.jsx | 6 +-
.../DashboardBuilder/DashboardContainer.tsx | 20 +-
.../dashboard/components/DashboardBuilder/state.ts | 3 +-
.../dashboard/components/FiltersBadge/selectors.ts | 2 +-
.../dashboard/components/PropertiesModal/index.tsx | 9 +-
.../src/dashboard/components/SaveModal.tsx | 2 +-
.../components/SliceHeader/SliceHeader.test.tsx | 2 -
.../SliceHeaderControls.test.tsx | 1 -
.../dashboard/components/gridComponents/Tabs.jsx | 4 +-
.../components/gridComponents/Tabs.test.jsx | 4 +-
.../CascadeFilterControl.test.tsx | 95 -
.../CascadeFilters/CascadeFilterControl/index.tsx | 77 -
.../CascadeFilters/CascadePopover/index.tsx | 247 --
.../FilterBar/CascadeFilters/types.ts | 24 -
.../FilterBar/FilterControls/FilterControl.tsx | 43 +-
.../FilterBar/FilterControls/FilterControls.tsx | 68 +-
.../FilterBar/FilterControls/FilterValue.tsx | 27 +-
.../FilterBar/FilterControls/state.ts | 22 +-
.../FilterBar/FilterControls/types.ts | 1 +
.../FilterBar/FilterControls/utils.ts | 26 -
.../FilterBar/FilterSets/EditSection.tsx | 6 +-
.../FilterBar/FilterSets/FilterSetUnit.tsx | 6 +-
.../FilterBar/FilterSets/FiltersHeader.tsx | 22 +-
.../nativeFilters/FilterBar/Header/index.tsx | 4 +-
.../components/nativeFilters/FilterBar/index.tsx | 245 +-
.../components/nativeFilters/FilterBar/state.ts | 2 +-
.../components/nativeFilters/FilterBar/utils.ts | 24 +-
.../nativeFilters/FilterCard/DependenciesRow.tsx | 23 +-
.../nativeFilters/FilterCard/FilterCard.test.tsx | 306 ++
.../nativeFilters/FilterCard/ScopeRow.tsx | 51 +-
.../components/nativeFilters/FilterCard/Styles.ts | 4 +
.../components/nativeFilters/FilterCard/index.tsx | 9 +-
.../components/nativeFilters/FilterCard/types.ts | 2 +-
.../FilterCard/useFilterDependencies.ts | 2 +-
.../nativeFilters/FilterCard/useFilterScope.ts | 41 +-
.../FiltersConfigModal/DraggableFilter.tsx | 4 +-
.../FiltersConfigModal/FilterConfigPane.test.tsx | 4 +-
.../FiltersConfigModal/FilterConfigurePane.tsx | 10 +-
.../FiltersConfigModal/FilterTitleContainer.tsx | 13 +-
.../FiltersConfigModal/FilterTitlePane.tsx | 17 +-
.../FiltersConfigForm/CollapsibleControl.tsx | 12 +-
.../FiltersConfigForm/ColumnSelect.tsx | 3 +-
.../FiltersConfigForm/DefaultValue.tsx | 2 +-
.../FiltersConfigForm/DependencyList.tsx | 213 ++
.../FilterScope/FilterScope.test.tsx | 14 +-
.../FiltersConfigForm/FilterScope/FilterScope.tsx | 4 +-
.../FiltersConfigForm/FilterScope/ScopingTree.tsx | 2 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 133 +-
.../FiltersConfigForm/getControlItemsMap.test.tsx | 2 +-
.../FiltersConfigForm/getControlItemsMap.tsx | 7 +-
.../FiltersConfigModal/FiltersConfigForm/state.ts | 2 +-
.../FiltersConfigModal/FiltersConfigForm/utils.ts | 2 +-
.../FiltersConfigModal/FiltersConfigModal.test.tsx | 18 +-
.../FiltersConfigModal/FiltersConfigModal.tsx | 231 +-
.../FiltersConfigModal/NativeFiltersModal.test.tsx | 4 +-
.../nativeFilters/FiltersConfigModal/state.ts | 2 +-
.../nativeFilters/FiltersConfigModal/types.ts | 9 +-
.../nativeFilters/FiltersConfigModal/utils.ts | 172 +-
.../dashboard/components/nativeFilters/state.ts | 41 +-
.../dashboard/components/nativeFilters/utils.ts | 11 +-
superset-frontend/src/dashboard/styles.ts | 3 +
.../util/filterboxMigrationHelper.test.ts | 2 -
.../src/dashboard/util/getDropPosition.js | 9 -
.../explore/components/DataTableControl/index.tsx | 2 +-
.../DataTablesPane/DataTablesPane.test.tsx | 1 -
.../ExploreAdditionalActionsMenu.test.jsx | 4 +-
.../ExploreAdditionalActionsMenu.test.tsx | 2 -
.../ExploreAdditionalActionsMenu/index.jsx | 6 +-
.../ExploreChartHeader/ExploreChartHeader.test.tsx | 2 -
.../components/ExportToCSVDropdown/index.tsx | 6 +-
.../PropertiesModal/PropertiesModal.test.tsx | 3 +-
.../explore/components/PropertiesModal/index.tsx | 13 +-
.../src/explore/components/SaveModal.test.jsx | 12 +-
.../src/explore/components/SaveModal.tsx | 9 +-
.../controls/AnnotationLayerControl/index.jsx | 2 +-
.../controls/CollectionControl/index.jsx | 2 +-
.../FormattingPopoverContent.tsx | 2 +-
.../components/controls/CustomListItem/index.tsx | 2 +-
.../controls/DatasourceControl/index.jsx | 6 +-
.../controls/DateFilterControl/DateFilterLabel.tsx | 63 +-
.../DateFilterControl/components/CustomFrame.tsx | 2 +-
.../DateFilterControl/utils/dateFilterUtils.ts | 18 +-
.../controls/DateFilterControl/utils/utils.test.ts | 19 +-
.../index.tsx | 6 +-
.../explore/components/controls/SpatialControl.jsx | 2 +-
.../controls/TimeSeriesColumnControl/index.jsx | 3 +-
.../controls/VizTypeControl/VizTypeGallery.tsx | 10 +-
.../src/explore/controlPanels/sections.tsx | 9 -
superset-frontend/src/explore/controls.jsx | 4 -
.../explore/exploreUtils/formData.test.ts} | 14 +-
.../src/explore/exploreUtils/formData.ts | 18 +-
.../components/GroupBy/GroupByFilterPlugin.tsx | 5 +-
.../filters/components/GroupBy/transformProps.ts | 11 +-
.../src/filters/components/GroupBy/types.ts | 1 +
.../filters/components/Range/RangeFilterPlugin.tsx | 16 +-
.../src/filters/components/Range/transformProps.ts | 11 +-
.../components/Select/SelectFilterPlugin.tsx | 4 +-
.../filters/components/Select/transformProps.ts | 11 +-
.../src/filters/components/Select/types.ts | 2 +-
.../filters/components/Time/TimeFilterPlugin.tsx | 13 +-
.../src/filters/components/Time/transformProps.ts | 11 +-
.../src/filters/components/Time/types.ts | 2 +
.../TimeColumn/TimeColumnFilterPlugin.tsx | 5 +-
.../components/TimeColumn/transformProps.ts | 11 +-
.../src/filters/components/TimeColumn/types.ts | 1 +
.../components/TimeGrain/TimeGrainFilterPlugin.tsx | 5 +-
.../filters/components/TimeGrain/transformProps.ts | 12 +-
.../src/filters/components/TimeGrain/types.ts | 1 +
superset-frontend/src/filters/components/types.ts | 1 +
.../src/profile/components/App.test.tsx | 2 +-
superset-frontend/src/profile/components/App.tsx | 2 +-
.../src/views/CRUD/alert/AlertReportModal.tsx | 7 +-
.../alert/components/AlertReportCronScheduler.tsx | 2 +-
.../src/views/CRUD/chart/ChartCard.tsx | 6 +-
.../src/views/CRUD/dashboard/DashboardCard.tsx | 6 +-
.../DatabaseConnectionForm/CommonParameters.tsx | 4 +-
.../DatabaseConnectionForm/EncryptedField.tsx | 30 +-
.../CRUD/data/database/DatabaseModal/index.tsx | 14 +-
.../src/views/CRUD/welcome/EmptyState.tsx | 2 +-
.../src/views/CRUD/welcome/SavedQueries.tsx | 6 +-
.../src/views/CRUD/welcome/Welcome.tsx | 4 +-
superset-frontend/src/views/components/Menu.tsx | 2 +-
.../src/views/components/MenuRight.tsx | 8 +-
superset-frontend/src/views/components/SubMenu.tsx | 2 +-
superset/charts/commands/export.py | 2 +-
superset/charts/schemas.py | 2 -
superset/common/query_object_factory.py | 27 +-
superset/config.py | 40 +-
superset/connectors/sqla/models.py | 55 +-
superset/constants.py | 1 -
superset/dashboards/api.py | 2 +
superset/examples/birth_names.py | 1 -
.../charts/Age_distribution_of_respondents.yaml | 3 -
.../Are_you_an_ethnic_minority_in_your_city.yaml | 3 -
.../charts/Breakdown_of_Developer_Type.yaml | 3 -
superset/examples/configs/charts/Commute_Time.yaml | 3 -
.../configs/charts/Country_of_Citizenship.yaml | 3 -
.../configs/charts/Cross_Channel_Relationship.yaml | 3 -
.../Cross_Channel_Relationship_heatmap_2786.yaml | 3 -
...elopers_Is_this_your_first_development_job.yaml | 3 -
.../examples/configs/charts/Degrees_vs_Income.yaml | 3 -
.../configs/charts/Ethnic_Minority__Gender.yaml | 3 -
.../examples/configs/charts/Filter_Segments.yaml | 3 -
.../configs/charts/Filtering_Vaccines.yaml | 3 -
.../configs/charts/First_Time_Developer.yaml | 3 -
.../charts/First_Time_Developer__Commute_Time.yaml | 3 -
superset/examples/configs/charts/Games.yaml | 3 -
.../examples/configs/charts/Games_per_Genre.yaml | 3 -
.../configs/charts/Games_per_Genre_over_time.yaml | 3 -
superset/examples/configs/charts/Gender.yaml | 3 -
.../configs/charts/Highest_degree_held.yaml | 3 -
.../configs/charts/How_do_you_prefer_to_work.yaml | 3 -
.../How_much_do_you_expect_to_earn_0_-_100k.yaml | 3 -
.../charts/Last_Year_Income_Distribution.yaml | 3 -
.../charts/Location_of_Current_Developers.yaml | 3 -
.../configs/charts/Members_per_Channel.yaml | 3 -
.../configs/charts/Messages_per_Channel.yaml | 3 -
.../configs/charts/Most_Dominant_Platforms.yaml | 3 -
.../configs/charts/New_Members_per_Month.yaml | 3 -
.../charts/Number_of_Aspiring_Developers.yaml | 3 -
.../Number_of_Deals_for_each_Combination.yaml | 3 -
...mes_That_Hit_100k_in_Sales_By_Release_Year.yaml | 3 -
.../examples/configs/charts/Number_of_Members.yaml | 3 -
.../charts/Overall_Sales_By_Product_Line.yaml | 3 -
.../charts/Popular_Genres_Across_Platforms.yaml | 3 -
.../configs/charts/Preferred_Employment_Style.yaml | 3 -
.../Proportion_of_Revenue_by_Product_Line.yaml | 3 -
.../charts/Publishers_With_Most_Titles.yaml | 3 -
.../examples/configs/charts/Quarterly_Sales.yaml | 3 -
.../charts/Quarterly_Sales_By_Product_Line.yaml | 3 -
.../configs/charts/Relocation_ability.yaml | 3 -
.../configs/charts/Revenue_by_Deal_Size.yaml | 3 -
.../charts/Rise__Fall_of_Video_Game_Consoles.yaml | 3 -
.../Seasonality_of_Revenue_per_Product_Line.yaml | 3 -
...op_10_Games_Proportion_of_Sales_in_Markets.yaml | 3 -
.../charts/Top_15_Languages_Spoken_at_Home.yaml | 3 -
.../examples/configs/charts/Top_Timezones.yaml | 3 -
.../examples/configs/charts/Total_Items_Sold.yaml | 3 -
.../charts/Total_Items_Sold_By_Product_Line.yaml | 3 -
.../examples/configs/charts/Total_Revenue.yaml | 3 -
.../Total_Sales_per_Market_Grouped_by_Genre.yaml | 3 -
.../Vaccine_Candidates_per_Approach__Stage.yaml | 3 -
.../charts/Vaccine_Candidates_per_Country.yaml | 3 -
.../charts/Vaccine_Candidates_per_Country_261.yaml | 3 -
.../Vaccine_Candidates_per_Country__Stage.yaml | 3 -
.../Vaccine_Candidates_per_Country__Stage_749.yaml | 3 -
.../charts/Vaccine_Candidates_per_Phase.yaml | 3 -
.../charts/Vaccine_Candidates_per_Phase_587.yaml | 3 -
.../configs/charts/Vehicle_Sales_Filter.yaml | 3 -
.../configs/charts/Video_Game_Sales_Filter.yaml | 3 -
.../examples/configs/charts/Weekly_Messages.yaml | 3 -
.../examples/configs/charts/Weekly_Threads.yaml | 3 -
.../configs/charts/Work_Location_Preference.yaml | 3 -
superset/examples/deck.py | 1 -
superset/examples/world_bank.py | 1 -
superset/initialization/__init__.py | 2 +-
...0ca7944_change_adhoc_filter_b_from_none_to_.py} | 32 +-
...ab9a9d86e695_deprecate_time_range_endpoints.py} | 31 +-
...8e252_fix_query_and_saved_query_null_schema.py} | 36 +-
.../versions/b8d3a24d9131_new_dataset_models.py | 96 +-
superset/typing.py | 16 +-
superset/utils/cache.py | 6 +-
superset/utils/cache_manager.py | 76 +-
superset/utils/core.py | 28 +-
superset/views/core.py | 46 +-
superset/{tasks/alerts => views/users}/__init__.py | 0
superset/{ => views}/users/api.py | 2 +-
superset/{ => views}/users/schemas.py | 0
superset/views/utils.py | 61 -
superset/viz.py | 1 -
tests/common/query_context_generator.py | 11 +-
tests/integration_tests/cache_tests.py | 5 +-
tests/integration_tests/charts/api_tests.py | 2 +-
tests/integration_tests/charts/commands_tests.py | 32 +-
tests/integration_tests/charts/data/api_tests.py | 17 +-
tests/integration_tests/core_tests.py | 8 -
.../dashboards/filter_state/api_tests.py | 2 -
.../explore/form_data/api_tests.py | 2 -
tests/integration_tests/fixtures/importexport.py | 2 +-
tests/integration_tests/query_context_tests.py | 19 +-
tests/integration_tests/security_tests.py | 2 +-
tests/integration_tests/superset_test_config.py | 16 +-
.../superset_test_config_thumbnails.py | 4 +-
.../integration_tests/tasks/async_queries_tests.py | 1 -
.../integration_tests/users}/__init__.py | 0
tests/integration_tests/utils_tests.py | 123 +-
tests/unit_tests/charts/test_post_processing.py | 1 -
.../unit_tests/common/test_query_object_factory.py | 2 -
307 files changed, 5014 insertions(+), 3558 deletions(-)
delete mode 100644 superset-frontend/src/common/components/index.tsx
delete mode 100644 superset-frontend/src/dashboard/components/nativeFilters/FilterBar/CascadeFilters/CascadeFilterControl/CascadeFilterControl.test.tsx
delete mode 100644 superset-frontend/src/dashboard/components/nativeFilters/FilterBar/CascadeFilters/CascadeFilterControl/index.tsx
delete mode 100644 superset-frontend/src/dashboard/components/nativeFilters/FilterBar/CascadeFilters/CascadePopover/index.tsx
delete mode 100644 superset-frontend/src/dashboard/components/nativeFilters/FilterBar/CascadeFilters/types.ts
create mode 100644 superset-frontend/src/dashboard/components/nativeFilters/FilterCard/FilterCard.test.tsx
create mode 100644 superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/DependencyList.tsx
copy superset-frontend/{packages/superset-ui-chart-controls/test/index.test.ts => src/explore/exploreUtils/formData.test.ts} (75%)
copy superset/migrations/versions/{80a67c5192fa_single_pie_chart_metric.py => 7293b0ca7944_change_adhoc_filter_b_from_none_to_.py} (72%)
copy superset/migrations/versions/{eca4694defa7_sqllab_setting_defaults.py => ab9a9d86e695_deprecate_time_range_endpoints.py} (70%)
copy superset/migrations/versions/{eca4694defa7_sqllab_setting_defaults.py => b5a422d8e252_fix_query_and_saved_query_null_schema.py} (64%)
copy superset/{tasks/alerts => views/users}/__init__.py (100%)
rename superset/{ => views}/users/api.py (98%)
rename superset/{ => views}/users/schemas.py (100%)
copy {superset/tasks/alerts => tests/integration_tests/users}/__init__.py (100%)