This is an automated email from the ASF dual-hosted git repository.
elizabeth pushed a change to branch elizabeth/fix-stacked-totals
in repository https://gitbox.apache.org/repos/asf/superset.git
discard fe1ecb4108 use getmetricLabel
discard 9fd7f26564 fix tests
discard a2a40bd649 remove sort values on stacked totals
add 66c22f896b docs: clarify port configuration for Cypress (#31916)
add 8960db4132 chore(fe): dev deps cleanup (#31908)
add 63843c5682 fix(date_parser): fixed bug for advanced time range filter
(#31867)
add 79f21b09d2 fix(E2E): Fix flaky Dashboard list delete test (#31933)
add 550123882c fix: adjust line type as well as weight for time series
(#30949)
add eec374426f refactor(Menu): Upgrade Menu Component to Ant Design 5
(#31699)
add f8fe780f52 chore: replace Lodash usage with native JS implementation
(#31907)
add 4417e6eaef fix: Prevent undo functionality from referencing incorrect
dashboard edits (#31809)
add b5ac415afc docs: Removed mentioning of .env-non-dev in
docker/README.md (#31460)
add 43a97f86f5 fix: Load cached DB metadata as DatasourceName and add
catalog to schema_list cache key (#31948)
add dca3efb3dd fix: correct value for config variable `UPLOAD_FOLDER`
(#25166)
add a02a2f5a96 chore: Reduces the form_data_key length (#31905)
add dfb9af36df chore: cypress set up tweaks (#31926)
add 78cd635b7a chore(GAQ): Remove GLOBAL_ASYNC_QUERIES_REDIS_CONFIG
(#30284)
add 983aa827a8 chore: bump FAB to 4.5.3 (#31947)
add 7383e4348b fix(timezoneselector): Correct the order to match names
first (#31941)
add b74da7963b chore(fe): migrate 6 Enzyme-based unit tests to RTL (#31819)
add e4e07eef5a feat(CalendarFrame): adding previous calendar quarter
(#31889)
add f5fff5eaad refactor: Removes legacy CSS template endpoint (#31942)
add 7cf7267085 refactor: Removes legacy dashboard endpoints (#31943)
add 1d6423e71f fix(sqllab): Missing allowHTML props in
ResultTableExtension (#31960)
add 7482b20f7b chore: replace selenium user with fixed user (#31844)
add fcd166149c chore: Empty state refactor (#31860)
add 6d117ffbb5 chore: fix `tsc` errors (#31965)
add 14f798afec fix: proper URL building (#31962)
add fc5dde15fe chore(build): enforce eslint rule banning antd imports
outside of core Superset components (#31963)
add 51e090d67a fix(verbose map): Correct raw metrics handling in verbose
map (#29417)
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)
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)
add 4a3c623a85 remove sort values on stacked totals
add 231f6d6ec5 fix tests
add 9682d76902 use getmetricLabel
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 (fe1ecb4108)
\
N -- N -- N refs/heads/elizabeth/fix-stacked-totals (9682d76902)
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/dependency-review.yml | 1 +
.github/workflows/ephemeral-env.yml | 425 +-
.github/workflows/superset-docs-verify.yml | 1 -
.github/workflows/superset-e2e.yml | 4 +-
.gitignore | 7 +-
.pre-commit-config.yaml | 16 +-
Dockerfile | 71 +-
RESOURCES/FEATURE_FLAGS.md | 5 +-
RESOURCES/INTHEWILD.md | 1 +
UPDATING.md | 9 +
docker/README.md | 2 +-
docker/docker-bootstrap.sh | 5 +-
docker/docker-init.sh | 17 +-
docker/entrypoints/docker-ci.sh | 2 +-
docs/docs/configuration/alerts-reports.mdx | 8 +-
docs/docs/configuration/cache.mdx | 7 +-
docs/docs/configuration/databases.mdx | 18 +
docs/docs/contributing/howtos.mdx | 35 +-
pyproject.toml | 3 +-
requirements/base.txt | 20 +-
requirements/development.txt | 26 +-
scripts/cypress_run.py | 2 +-
superset-frontend/.eslintrc.js | 7 +-
superset-frontend/babel.config.js | 16 +-
superset-frontend/cypress-base/cypress.config.ts | 12 +-
.../cypress/e2e/dashboard/drillby.test.ts | 18 +-
.../cypress/e2e/dashboard/drilltodetail.test.ts | 149 +-
.../cypress/e2e/dashboard/editmode.test.ts | 13 +-
.../e2e/dashboard/horizontalFilterBar.test.ts | 14 +-
.../cypress/e2e/dashboard_list/list.test.ts | 58 +-
.../cypress/e2e/explore/annotations.test.ts | 2 +-
.../cypress-base/cypress/e2e/explore/link.test.ts | 7 +-
.../cypress-base/cypress/e2e/sqllab/query.test.ts | 5 +-
.../cypress-base/cypress/support/directories.ts | 8 +-
.../cypress-base/cypress/support/e2e.ts | 11 +-
superset-frontend/jest.config.js | 10 +-
superset-frontend/package-lock.json | 117646 ++++++------------
superset-frontend/package.json | 53 +-
.../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 +-
.../src/operators/utils/timeOffset.ts | 5 +-
.../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/components/SafeMarkdown.tsx | 4 +-
.../superset-ui-core/src/models/Registry.ts | 4 +-
.../src/query/getClientErrorObject.ts | 2 +-
.../superset-ui-core/src/query/normalizeOrderBy.ts | 4 +-
.../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 | 16 +-
.../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 | 10 +-
.../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 | 18 +-
.../src/Timeseries/transformers.ts | 10 +-
.../plugin-chart-echarts/src/utils/forecast.ts | 38 +-
.../src/utils/formDataSuffix.ts | 4 +-
.../plugin-chart-echarts/src/utils/treeBuilder.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 +-
.../plugins/plugin-chart-table/src/TableChart.tsx | 6 +-
.../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 | 17 +-
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/QueryHistory/index.tsx | 5 +-
.../components/QueryTable/QueryTable.test.tsx | 16 +-
.../src/SqlLab/components/QueryTable/index.tsx | 15 +-
.../SqlLab/components/ResultSet/ResultSet.test.tsx | 10 +-
.../SqlLab/components/SaveDatasetModal/index.tsx | 8 +-
.../components/ScheduleQueryButton/index.tsx | 4 +-
.../ShareSqlLabQuery/ShareSqlLabQuery.test.tsx | 21 +-
.../src/SqlLab/components/ShowSQL/index.tsx | 12 +-
.../src/SqlLab/components/SouthPane/Results.tsx | 4 +-
.../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 | 30 +-
.../SqlEditorLeftBar/SqlEditorLeftBar.test.tsx | 63 +-
.../SqlLab/components/SqlEditorLeftBar/index.tsx | 17 +-
.../SqlLab/components/TabbedSqlEditors/index.tsx | 5 +-
.../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 +-
superset-frontend/src/assets/images/chart.svg | Bin 3130 -> 3223 bytes
superset-frontend/src/assets/images/document.svg | Bin 1038 -> 1072 bytes
.../src/assets/images/empty-charts.svg | Bin 3823 -> 1461 bytes
.../src/assets/images/empty-dashboard.svg | Bin 1583 -> 1631 bytes
.../src/assets/images/empty-dataset.svg | Bin 4219 -> 4303 bytes
.../src/assets/images/empty-queries.svg | Bin 5778 -> 5832 bytes
.../src/assets/images/empty-query.svg | Bin 1702 -> 1702 bytes
.../src/assets/images/empty-table.svg | Bin 2554 -> 2541 bytes
superset-frontend/src/assets/images/empty.svg | Bin 1915 -> 1944 bytes
.../src/assets/images/empty_sql_chart.svg | Bin 5972 -> 5957 bytes
.../src/assets/images/filter-results.svg | Bin 1904 -> 1902 bytes
superset-frontend/src/assets/images/filter.svg | Bin 1728 -> 1606 bytes
.../src/assets/images/star-circle.svg | Bin 2023 -> 2051 bytes
superset-frontend/src/assets/images/union.svg | Bin 1871 -> 1899 bytes
superset-frontend/src/assets/images/vector.svg | Bin 2665 -> 2669 bytes
.../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 | 28 +-
.../Chart/ChartContextMenu/ChartContextMenu.tsx | 96 +-
.../Chart/ChartContextMenu/useContextMenu.test.tsx | 1 -
.../src/components/Chart/ChartErrorMessage.tsx | 7 +-
.../src/components/Chart/ChartRenderer.jsx | 14 +-
.../Chart/DrillBy/DrillByMenuItems.test.tsx | 11 +-
.../components/Chart/DrillBy/DrillByModal.test.tsx | 4 +-
.../src/components/Chart/DrillBy/DrillByModal.tsx | 9 +-
.../Chart/DrillBy/useDisplayModeToggle.tsx | 28 +-
.../DrillDetail/DrillDetailMenuItems.test.tsx | 105 +-
.../Chart/DrillDetail/DrillDetailMenuItems.tsx | 37 +-
.../Chart/DrillDetail/DrillDetailModal.tsx | 2 +-
.../Chart/DrillDetail/DrillDetailPane.tsx | 13 +-
.../components/Chart/MenuItemWithTruncation.tsx | 5 +-
.../src/components/Chart/chartActions.test.js | 40 +-
.../src/components/Checkbox/Checkbox.stories.tsx | 4 +-
.../DatabaseSelector/DatabaseSelector.test.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/Dropdown/index.tsx | 16 +-
.../components/DropdownSelectableIcon/index.tsx | 60 +-
.../components/EmptyState/EmptyState.stories.tsx | 99 +-
.../src/components/EmptyState/index.tsx | 254 +-
.../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 | 9 +-
superset-frontend/src/components/ListView/types.ts | 20 +-
superset-frontend/src/components/ListView/utils.ts | 5 +-
.../{ImageLoader.test.jsx => ImageLoader.test.tsx} | 45 +-
.../src/components/ListViewCard/ImageLoader.tsx | 1 +
...ListViewCard.test.jsx => ListViewCard.test.tsx} | 25 +-
.../src/components/ListViewCard/index.tsx | 3 +-
.../Menu.stories.tsx} | 58 +-
superset-frontend/src/components/Menu/index.tsx | 173 +-
.../src/components/ModalTrigger/index.tsx | 6 +-
.../src/components/PopoverDropdown/index.tsx | 4 +-
.../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 | 32 +-
.../src/components/Steps/Steps.stories.tsx | 3 +-
.../src/components/Table/Table.stories.tsx | 52 +-
.../Table/cell-renderers/ActionCell/index.tsx | 5 +-
.../Table/cell-renderers/NullCell/index.tsx | 16 +-
.../header-renderers/HeaderWithRadioGroup.tsx | 20 +-
superset-frontend/src/components/Table/index.tsx | 71 +-
.../src/components/Table/sorters.test.ts | 8 +
superset-frontend/src/components/Table/sorters.ts | 14 +-
.../TimezoneSelector/TimezoneSelector.test.tsx | 5 +-
.../src/components/TimezoneSelector/index.tsx | 25 +-
superset-frontend/src/components/Tooltip/index.tsx | 8 +-
.../components/WarningIconWithTooltip/index.tsx | 2 +-
superset-frontend/src/components/index.ts | 1 +
.../src/dashboard/actions/dashboardLayout.js | 2 +
.../src/dashboard/actions/dashboardState.js | 26 +-
.../src/dashboard/actions/dashboardState.test.js | 18 +-
superset-frontend/src/dashboard/actions/hydrate.js | 18 +-
.../components/AddSliceCard/AddSliceCard.tsx | 2 +-
.../BuilderComponentPane.test.tsx | 4 +-
.../components/ColorSchemeControlWrapper.jsx | 76 -
.../components/ColorSchemeControlWrapper.tsx | 64 +
.../components/CssEditor/CssEditor.test.tsx | 2 +-
.../src/dashboard/components/CssEditor/index.tsx | 5 +-
.../src/dashboard/components/Dashboard.jsx | 7 +-
.../src/dashboard/components/Dashboard.test.jsx | 1 +
.../DashboardBuilder/DashboardBuilder.tsx | 19 +-
.../DashboardBuilder/DashboardContainer.tsx | 2 +-
.../DashboardBuilder/DashboardWrapper.tsx | 2 +-
.../src/dashboard/components/DashboardGrid.jsx | 11 +-
.../HeaderActionsDropdown.test.tsx | 6 +-
.../Header/HeaderActionsDropdown/index.tsx | 34 +-
.../src/dashboard/components/Header/index.jsx | 8 +-
.../OverwriteConfirmModal.test.tsx | 4 +-
.../PropertiesModal/PropertiesModal.test.tsx | 48 +-
.../dashboard/components/PropertiesModal/index.tsx | 2 -
.../components/RefreshIntervalModal.test.tsx | 14 +-
.../src/dashboard/components/SliceAdder.tsx | 2 +-
.../SliceHeaderControls.test.tsx | 217 +-
.../ViewResultsModalTrigger.tsx | 128 +-
.../components/SliceHeaderControls/index.tsx | 179 +-
.../components/SliceHeaderControls/utils.ts | 293 -
.../components/SyncDashboardState/index.tsx | 5 +-
.../components/URLShortLinkButton/index.tsx | 3 +-
.../src/dashboard/components/dnd/DragDroppable.jsx | 2 +-
.../components/gridComponents/Chart.test.jsx | 8 +-
.../components/gridComponents/ChartHolder.test.tsx | 2 +-
.../components/gridComponents/Divider.test.jsx | 44 +-
.../dashboard/components/gridComponents/Tab.jsx | 7 +-
.../components/gridComponents/Tab.test.jsx | 3 +-
.../components/gridComponents/Tab.test.tsx | 4 +-
.../components/gridComponents/Tabs.test.tsx | 3 -
.../gridComponents/new/DraggableNewComponent.jsx | 2 +-
.../new/DraggableNewComponent.test.jsx | 5 +-
.../DownloadMenuItems/DownloadMenuItems.test.tsx | 12 +-
.../components/menu/DownloadMenuItems/index.tsx | 69 +-
.../menu/ShareMenuItems/ShareMenuItems.test.tsx | 62 +-
.../components/menu/ShareMenuItems/index.tsx | 35 +-
.../FilterBar/ActionButtons/index.tsx | 18 +-
.../CrossFilters/ScopingModal/ScopingModal.tsx | 5 +-
.../nativeFilters/FilterBar/FilterBar.test.tsx | 15 +-
.../FilterBarSettings/FilterBarSettings.test.tsx | 82 +-
.../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 | 17 +-
.../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/styles.ts | 2 +-
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 +-
.../DataTablesPane/components/SamplesPane.tsx | 4 +-
.../DataTablesPane/components/useResultsPane.tsx | 6 +-
.../explore/components/DatasourcePanel/index.tsx | 6 +-
.../src/explore/components/ExploreAlert.tsx | 14 +-
.../components/ExploreChartHeader/index.jsx | 2 +-
.../ExportToCSVDropdown.test.tsx | 27 +-
.../AnnotationLayerControl/AnnotationLayer.jsx | 5 +-
.../explore/components/controls/BoundsControl.tsx | 4 +-
.../ColorSchemeControl/ColorSchemeControl.test.tsx | 1 -
.../controls/ColorSchemeControl/index.tsx | 16 +-
.../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 | 49 +-
.../controls/DateFilterControl/DateFilterLabel.tsx | 6 -
.../DateFilterControl/components/CalendarFrame.tsx | 18 +-
.../DateFilterControl/components/CommonFrame.tsx | 18 +-
.../components/CurrentCalendarFrame.tsx | 25 +-
.../DateFilterControl/components/CustomFrame.tsx | 18 +-
.../DateFilterControl/tests/CalendarFrame.test.tsx | 92 +
.../DateFilterControl/tests/CustomFrame.test.tsx | 8 +-
.../components/controls/DateFilterControl/types.ts | 2 +
.../controls/DateFilterControl/utils/constants.ts | 16 +-
.../DndColumnSelectControl/ColumnSelectPopover.tsx | 11 +-
...AdhocFilterEditPopoverSimpleTabContent.test.tsx | 25 +-
.../index.tsx | 6 +-
.../controls/FilterControl/utils/translateToSQL.ts | 8 +-
.../utils/useGetTimeRangeLabel.test.ts | 18 +-
.../MetricControl/AdhocMetricEditPopover/index.jsx | 8 +-
.../components/controls/SliderControl.stories.tsx | 19 +-
.../components/controls/TimeOffsetControl.tsx | 2 +-
.../components/controls/ViewportControl.test.jsx | 32 +-
.../controls/VizTypeControl/VizTypeGallery.tsx | 2 +-
.../components/controls/VizTypeControl/index.tsx | 10 +-
.../components/controls/VizTypeControl/types.ts | 10 +
.../DashboardsSubMenu.test.tsx | 69 +-
.../useExploreAdditionalActionsMenu/index.jsx | 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.test.tsx | 1 +
.../src/features/alerts/AlertReportModal.tsx | 10 +-
.../features/alerts/components/AlertStatusIcon.tsx | 4 +-
.../src/features/allEntities/AllEntitiesTable.tsx | 25 +-
.../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 | 146 +-
.../features/databases/UploadDataModel/index.tsx | 36 +-
superset-frontend/src/features/databases/types.ts | 48 +-
.../AddDataset/DatasetPanel/DatasetPanel.tsx | 9 +-
.../AddDataset/DatasetPanel/MessageContent.tsx | 7 +-
.../AddDataset/EditDataset/UsageTab/index.tsx | 7 +-
.../features/datasets/AddDataset/Footer/index.tsx | 2 +-
.../datasets/AddDataset/LeftPanel/index.tsx | 21 +-
.../src/features/home/ActivityTable.test.tsx | 6 +-
.../src/features/home/ActivityTable.tsx | 14 +-
.../src/features/home/ChartTable.test.tsx | 4 +-
.../src/features/home/DashboardTable.test.tsx | 2 +-
.../src/features/home/EmptyState.test.tsx | 14 +-
superset-frontend/src/features/home/EmptyState.tsx | 206 +-
.../home/LanguagePicker.stories.tsx} | 57 +-
.../src/features/home/LanguagePicker.test.tsx | 4 +-
superset-frontend/src/features/home/Menu.test.tsx | 29 +-
superset-frontend/src/features/home/Menu.tsx | 106 +-
.../src/features/home/RightMenu.test.tsx | 5 +-
superset-frontend/src/features/home/RightMenu.tsx | 47 +-
.../src/features/home/SubMenu.test.tsx | 2 +-
superset-frontend/src/features/home/SubMenu.tsx | 105 +-
.../HeaderReportDropdown/index.test.tsx | 24 +-
.../ReportModal/HeaderReportDropdown/index.tsx | 40 +-
.../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/DatasetList/index.tsx | 3 +-
superset-frontend/src/pages/Home/Home.test.tsx | 15 +-
superset-frontend/src/pages/Home/index.tsx | 3 -
.../RowLevelSecurityList.test.tsx | 64 +-
.../pages/SavedQueryList/SavedQueryList.test.jsx | 123 +-
.../src/pages/SavedQueryList/index.tsx | 36 +-
superset-frontend/src/reduxUtils.ts | 31 +-
superset-frontend/src/setup/setupErrorMessages.ts | 5 +
superset-frontend/src/theme/index.ts | 27 +-
superset-frontend/src/types/Dashboard.ts | 2 +-
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 +-
superset-frontend/src/views/menu.tsx | 23 +-
superset-frontend/src/views/routes.tsx | 6 +-
.../src/visualizations/TimeTable/transformProps.ts | 4 +-
superset-frontend/tsconfig.json | 3 -
superset-websocket/README.md | 2 +-
superset/async_events/async_query_manager.py | 16 +-
superset/charts/api.py | 111 +-
superset/charts/schemas.py | 15 +
superset/commands/database/tables.py | 13 +-
superset/commands/database/uploaders/base.py | 7 +
superset/commands/report/alert.py | 2 +-
superset/commands/report/execute.py | 34 +-
superset/config.py | 83 +-
superset/connectors/sqla/models.py | 15 +-
superset/connectors/sqla/views.py | 436 +-
superset/constants.py | 4 +-
superset/dashboards/api.py | 261 +-
superset/dashboards/permalink/api.py | 5 +-
superset/dashboards/schemas.py | 8 +-
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/explore/permalink/api.py | 5 +-
superset/initialization/__init__.py | 17 +-
superset/key_value/shared_entries.py | 3 +-
superset/key_value/utils.py | 10 +-
superset/migrations/shared/catalogs.py | 11 +-
...34_74ad1125881c_converge_upload_permissions.py} | 21 +-
superset/models/core.py | 12 +-
superset/models/dashboard.py | 9 +-
superset/models/slice.py | 13 +-
superset/reports/notifications/email.py | 27 +-
superset/security/manager.py | 3 +-
superset/sql/parse.py | 2 +-
superset/sqllab/permalink/api.py | 9 +-
superset/sqllab/permalink/schemas.py | 5 +
superset/sqllab/permalink/types.py | 1 +
superset/static/{ => assets}/.gitkeep | 0
superset/static/{ => uploads}/.gitkeep | 0
superset/tasks/cache.py | 96 +-
superset/tasks/exceptions.py | 4 +
superset/tasks/thumbnails.py | 21 +-
superset/tasks/types.py | 20 +-
superset/tasks/utils.py | 58 +-
superset/thumbnails/digest.py | 40 +-
superset/utils/date_parser.py | 206 +-
superset/utils/screenshots.py | 203 +-
superset/utils/webdriver.py | 10 +-
superset/views/base.py | 101 +-
superset/views/chart/mixin.py | 92 -
superset/views/chart/views.py | 67 +-
superset/views/css_templates.py | 26 +-
superset/views/dashboard/views.py | 75 +-
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 | 14 +-
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/reports/alert_tests.py | 12 +-
tests/integration_tests/reports/commands_tests.py | 2 +-
tests/integration_tests/security_tests.py | 4 +-
tests/integration_tests/strategy_tests.py | 31 +-
.../integration_tests/tasks/async_queries_tests.py | 7 -
tests/integration_tests/thumbnails_tests.py | 79 +-
.../async_events/async_query_manager_tests.py | 3 -
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/tasks/test_utils.py | 59 +-
tests/unit_tests/thumbnails/test_digest.py | 36 +-
tests/unit_tests/utils/date_parser_tests.py | 68 +
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 -
561 files changed, 45977 insertions(+), 88486 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
rename superset-frontend/src/components/ListViewCard/{ImageLoader.test.jsx =>
ImageLoader.test.tsx} (65%)
rename superset-frontend/src/components/ListViewCard/{ListViewCard.test.jsx =>
ListViewCard.test.tsx} (70%)
copy superset-frontend/src/components/{IconButton/IconButton.stories.tsx =>
Menu/Menu.stories.tsx} (52%)
delete mode 100644
superset-frontend/src/dashboard/components/ColorSchemeControlWrapper.jsx
create mode 100644
superset-frontend/src/dashboard/components/ColorSchemeControlWrapper.tsx
delete mode 100644
superset-frontend/src/dashboard/components/SliceHeaderControls/utils.ts
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
create mode 100644
superset-frontend/src/explore/components/controls/DateFilterControl/tests/CalendarFrame.test.tsx
copy superset-frontend/src/{components/Radio/Radio.stories.tsx =>
features/home/LanguagePicker.stories.tsx} (53%)
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%)
copy superset/static/{ => assets}/.gitkeep (100%)
copy superset/static/{ => uploads}/.gitkeep (100%)
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