This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a change to branch remove-AVOID_COLORS_COLLISION-flag
in repository https://gitbox.apache.org/repos/asf/superset.git
omit dc2f3766a3 Merge branch 'master' into
remove-AVOID_COLORS_COLLISION-flag
omit 11f840a041 fixing eslint/prettier conflicts
omit ee815160bf Merge branch 'master' into
remove-AVOID_COLORS_COLLISION-flag
omit 695a33565a updating the PR link
omit 68e53ad1d4 chore(config): remove deprecated AVOID_COLORS_COLLISION flag
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 9bd60fcf3b chore(config): remove deprecated AVOID_COLORS_COLLISION flag
add 655c6a30f6 updating the PR link
add d048c970df fixing eslint/prettier conflicts
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 (dc2f3766a3)
\
N -- N -- N refs/heads/remove-AVOID_COLORS_COLLISION-flag
(d048c970df)
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/superset-docs-verify.yml | 1 -
.github/workflows/superset-e2e.yml | 4 +-
.gitignore | 6 +-
RESOURCES/FEATURE_FLAGS.md | 3 +-
RESOURCES/INTHEWILD.md | 1 +
UPDATING.md | 5 +-
docker/README.md | 2 +-
docker/docker-init.sh | 17 +-
docs/docs/configuration/alerts-reports.mdx | 5 +-
docs/docs/configuration/cache.mdx | 7 +-
pyproject.toml | 2 +-
requirements/base.txt | 20 +-
requirements/development.txt | 26 +-
scripts/cypress_run.py | 2 +-
superset-frontend/.eslintrc.js | 7 +-
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 | 2 +-
.../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/package-lock.json | 177 +++------
superset-frontend/package.json | 4 +-
.../src/operators/utils/timeOffset.ts | 5 +-
.../src/components/SafeMarkdown.tsx | 4 +-
.../superset-ui-core/src/models/Registry.ts | 4 +-
.../superset-ui-core/src/query/normalizeOrderBy.ts | 4 +-
.../packages/superset-ui-core/src/style/index.tsx | 7 -
.../superset-ui-core/src/ui-overrides/types.ts | 5 +-
.../superset-ui-core/src/utils/featureFlags.ts | 1 -
.../plugins/plugin-chart-table/birthNames.json | 1 -
.../src/ReactCalendar.jsx | 8 +-
.../legacy-preset-chart-deckgl/src/utils.ts | 3 +-
.../plugin-chart-echarts/src/utils/forecast.ts | 5 +-
.../plugin-chart-echarts/src/utils/treeBuilder.ts | 4 +-
.../plugins/plugin-chart-table/src/TableChart.tsx | 6 +-
superset-frontend/spec/fixtures/mockDatasource.js | 1 -
superset-frontend/src/GlobalStyles.tsx | 16 +-
.../src/SqlLab/components/QueryHistory/index.tsx | 5 +-
.../components/QueryTable/QueryTable.test.tsx | 16 +-
.../SqlLab/components/SaveDatasetModal/index.tsx | 4 +-
.../src/SqlLab/components/SouthPane/Results.tsx | 4 +-
.../src/SqlLab/components/SqlEditor/index.tsx | 14 +-
.../SqlLab/components/SqlEditorLeftBar/index.tsx | 6 +-
.../SqlLab/components/TabbedSqlEditors/index.tsx | 5 +-
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 | 2 +-
superset-frontend/src/components/Chart/Chart.tsx | 28 +-
.../Chart/ChartContextMenu/ChartContextMenu.tsx | 92 +++--
.../src/components/Chart/ChartErrorMessage.tsx | 7 +-
.../src/components/Chart/ChartRenderer.jsx | 7 +-
.../Chart/DrillBy/DrillByMenuItems.test.tsx | 11 +-
.../components/Chart/DrillBy/DrillByModal.test.tsx | 4 +-
.../DrillDetail/DrillDetailMenuItems.test.tsx | 105 +++--
.../Chart/DrillDetail/DrillDetailMenuItems.tsx | 37 +-
.../Chart/DrillDetail/DrillDetailModal.tsx | 2 +-
.../Chart/DrillDetail/DrillDetailPane.tsx | 4 +-
.../components/Chart/MenuItemWithTruncation.tsx | 5 +-
.../DatabaseSelector/DatabaseSelector.test.tsx | 4 +-
.../components/Datasource/DatasourceModal.test.jsx | 5 -
.../src/components/Datasource/DatasourceModal.tsx | 20 -
.../src/components/Dropdown/index.tsx | 16 +-
.../components/DropdownSelectableIcon/index.tsx | 60 ++-
.../components/EmptyState/EmptyState.stories.tsx | 99 +++--
.../src/components/EmptyState/index.tsx | 251 +++++-------
.../src/components/ErrorBoundary/index.tsx | 22 +-
.../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 | 341 ++++++----------
.../ErrorMessageWithStackTrace.test.tsx | 2 +-
.../ErrorMessage/ErrorMessageWithStackTrace.tsx | 37 +-
...Message.tsx => FrontendNetworkErrorMessage.tsx} | 16 +-
.../ErrorMessage/InvalidSQLErrorMessage.test.tsx | 135 +++----
.../ErrorMessage/InvalidSQLErrorMessage.tsx | 16 +-
.../ErrorMessage/OAuth2RedirectMessage.tsx | 9 +-
.../ErrorMessage/ParameterErrorMessage.test.tsx | 2 +-
.../ErrorMessage/ParameterErrorMessage.tsx | 15 +-
.../ErrorMessage/TimeoutErrorMessage.tsx | 15 +-
.../src/components/Label/Label.stories.tsx | 1 -
superset-frontend/src/components/Label/index.tsx | 15 +-
.../src/components/ListView/ListView.tsx | 8 +-
.../{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 +-
superset-frontend/src/components/Select/utils.tsx | 17 +-
.../Table/cell-renderers/ActionCell/index.tsx | 3 +-
superset-frontend/src/components/Table/index.tsx | 59 ++-
.../TimezoneSelector/TimezoneSelector.test.tsx | 5 +-
.../src/components/TimezoneSelector/index.tsx | 21 +-
.../components/WarningIconWithTooltip/index.tsx | 2 +-
superset-frontend/src/components/index.ts | 1 +
.../src/dashboard/actions/dashboardLayout.js | 2 +
.../components/AddSliceCard/AddSliceCard.tsx | 2 +-
.../components/CssEditor/CssEditor.test.tsx | 2 +-
.../src/dashboard/components/CssEditor/index.tsx | 5 +-
.../DashboardBuilder/DashboardBuilder.tsx | 13 +-
.../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 +-
.../components/RefreshIntervalModal.test.tsx | 14 +-
.../SliceHeaderControls.test.tsx | 217 +---------
.../ViewResultsModalTrigger.tsx | 128 +++---
.../components/SliceHeaderControls/index.tsx | 178 +++++----
.../components/SliceHeaderControls/utils.ts | 293 --------------
.../components/gridComponents/Chart.test.jsx | 8 +-
.../components/gridComponents/ChartHolder.test.tsx | 2 +-
.../components/gridComponents/Divider.test.jsx | 44 ++-
.../dashboard/components/gridComponents/Tab.jsx | 4 +-
.../components/gridComponents/Tab.test.tsx | 4 +-
.../DownloadMenuItems/DownloadMenuItems.test.tsx | 12 +-
.../components/menu/DownloadMenuItems/index.tsx | 69 ++--
.../menu/ShareMenuItems/ShareMenuItems.test.tsx | 62 +--
.../components/menu/ShareMenuItems/index.tsx | 35 +-
.../FilterBarSettings/FilterBarSettings.test.tsx | 16 +-
.../nativeFilters/FilterBar/Vertical.tsx | 5 +-
superset-frontend/src/dashboard/styles.ts | 2 +-
.../src/explore/components/ControlHeader.tsx | 9 +-
.../explore/components/ControlPanelsContainer.tsx | 6 +-
.../DataTablesPane/components/SamplesPane.tsx | 4 +-
.../DataTablesPane/components/useResultsPane.tsx | 6 +-
.../explore/components/DatasourcePanel/index.tsx | 3 +-
.../src/explore/components/ExploreAlert.tsx | 8 +-
.../AnnotationLayerControl/AnnotationLayer.jsx | 5 +-
.../explore/components/controls/BoundsControl.tsx | 4 +-
.../controls/ColorSchemeControl/index.tsx | 10 +-
.../FormattingPopoverContent.tsx | 4 +-
.../DatasourceControl/DatasourceControl.test.tsx | 2 +-
.../controls/DatasourceControl/index.jsx | 49 +--
.../DateFilterControl/components/CustomFrame.tsx | 3 +-
.../DateFilterControl/tests/CalendarFrame.test.tsx | 90 +++++
.../components/controls/DateFilterControl/types.ts | 2 +
.../controls/DateFilterControl/utils/constants.ts | 3 +
.../DndColumnSelectControl/ColumnSelectPopover.tsx | 11 +-
.../MetricControl/AdhocMetricEditPopover/index.jsx | 8 +-
.../components/controls/ViewportControl.test.jsx | 32 +-
.../components/controls/VizTypeControl/index.tsx | 10 +-
.../components/controls/VizTypeControl/types.ts | 10 +
.../DashboardsSubMenu.test.tsx | 67 ++--
.../useExploreAdditionalActionsMenu/index.jsx | 4 +-
.../src/features/alerts/AlertReportModal.test.tsx | 1 +
.../features/alerts/components/AlertStatusIcon.tsx | 4 +-
.../src/features/allEntities/AllEntitiesTable.tsx | 5 +-
.../src/features/dashboards/DashboardCard.tsx | 6 +-
.../databases/DatabaseModal/index.test.tsx | 8 +-
.../src/features/databases/DatabaseModal/index.tsx | 5 +-
.../UploadDataModel/UploadDataModal.test.tsx | 13 +-
.../AddDataset/DatasetPanel/MessageContent.tsx | 7 +-
.../AddDataset/EditDataset/UsageTab/index.tsx | 7 +-
.../datasets/AddDataset/LeftPanel/index.tsx | 21 +-
.../src/features/home/ActivityTable.test.tsx | 6 +-
.../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 | 2 +
superset-frontend/src/features/home/RightMenu.tsx | 41 +-
.../src/features/home/SubMenu.test.tsx | 2 +-
superset-frontend/src/features/home/SubMenu.tsx | 105 ++---
.../HeaderReportDropdown/index.test.tsx | 2 +-
.../ReportModal/HeaderReportDropdown/index.tsx | 40 +-
superset-frontend/src/pages/DatasetList/index.tsx | 3 +-
superset-frontend/src/pages/Home/index.tsx | 3 -
.../RowLevelSecurityList.test.tsx | 64 +--
.../pages/SavedQueryList/SavedQueryList.test.jsx | 65 +++
.../src/pages/SavedQueryList/index.tsx | 36 +-
superset-frontend/src/reduxUtils.ts | 17 +-
superset-frontend/src/setup/setupErrorMessages.ts | 5 +
superset-frontend/src/theme/index.ts | 27 +-
superset-frontend/src/types/Dashboard.ts | 2 +-
superset-frontend/src/views/App.tsx | 11 +-
superset-frontend/src/views/CRUD/types.ts | 1 +
superset-frontend/src/views/menu.tsx | 23 +-
superset-frontend/src/views/routes.tsx | 6 +-
superset-websocket/README.md | 2 +-
superset/async_events/async_query_manager.py | 16 +-
superset/commands/database/tables.py | 7 +-
superset/commands/report/alert.py | 2 +-
superset/commands/report/execute.py | 8 +-
superset/config.py | 66 ++--
superset/connectors/sqla/models.py | 15 +-
superset/connectors/sqla/views.py | 436 +--------------------
superset/dashboards/permalink/api.py | 5 +-
superset/dashboards/schemas.py | 2 +-
superset/databases/api.py | 2 +-
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/models/core.py | 12 +-
superset/models/dashboard.py | 9 +-
superset/models/slice.py | 9 +-
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 | 6 +-
superset/tasks/types.py | 20 +-
superset/tasks/utils.py | 58 +--
superset/thumbnails/digest.py | 40 +-
superset/utils/date_parser.py | 9 +
superset/utils/screenshots.py | 13 +-
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 | 5 -
tests/integration_tests/core_tests.py | 27 --
tests/integration_tests/databases/api_tests.py | 29 --
.../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/strategy_tests.py | 31 +-
.../integration_tests/tasks/async_queries_tests.py | 7 -
tests/integration_tests/thumbnails_tests.py | 52 +--
.../async_events/async_query_manager_tests.py | 3 -
tests/unit_tests/tasks/test_utils.py | 59 +--
tests/unit_tests/thumbnails/test_digest.py | 36 +-
tests/unit_tests/utils/date_parser_tests.py | 28 ++
tests/unit_tests/views/__init__.py | 16 -
tests/unit_tests/views/database/__init__.py | 16 -
tests/unit_tests/views/database/mixins_test.py | 65 ---
264 files changed, 2768 insertions(+), 4736 deletions(-)
create mode 100644
superset-frontend/src/components/ErrorMessage/ErrorAlert.stories.tsx
copy
superset-frontend/src/components/ErrorMessage/{DatasetNotFoundErrorMessage.tsx
=> FrontendNetworkErrorMessage.tsx} (79%)
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/SliceHeaderControls/utils.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/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
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