This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch hm/ar-filters
in repository https://gitbox.apache.org/repos/asf/superset.git
from ecee690acd saving ui work for now
add 5fe6ef268e chore(deps): bump react-transition-group and
@types/react-transition-group in /superset-frontend (#31547)
add 6eb87e04c0 chore: refactor Alert-related components (#31858)
add 687f762457 refactor: Removes the legacy dataset editor (#31976)
add 4b0e907c3d chore: Add FYND to INTHEWILD.md (#31980)
add 65c4d39c31 refactor(Shared_url_query): Fix shared query URL access
for SQL Lab users. (#31421)
add 925938b4d1 feat: run prettier before eslint in pre-commit hooks
(#31984)
add 827042f12f refactor: Remove CSV upload size limit and related
validation (#32000)
add 09c1987de4 chore(fe): correct typing for sheetsColumnNames (#32007)
add 1b375b715c refactor: upload data unification, less permissions and
less endpoints (#31959)
add aa74ba3da2 fix(sqllab): tab layout truncated (#32005)
add 7e2b7941f3 refactor: Upgrade to React 17 (#31961)
add 640d4f09bd chore: add UPDATING note for CSV_UPLOAD_MAX_SIZE removal
(#32013)
add 962fd4cca3 chore: Removing DASHBOARD_CROSS_FILTERS flag and all that
comes with it. (#31794)
add 6478bb7eab feat: add date format to the email subject (#31413)
add 23d9f46d30 chore(Network Errors): Update network errors on filter bars
and charts (#31811)
add f4efce3475 fix: Reordering echart props to fix confidence interval in
Mixed Charts (#30716)
add a21f184058 fix(issue #31927): TimeGrain.WEEK_STARTING_MONDAY (#32015)
add 19e8a7049b feat(fe): upgrade `superset-frontend` to Typescript v5
(#31979)
add a87a13c3ab fix: Filters badge disappeared (#32025)
add e4bdb28ba2 fix(ci): change ephemeral env to use github labels instead
of comments (#31340)
add 732de4ac7f fix: eph env + improve docker images to run in userspace
(#32017)
new 25d2850a0c Merge branch 'master' of https://github.com/apache/superset
into hm/ar-filters
add b12f515185 fix: re-enable cypress checks (#32008)
add 568f6d958b fix: Revert "fix: re-enable cypress checks" (#32045)
add aa67525b70 fix(fe/explore): prevent runtime error when editing
Dataset-origin Chart with empty title (#32031)
add 3f46bcf142 chore: Skip the creation of secondary perms during catalog
migrations (#32043)
add f73d61a597 feat(sqllab): Replace FilterableTable by AgGrid Table
(#29900)
add 5fc11fb706 chore: Add more database-related tests (follow up to
#31948) (#32054)
add 1c1494d3e0 fix(DatePicker): Increase z-index over Modal (#32061)
add 468bb5f47a refactor(Radio): Upgrade Radio Component to Ant Design 5
(#32004)
add 101d3fa78d chore: Re-enable asnyc event API tests (#32062)
add c590e90c87 feat(sqllab): improve table metadata UI (#32051)
add 7db0589340 fix(thumbnail cache): Enabling force parameter on
screenshot/thumbnail cache (#31757)
add 1064ad5d58 fix: enforce `ALERT_REPORTS_MAX_CUSTOM_SCREENSHOT_WIDTH`
(#32053)
add 9e5876dc17 feat: add connector for Parseable (#32052)
new ef0a7ee4ef Merge branch 'master' of https://github.com/apache/superset
into hm/ar-filters
The 2 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/workflows/dependency-review.yml | 1 +
.github/workflows/ephemeral-env.yml | 425 +-
.github/workflows/superset-e2e.yml | 2 +-
.gitignore | 1 +
.pre-commit-config.yaml | 16 +-
Dockerfile | 71 +-
RESOURCES/FEATURE_FLAGS.md | 5 +-
RESOURCES/INTHEWILD.md | 1 +
UPDATING.md | 5 +
docker/docker-bootstrap.sh | 5 +-
docker/entrypoints/docker-ci.sh | 2 +-
docs/docs/configuration/alerts-reports.mdx | 3 +
docs/docs/configuration/databases.mdx | 18 +
pyproject.toml | 1 +
superset-frontend/babel.config.js | 16 +-
.../cypress/e2e/dashboard/drillby.test.ts | 2 +-
.../cypress/e2e/dashboard/drilltodetail.test.ts | 8 +-
.../e2e/dashboard/horizontalFilterBar.test.ts | 6 +-
.../cypress/e2e/dashboard_list/list.test.ts | 2 +-
.../cypress/e2e/explore/annotations.test.ts | 2 +-
.../cypress-base/cypress/e2e/sqllab/query.test.ts | 5 +-
.../cypress-base/cypress/support/e2e.ts | 11 +-
superset-frontend/jest.config.js | 10 +-
superset-frontend/package-lock.json | 91565 +++++--------------
superset-frontend/package.json | 45 +-
.../plugin-chart/templates/package-lock.erb | 2 +-
.../generators/plugin-chart/templates/package.erb | 2 +-
.../superset-ui-chart-controls/package.json | 6 +-
.../src/components/ControlHeader.tsx | 2 +-
.../src/components/Tooltip.tsx | 16 +-
.../superset-ui-chart-controls/src/index.ts | 2 +-
.../components/RadioButtonControl.tsx | 2 +-
.../superset-ui-chart-controls/src/types.ts | 7 +
.../src/utils/displayTimeRelatedControls.ts | 2 +-
.../superset-ui-chart-controls/src/utils/index.ts | 3 +-
.../superset-ui-chart-controls/test/types.test.ts | 17 +
.../packages/superset-ui-core/package.json | 6 +-
.../src/chart-composition/legend/WithLegend.tsx | 2 +-
.../src/chart/components/FallbackComponent.tsx | 17 +-
.../src/chart/components/SuperChart.tsx | 7 +-
.../src/query/getClientErrorObject.ts | 2 +-
.../superset-ui-core/src/query/types/Filter.ts | 4 +
.../superset-ui-core/src/query/types/Query.ts | 20 +-
.../src/query/types/QueryResponse.ts | 3 +
.../packages/superset-ui-core/src/style/index.tsx | 8 +-
.../superset-ui-core/src/ui-overrides/types.ts | 11 +
.../superset-ui-core/src/utils/featureFlags.ts | 5 +-
.../src/validator/validateNumber.ts | 2 +-
.../chart-composition/legend/WithLegend.test.tsx | 3 +-
.../chart/components/FallbackComponent.test.tsx | 20 +-
.../test/chart/components/SuperChart.test.tsx | 6 +-
.../time-comparison/customTimeRangeDecode.test.ts | 78 +
.../packages/superset-ui-demo/package.json | 6 +-
.../plugins/plugin-chart-table/birthNames.json | 1 -
.../legacy-plugin-chart-calendar/package.json | 2 +-
.../src/ReactCalendar.jsx | 8 +-
.../plugins/legacy-plugin-chart-chord/package.json | 2 +-
.../legacy-plugin-chart-country-map/package.json | 2 +-
.../legacy-plugin-chart-horizon/package.json | 2 +-
.../legacy-plugin-chart-map-box/package.json | 2 +-
.../legacy-plugin-chart-paired-t-test/package.json | 2 +-
.../package.json | 2 +-
.../legacy-plugin-chart-partition/package.json | 4 +-
.../plugins/legacy-plugin-chart-rose/package.json | 2 +-
.../legacy-plugin-chart-world-map/package.json | 2 +-
.../legacy-preset-chart-deckgl/package.json | 5 +-
.../src/CategoricalDeckGLContainer.tsx | 2 +-
.../src/DeckGLContainer.tsx | 1 -
.../legacy-preset-chart-deckgl/src/Multi/Multi.tsx | 1 +
.../src/components/Legend.tsx | 4 +-
.../src/layers/Geojson/Geojson.tsx | 2 +-
.../src/layers/common.tsx | 6 +-
.../legacy-preset-chart-deckgl/src/utils.ts | 7 +-
.../src/utils/explore.ts | 2 +-
.../src/utils/sandbox.ts | 13 +-
.../plugins/legacy-preset-chart-nvd3/package.json | 3 +-
.../plugins/plugin-chart-cartodiagram/package.json | 6 +-
.../src/util/controlPanelUtil.tsx | 2 +-
.../src/util/transformPropsUtil.ts | 2 +-
.../test/util/layerUtil.test.ts | 1 +
.../plugins/plugin-chart-echarts/package.json | 2 +-
.../BigNumberPeriodOverPeriod/transformProps.ts | 3 +-
.../BigNumber/BigNumberPeriodOverPeriod/utils.ts | 2 +-
.../src/BigNumber/BigNumberTotal/controlPanel.ts | 9 +-
.../src/Bubble/transformProps.ts | 35 +-
.../src/MixedTimeseries/transformProps.ts | 7 +-
.../src/Timeseries/transformProps.ts | 3 +-
.../plugin-chart-echarts/src/utils/forecast.ts | 33 +-
.../src/utils/formDataSuffix.ts | 4 +-
.../test/Timeseries/transformProps.test.ts | 2 +-
.../test/utils/forecast.test.ts | 43 +
.../plugins/plugin-chart-handlebars/package.json | 4 +-
.../plugins/plugin-chart-pivot-table/package.json | 6 +-
.../src/plugin/controlPanel.tsx | 7 +-
.../plugins/plugin-chart-table/package.json | 6 +-
.../src/DataTable/components/Pagination.tsx | 5 +-
.../plugin-chart-table/src/controlPanel.tsx | 6 +-
.../plugins/plugin-chart-word-cloud/package.json | 2 +-
superset-frontend/spec/fixtures/mockDatasource.js | 1 -
superset-frontend/spec/helpers/Cache.ts | 4 +-
superset-frontend/spec/helpers/setup.ts | 1 -
superset-frontend/spec/helpers/shim.tsx | 11 +-
superset-frontend/src/GlobalStyles.tsx | 3 +-
superset-frontend/src/SqlLab/actions/sqlLab.js | 40 +-
.../src/SqlLab/actions/sqlLab.test.js | 100 +-
.../AceEditorWrapper/AceEditorWrapper.test.tsx | 19 +-
.../AceEditorWrapper/useKeywords.test.ts | 2 +
.../src/SqlLab/components/App/index.tsx | 2 +-
.../KeyboardShortcutButton.test.tsx | 4 +-
.../components/KeyboardShortcutButton/index.tsx | 19 +-
.../components/QueryHistory/QueryHistory.test.tsx | 18 +-
.../src/SqlLab/components/QueryTable/index.tsx | 15 +-
.../SqlLab/components/ResultSet/ResultSet.test.tsx | 10 +-
.../SqlLab/components/SaveDatasetModal/index.tsx | 4 +-
.../components/ScheduleQueryButton/index.tsx | 4 +-
.../ShareSqlLabQuery/ShareSqlLabQuery.test.tsx | 21 +-
.../src/SqlLab/components/ShowSQL/index.tsx | 12 +-
.../SqlLab/components/SouthPane/SouthPane.test.tsx | 6 +-
.../src/SqlLab/components/SouthPane/index.tsx | 95 +-
.../SqlLab/components/SqlEditor/SqlEditor.test.tsx | 42 +-
.../src/SqlLab/components/SqlEditor/index.tsx | 16 +-
.../SqlEditorLeftBar/SqlEditorLeftBar.test.tsx | 63 +-
.../SqlLab/components/SqlEditorLeftBar/index.tsx | 11 +-
.../components/TableElement/TableElement.test.tsx | 30 +-
.../components/TablePreview/TablePreview.test.tsx | 173 +
.../src/SqlLab/components/TablePreview/index.tsx | 430 +
superset-frontend/src/SqlLab/constants.ts | 2 +-
superset-frontend/src/SqlLab/fixtures.ts | 5 +-
.../middlewares/persistSqlLabStateEnhancer.js | 3 +-
.../src/SqlLab/reducers/getInitialState.test.ts | 10 +-
.../src/SqlLab/reducers/getInitialState.ts | 7 +-
superset-frontend/src/SqlLab/reducers/sqlLab.js | 50 +-
superset-frontend/src/SqlLab/types.ts | 2 +-
.../src/SqlLab/utils/emptyQueryResults.test.ts | 2 +-
.../SqlLab/utils/reduxStateToLocalStorageHelper.ts | 39 +-
.../src/components/Alert/Alert.stories.tsx | 11 -
.../src/components/Alert/Alert.test.tsx | 20 +-
superset-frontend/src/components/Alert/index.tsx | 50 +-
.../src/components/AlteredSliceTag/index.tsx | 4 +-
superset-frontend/src/components/Chart/Chart.tsx | 20 +-
.../Chart/ChartContextMenu/ChartContextMenu.tsx | 4 +-
.../Chart/ChartContextMenu/useContextMenu.test.tsx | 1 -
.../src/components/Chart/ChartErrorMessage.tsx | 7 +-
.../src/components/Chart/ChartRenderer.jsx | 7 +-
.../src/components/Chart/DrillBy/DrillByModal.tsx | 9 +-
.../Chart/DrillBy/useDisplayModeToggle.tsx | 28 +-
.../Chart/DrillDetail/DrillDetailPane.tsx | 9 +-
.../src/components/Chart/chartActions.test.js | 40 +-
.../src/components/Checkbox/Checkbox.stories.tsx | 4 +-
...tionTable.test.jsx => CollectionTable.test.tsx} | 1 +
.../src/components/Datasource/CollectionTable.tsx | 25 +-
.../Datasource/DatasourceEditor.test.jsx | 15 +-
.../components/Datasource/DatasourceModal.test.jsx | 12 -
.../src/components/Datasource/DatasourceModal.tsx | 20 -
.../components/DatePicker/DatePicker.stories.tsx | 4 +-
.../src/components/DatePicker/index.tsx | 6 +-
.../src/components/EmptyState/index.tsx | 5 +-
.../src/components/ErrorBoundary/index.tsx | 27 +-
.../ErrorMessage/DatabaseErrorMessage.tsx | 28 +-
.../ErrorMessage/DatasetNotFoundErrorMessage.tsx | 12 +-
.../components/ErrorMessage/ErrorAlert.stories.tsx | 151 +
.../components/ErrorMessage/ErrorAlert.test.tsx | 231 +-
.../src/components/ErrorMessage/ErrorAlert.tsx | 343 +-
.../ErrorMessageWithStackTrace.test.tsx | 2 +-
.../ErrorMessage/ErrorMessageWithStackTrace.tsx | 41 +-
...st.tsx => FrontendNetworkErrorMessage.test.tsx} | 34 +-
...Message.tsx => FrontendNetworkErrorMessage.tsx} | 18 +-
.../ErrorMessage/InvalidSQLErrorMessage.test.tsx | 135 +-
.../ErrorMessage/InvalidSQLErrorMessage.tsx | 16 +-
.../src/components/ErrorMessage/IssueCode.tsx | 1 +
.../ErrorMessage/MarshmallowErrorMessage.tsx | 10 +-
.../ErrorMessage/OAuth2RedirectMessage.tsx | 9 +-
.../ErrorMessage/ParameterErrorMessage.test.tsx | 2 +-
.../ErrorMessage/ParameterErrorMessage.tsx | 15 +-
.../ErrorMessage/TimeoutErrorMessage.tsx | 15 +-
.../src/components/ErrorMessage/types.ts | 1 +
.../FilterableTable/FilterableTable.test.tsx | 33 +-
.../src/components/FilterableTable/index.tsx | 251 +-
.../src/components/FilterableTable/utils.test.tsx | 2 +-
.../src/components/FilterableTable/utils.tsx | 2 +-
.../src/components/FlashProvider/index.tsx | 2 +-
.../Form/LabeledErrorBoundInput.test.jsx | 2 +-
.../src/components/GridTable/GridTable.test.tsx | 66 +
.../src/components/GridTable/Header.test.tsx | 109 +
.../src/components/GridTable/Header.tsx | 200 +
.../src/components/GridTable/HeaderMenu.test.tsx | 266 +
.../src/components/GridTable/HeaderMenu.tsx | 247 +
.../components/GridTable/constants.ts} | 7 +-
.../src/components/GridTable/index.tsx | 241 +
.../src/components/Icons/AntdEnhanced.tsx | 18 +
.../src/components/Icons/Icons.stories.tsx | 2 +-
.../src/components/IndeterminateCheckbox/index.tsx | 2 +
.../src/components/JsonModal/JsonModal.test.tsx | 2 +-
.../src/components/JsonModal/index.tsx | 4 +-
.../src/components/Label/Label.stories.tsx | 1 -
superset-frontend/src/components/Label/index.tsx | 22 +-
.../src/components/ListView/ListView.test.jsx | 3 +-
.../src/components/ListView/ListView.tsx | 1 +
superset-frontend/src/components/ListView/types.ts | 20 +-
superset-frontend/src/components/ListView/utils.ts | 5 +-
.../src/components/ListViewCard/index.tsx | 1 +
.../src/components/Radio/Radio.stories.tsx | 149 +-
superset-frontend/src/components/Radio/index.tsx | 80 +-
.../src/components/Select/AsyncSelect.test.tsx | 6 +-
superset-frontend/src/components/Select/utils.tsx | 15 +-
.../src/components/Steps/Steps.stories.tsx | 3 +-
.../src/components/Table/Table.stories.tsx | 52 +-
.../Table/cell-renderers/ActionCell/index.tsx | 2 +-
.../Table/cell-renderers/NullCell/index.tsx | 16 +-
.../header-renderers/HeaderWithRadioGroup.tsx | 20 +-
superset-frontend/src/components/Table/index.tsx | 14 +-
.../src/components/Table/sorters.test.ts | 8 +
superset-frontend/src/components/Table/sorters.ts | 14 +-
.../src/components/TimezoneSelector/index.tsx | 4 +-
superset-frontend/src/components/Tooltip/index.tsx | 8 +-
.../components/WarningIconWithTooltip/index.tsx | 2 +-
superset-frontend/src/components/index.ts | 1 +
.../src/dashboard/actions/dashboardState.js | 26 +-
.../src/dashboard/actions/dashboardState.test.js | 18 +-
superset-frontend/src/dashboard/actions/hydrate.js | 18 +-
.../BuilderComponentPane.test.tsx | 4 +-
.../components/ColorSchemeControlWrapper.jsx | 76 -
.../components/ColorSchemeControlWrapper.tsx | 64 +
.../src/dashboard/components/Dashboard.jsx | 7 +-
.../src/dashboard/components/Dashboard.test.jsx | 1 +
.../DashboardBuilder/DashboardBuilder.tsx | 6 +-
.../DashboardBuilder/DashboardContainer.tsx | 2 +-
.../DashboardBuilder/DashboardWrapper.tsx | 2 +-
.../OverwriteConfirmModal.test.tsx | 4 +-
.../PropertiesModal/PropertiesModal.test.tsx | 48 +-
.../dashboard/components/PropertiesModal/index.tsx | 2 -
.../src/dashboard/components/SliceAdder.tsx | 2 +-
.../components/SliceHeaderControls/index.tsx | 1 -
.../components/SyncDashboardState/index.tsx | 5 +-
.../components/URLShortLinkButton/index.tsx | 3 +-
.../src/dashboard/components/dnd/DragDroppable.jsx | 2 +-
.../dashboard/components/gridComponents/Tab.jsx | 3 +-
.../components/gridComponents/Tab.test.jsx | 3 +-
.../components/gridComponents/Tabs.test.tsx | 3 -
.../gridComponents/new/DraggableNewComponent.jsx | 2 +-
.../new/DraggableNewComponent.test.jsx | 5 +-
.../FilterBar/ActionButtons/index.tsx | 18 +-
.../CrossFilters/ScopingModal/ScopingModal.tsx | 5 +-
.../nativeFilters/FilterBar/FilterBar.test.tsx | 15 +-
.../FilterBarSettings/FilterBarSettings.test.tsx | 70 +-
.../FilterBar/FilterBarSettings/index.tsx | 11 +-
.../FilterBar/FilterControls/FilterControls.tsx | 22 +-
.../FilterBar/FilterControls/FilterValue.tsx | 13 +-
.../nativeFilters/FilterBar/Horizontal.tsx | 29 +-
.../FilterBar/HorizontalFilterBar.test.tsx | 3 +
.../nativeFilters/FilterBar/Vertical.tsx | 12 +-
.../components/nativeFilters/FilterBar/index.tsx | 6 +-
.../FiltersConfigForm/ColumnSelect.test.tsx | 15 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 36 +-
.../FiltersConfigModal/FiltersConfigForm/utils.ts | 4 +-
.../FiltersConfigModal/FiltersConfigModal.test.tsx | 3 +-
.../components/nativeFilters/selectors.ts | 126 +-
.../dashboard/components/nativeFilters/state.ts | 4 +-
.../components/nativeFilters/utils.test.ts | 73 +-
.../dashboard/components/nativeFilters/utils.ts | 27 +-
.../src/dashboard/reducers/nativeFilters.ts | 3 +-
superset-frontend/src/dashboard/types.ts | 27 +-
.../dashboard/util/activeAllDashboardFilters.ts | 15 +-
.../util/charts/getFormDataWithExtraFilters.ts | 34 +-
.../src/dashboard/util/crossFilters.test.ts | 67 +-
.../src/dashboard/util/crossFilters.ts | 17 +-
.../src/dashboard/util/findParentId.ts | 8 +-
...d.test.js => findTabIndexByComponentId.test.ts} | 9 +-
...ComponentId.js => findTabIndexByComponentId.ts} | 13 +-
.../util/getFormDataWithExtraFilters.test.ts | 4 +-
.../src/dashboard/util/isValidChild.test.ts | 2 +-
.../src/dashboard/util/isValidChild.ts | 2 +-
.../src/dashboard/util/permissionUtils.test.ts | 34 +-
.../src/dashboard/util/replaceUndefinedByNull.ts | 36 -
superset-frontend/src/dataMask/reducer.ts | 38 +-
.../src/explore/actions/datasourcesActions.test.ts | 16 +-
.../src/explore/components/Control.tsx | 5 +-
.../src/explore/components/ControlHeader.tsx | 9 +-
.../explore/components/ControlPanelsContainer.tsx | 10 +-
.../explore/components/DataTableControl/index.tsx | 24 +-
.../explore/components/DatasourcePanel/index.tsx | 3 +-
.../src/explore/components/ExploreAlert.tsx | 14 +-
.../components/ExploreChartHeader/index.jsx | 2 +-
.../ExportToCSVDropdown.test.tsx | 27 +-
.../ColorSchemeControl/ColorSchemeControl.test.tsx | 1 -
.../controls/ColorSchemeControl/index.tsx | 8 +-
.../components/controls/ComparisonRangeLabel.tsx | 3 +-
.../FormattingPopoverContent.tsx | 4 +-
.../ContourControl/ContourPopoverControl.tsx | 4 +-
.../components/controls/CustomListItem/index.tsx | 2 +-
.../DatasourceControl/DatasourceControl.test.tsx | 2 +-
.../controls/DatasourceControl/index.jsx | 44 +-
.../controls/DateFilterControl/DateFilterLabel.tsx | 6 -
.../DateFilterControl/components/CalendarFrame.tsx | 18 +-
.../DateFilterControl/components/CommonFrame.tsx | 18 +-
.../components/CurrentCalendarFrame.tsx | 25 +-
.../DateFilterControl/components/CustomFrame.tsx | 15 +-
.../DateFilterControl/tests/CalendarFrame.test.tsx | 8 +-
.../DateFilterControl/tests/CustomFrame.test.tsx | 8 +-
.../controls/DateFilterControl/utils/constants.ts | 13 +-
...AdhocFilterEditPopoverSimpleTabContent.test.tsx | 25 +-
.../index.tsx | 6 +-
.../controls/FilterControl/utils/translateToSQL.ts | 8 +-
.../utils/useGetTimeRangeLabel.test.ts | 18 +-
.../components/controls/SliderControl.stories.tsx | 19 +-
.../components/controls/TimeOffsetControl.tsx | 2 +-
.../controls/VizTypeControl/VizTypeGallery.tsx | 2 +-
.../DashboardsSubMenu.test.tsx | 4 +-
.../src/explore/controlUtils/getControlState.ts | 2 +-
.../controlUtils/getFormDataFromControls.ts | 4 +-
.../getFormDataWithDashboardContext.ts | 7 +-
.../explore/controlUtils/getSectionsToRender.ts | 10 +-
.../controlUtils/standardizedFormData.test.ts | 4 +-
.../explore/controlUtils/standardizedFormData.ts | 2 +-
.../exploreUtils/getParsedExploreURLParams.ts | 64 +-
.../exploreUtils/shouldUseLegacyApi.test.ts | 18 +-
superset-frontend/src/explore/types.ts | 2 +-
.../src/features/alerts/AlertReportModal.tsx | 96 +-
.../features/alerts/components/AlertStatusIcon.tsx | 4 +-
.../src/features/allEntities/AllEntitiesTable.tsx | 20 +-
.../annotationLayers/AnnotationLayerModal.tsx | 8 +-
.../src/features/annotations/AnnotationModal.tsx | 3 +-
.../src/features/cssTemplates/CssTemplateModal.tsx | 8 +-
.../src/features/dashboards/DashboardCard.test.tsx | 21 +-
.../src/features/dashboards/DashboardCard.tsx | 6 +-
.../DatabaseConnectionForm/EncryptedField.tsx | 15 +-
.../DatabaseConnectionForm/ValidatedInputField.tsx | 14 +-
.../DatabaseModal/DatabaseConnectionForm/index.tsx | 1 +
.../databases/DatabaseModal/ModalHeader.tsx | 10 +-
.../databases/DatabaseModal/index.test.tsx | 19 +-
.../src/features/databases/DatabaseModal/index.tsx | 66 +-
.../UploadDataModel/UploadDataModal.test.tsx | 133 +-
.../features/databases/UploadDataModel/index.tsx | 36 +-
superset-frontend/src/features/databases/types.ts | 48 +-
.../AddDataset/DatasetPanel/DatasetPanel.tsx | 9 +-
.../features/datasets/AddDataset/Footer/index.tsx | 2 +-
.../src/features/home/ActivityTable.tsx | 14 +-
.../src/features/home/RightMenu.test.tsx | 3 +-
superset-frontend/src/features/home/RightMenu.tsx | 6 +-
.../HeaderReportDropdown/index.test.tsx | 22 +-
.../reports/ReportModal/ReportModal.test.tsx | 36 +-
.../src/features/reports/ReportModal/index.tsx | 40 +-
.../src/features/reports/ReportModal/styles.tsx | 4 -
superset-frontend/src/features/tags/TagModal.tsx | 2 +-
superset-frontend/src/features/tags/tags.ts | 7 +-
.../src/hooks/apiResources/datasets.ts | 2 +-
.../src/hooks/apiResources/schemas.test.ts | 6 +-
superset-frontend/src/hooks/apiResources/sqlLab.ts | 4 +-
.../src/hooks/apiResources/tables.test.ts | 16 +-
superset-frontend/src/hooks/apiResources/tables.ts | 10 +-
superset-frontend/src/hooks/useLocale.ts | 7 +-
.../src/middleware/asyncEvent.test.ts | 22 +-
superset-frontend/src/pages/AllEntities/index.tsx | 24 +-
.../src/pages/ChartList/ChartList.test.jsx | 24 +-
.../src/pages/DashboardList/DashboardList.test.jsx | 22 +-
.../src/pages/DatasetList/DatasetList.test.tsx | 17 +-
superset-frontend/src/pages/Home/Home.test.tsx | 15 +-
.../pages/SavedQueryList/SavedQueryList.test.jsx | 123 +-
.../src/pages/SavedQueryList/index.tsx | 36 +-
superset-frontend/src/reduxUtils.ts | 14 +-
superset-frontend/src/setup/setupErrorMessages.ts | 5 +
superset-frontend/src/theme/index.ts | 9 -
superset-frontend/src/types/TaggedObject.ts | 23 +-
.../src/utils/{textUtils.ts => types.ts} | 16 +-
superset-frontend/src/views/App.tsx | 19 +-
superset-frontend/src/views/CRUD/hooks.ts | 11 +-
superset-frontend/src/views/CRUD/types.ts | 1 +
superset-frontend/src/views/CRUD/utils.tsx | 6 +-
.../src/visualizations/TimeTable/transformProps.ts | 4 +-
superset-frontend/tsconfig.json | 3 -
superset/charts/api.py | 111 +-
superset/charts/schemas.py | 15 +
superset/commands/database/tables.py | 6 +
superset/commands/database/uploaders/base.py | 7 +
superset/commands/report/execute.py | 28 +-
superset/config.py | 21 +-
superset/connectors/sqla/views.py | 436 +-
superset/constants.py | 4 +-
superset/dashboards/api.py | 261 +-
superset/dashboards/schemas.py | 6 +
superset/databases/api.py | 302 +-
superset/databases/schemas.py | 220 +-
.../db_engine_specs/{crate.py => parseable.py} | 46 +-
superset/db_engine_specs/sqlite.py | 10 +-
superset/initialization/__init__.py | 9 +-
superset/migrations/shared/catalogs.py | 11 +-
...34_74ad1125881c_converge_upload_permissions.py} | 21 +-
superset/models/slice.py | 4 +-
superset/reports/models.py | 34 +
superset/reports/notifications/email.py | 27 +-
superset/security/manager.py | 3 +-
superset/sql/parse.py | 2 +-
superset/sqllab/permalink/schemas.py | 5 +
superset/sqllab/permalink/types.py | 1 +
superset/tasks/thumbnails.py | 15 +-
superset/utils/screenshots.py | 190 +-
superset/utils/webdriver.py | 10 +-
superset/views/base.py | 101 +-
superset/views/chart/mixin.py | 92 -
superset/views/chart/views.py | 67 +-
superset/views/database/mixins.py | 285 -
superset/views/database/views.py | 59 +-
superset/views/sql_lab/views.py | 34 +-
tests/integration_tests/async_events/api_tests.py | 9 +-
tests/integration_tests/cli_tests.py | 6 +-
tests/integration_tests/core_tests.py | 27 -
tests/integration_tests/dashboards/api_tests.py | 40 +-
tests/integration_tests/databases/api_tests.py | 33 +-
.../integration_tests/dict_import_export_tests.py | 23 -
tests/integration_tests/security_tests.py | 4 +-
tests/integration_tests/thumbnails_tests.py | 27 +-
tests/unit_tests/commands/databases/tables_test.py | 28 +-
tests/unit_tests/commands/report/execute_test.py | 115 +
tests/unit_tests/databases/api_test.py | 146 +-
.../{test_crate.py => test_parseable.py} | 32 +-
.../unit_tests/migrations/shared/catalogs_test.py | 250 +
tests/unit_tests/models/core_test.py | 56 +
.../reports/notifications/email_tests.py | 42 +
tests/unit_tests/utils/screenshot_test.py | 194 +
tests/unit_tests/views/__init__.py | 16 -
tests/unit_tests/views/database/__init__.py | 16 -
tests/unit_tests/views/database/mixins_test.py | 65 -
422 files changed, 31419 insertions(+), 72167 deletions(-)
create mode 100644
superset-frontend/src/SqlLab/components/TablePreview/TablePreview.test.tsx
create mode 100644
superset-frontend/src/SqlLab/components/TablePreview/index.tsx
rename superset-frontend/src/components/Datasource/{CollectionTable.test.jsx
=> CollectionTable.test.tsx} (98%)
create mode 100644
superset-frontend/src/components/ErrorMessage/ErrorAlert.stories.tsx
copy
superset-frontend/src/components/ErrorMessage/{DatasetNotFoundErrorMessage.test.tsx
=> FrontendNetworkErrorMessage.test.tsx} (58%)
copy
superset-frontend/src/components/ErrorMessage/{DatasetNotFoundErrorMessage.tsx
=> FrontendNetworkErrorMessage.tsx} (80%)
create mode 100644
superset-frontend/src/components/GridTable/GridTable.test.tsx
create mode 100644 superset-frontend/src/components/GridTable/Header.test.tsx
create mode 100644 superset-frontend/src/components/GridTable/Header.tsx
create mode 100644
superset-frontend/src/components/GridTable/HeaderMenu.test.tsx
create mode 100644 superset-frontend/src/components/GridTable/HeaderMenu.tsx
copy
superset-frontend/{plugins/legacy-plugin-chart-country-map/src/geojson.d.ts =>
src/components/GridTable/constants.ts} (89%)
create mode 100644 superset-frontend/src/components/GridTable/index.tsx
delete mode 100644
superset-frontend/src/dashboard/components/ColorSchemeControlWrapper.jsx
create mode 100644
superset-frontend/src/dashboard/components/ColorSchemeControlWrapper.tsx
rename superset-frontend/src/dashboard/util/{findTabIndexByComponentId.test.js
=> findTabIndexByComponentId.test.ts} (91%)
rename superset-frontend/src/dashboard/util/{findTabIndexByComponentId.js =>
findTabIndexByComponentId.ts} (86%)
delete mode 100644
superset-frontend/src/dashboard/util/replaceUndefinedByNull.ts
copy superset-frontend/src/utils/{textUtils.ts => types.ts} (73%)
copy superset/db_engine_specs/{crate.py => parseable.py} (56%)
copy
superset/migrations/versions/{2024-02-07_17-13_87d38ad83218_migrate_can_view_and_drill_permission.py
=> 2025-01-22_14-34_74ad1125881c_converge_upload_permissions.py} (81%)
delete mode 100644 superset/views/chart/mixin.py
delete mode 100644 superset/views/database/mixins.py
copy tests/unit_tests/db_engine_specs/{test_crate.py => test_parseable.py}
(60%)
create mode 100644 tests/unit_tests/utils/screenshot_test.py
delete mode 100644 tests/unit_tests/views/__init__.py
delete mode 100644 tests/unit_tests/views/database/__init__.py
delete mode 100644 tests/unit_tests/views/database/mixins_test.py