You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/11/24 17:26:42 UTC
(superset) branch supersetbot-bump-ruff updated (dd3150a2ba -> 692a8355dc)
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a change to branch supersetbot-bump-ruff
in repository https://gitbox.apache.org/repos/asf/superset.git
omit dd3150a2ba lint new rules
omit aee6d71aca chore(🦾): bump python ruff 0.4.5 -> 0.7.4
add 90572be95a fix(Dashboard): Retain colors when color scheme not set (#30646)
add 9e5b568cc9 fix(explore): verified props is not updated (#31008)
add f58b5295a9 chore: publish wheels (#30981)
add 0b647b2dcc docs: Embedded sdk (#30972)
add 8905508d8f fix(imports): import query_context for imports with charts (#30887)
add 7d60a88048 docs: Update doc about CSV upload (#30867)
add ccce9abf57 chore(🦾): bump python cattrs 23.2.3 -> 24.1.2 (#30998)
add 832fed1db5 fix(dataset): use sqlglot for DML check (#31024)
add f8adaf66c1 chore: Refactor dashboard header to func component (#31029)
add abf3790ea6 chore: Cleanup code related to MetadataBar, fix types (#31030)
add e0deb704f9 feat: make ephemeral env use supersetbot + deprecate build_docker.py (#30870)
add 67ad7da5cc fix: ephemeral environments missing env var (#31035)
add 91301bcd5b fix(Dashboard): Ensure shared label colors are updated (#31031)
add 3f1572fb79 chore(🦾): bump python ruff 0.4.5 -> 0.7.4
add 692a8355dc lint new rules
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 (dd3150a2ba)
\
N -- N -- N refs/heads/supersetbot-bump-ruff (692a8355dc)
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:
.gitattributes | 1 +
.github/actions/chart-releaser-action | 2 +-
.github/workflows/ephemeral-env.yml | 134 ++-
Dockerfile | 12 +-
RELEASING/README.md | 5 +-
docker-compose.yml | 19 +-
docker/docker-frontend.sh | 5 +
docs/docs/installation/docker-builds.mdx | 6 +-
docs/docs/installation/docker-compose.mdx | 8 +
docs/docs/installation/pypi.mdx | 4 -
docs/docs/using-superset/exploring-data.mdx | 17 +-
docs/static/img/tutorial/add-data-upload.png | Bin 92207 -> 0 bytes
docs/static/img/tutorial/allow-file-uploads.png | Bin 0 -> 141937 bytes
.../img/tutorial/csv_to_database_configuration.png | Bin 147642 -> 253830 bytes
docs/static/img/tutorial/parse_dates_column.png | Bin 94557 -> 95136 bytes
docs/static/img/tutorial/upload_a_csv.png | Bin 104809 -> 71360 bytes
requirements/base.txt | 12 +-
scripts/build_docker.py | 294 -----
superset-embedded-sdk/README.md | 29 +
.../cypress/e2e/dashboard/editmode.test.ts | 585 ++++++++--
.../e2e/dashboard/shared_dashboard_functions.ts | 2 +-
.../cypress-base/cypress/e2e/dashboard/utils.ts | 16 +-
.../src/shared-controls/sharedControls.tsx | 9 +-
.../superset-ui-chart-controls/src/types.ts | 3 +
.../src/utils/colorControls.ts} | 31 +-
.../superset-ui-chart-controls/src/utils/index.ts | 1 +
.../test/utils/colorControls.test.ts | 112 ++
.../src/color/CategoricalColorNamespace.ts | 40 +-
.../src/color/CategoricalColorScale.ts | 136 ++-
.../src/color/LabelsColorMapSingleton.ts | 97 +-
.../test/color/CategoricalColorNameSpace.test.ts | 59 +
.../test/color/CategoricalColorScale.test.ts | 108 +-
.../test/color/LabelsColorMapSingleton.test.ts | 92 +-
.../superset-ui-switchboard/package-lock.json | 13 -
.../plugins/legacy-plugin-chart-chord/src/Chord.js | 4 +-
.../src/CountryMap.js | 1 +
.../src/Histogram.jsx | 3 +-
.../legacy-plugin-chart-partition/src/Partition.js | 2 +-
.../plugins/legacy-plugin-chart-rose/src/Rose.js | 9 +-
.../src/SankeyLoop.js | 4 +-
.../legacy-plugin-chart-sankey/src/Sankey.js | 3 +-
.../legacy-plugin-chart-world-map/src/WorldMap.js | 11 +-
.../src/CategoricalDeckGLContainer.tsx | 16 +-
.../src/layers/Grid/Grid.tsx | 3 +-
.../src/layers/Hex/Hex.tsx | 3 +-
.../legacy-preset-chart-nvd3/src/NVD3Vis.js | 4 +-
.../src/BoxPlot/transformProps.ts | 6 +-
.../src/Bubble/transformProps.ts | 7 +-
.../src/Funnel/transformProps.ts | 3 +-
.../src/Gauge/transformProps.ts | 5 +-
.../src/Graph/transformProps.ts | 5 +-
.../plugin-chart-echarts/src/Pie/transformProps.ts | 3 +-
.../src/Radar/transformProps.ts | 3 +-
.../src/Sankey/transformProps.ts | 4 +-
.../src/Timeseries/transformProps.ts | 1 -
.../src/Treemap/transformProps.ts | 16 +-
.../src/chart/WordCloud.tsx | 10 +-
.../spec/fixtures/mockDashboardFormData.ts | 5 +-
.../spec/fixtures/mockDashboardState.js | 2 +-
.../src/components/MetadataBar/ContentType.ts | 2 +-
.../src/components/MetadataBar/MetadataBar.tsx | 33 +-
.../components/MetadataBar}/constants.ts | 26 +-
.../src/components/MetadataBar/index.tsx | 3 +-
.../src/dashboard/actions/dashboardState.js | 327 +++++-
.../DashboardBuilder/DashboardBuilder.test.tsx | 2 +
.../DashboardBuilder/DashboardBuilder.tsx | 2 +-
.../DashboardBuilder/DashboardContainer.tsx | 106 +-
.../dashboard/components/Header/Header.test.tsx | 346 +++---
.../src/dashboard/components/Header/index.jsx | 1217 +++++++++++---------
.../components/Header/useDashboardMetadataBar.tsx | 54 +
.../dashboard/components/PropertiesModal/index.tsx | 92 +-
.../components/SyncDashboardState/index.tsx | 4 +-
.../dashboard/components/gridComponents/Chart.jsx | 14 +-
.../FilterBar/CrossFilters/selectors.ts | 2 +-
.../FilterBarSettings/FilterBarSettings.test.tsx | 6 +-
.../FiltersConfigForm/FilterScope/utils.test.ts | 20 +-
.../src/dashboard/containers/Chart.jsx | 14 +-
.../src/dashboard/containers/DashboardHeader.jsx | 137 ---
.../src/dashboard/reducers/dashboardState.js | 28 +
superset-frontend/src/dashboard/types.ts | 11 +-
.../util/charts/getFormDataWithExtraFilters.ts | 20 +-
.../src/dashboard/util/crossFilters.test.ts | 4 +
.../components/ExploreChartHeader/index.jsx | 56 +-
.../ExploreChartHeader/useExploreMetadataBar.tsx | 71 ++
.../components/ExploreViewContainer/index.jsx | 10 +
.../ColorSchemeControl/ColorSchemeControl.test.tsx | 5 +-
.../controls/ColorSchemeControl/index.tsx | 102 +-
.../components/controls/withAsyncVerification.tsx | 25 +-
.../src/explore/controlUtils/controlUtils.test.tsx | 3 +
.../getFormDataFromDashboardContext.test.ts | 7 +-
.../getFormDataWithDashboardContext.ts | 7 +
superset-frontend/src/explore/types.ts | 4 +
superset-frontend/src/pages/Chart/index.tsx | 10 +-
.../src/types/DashboardContextForExplore.ts | 1 +
superset-frontend/src/utils/colorScheme.ts | 169 ++-
superset/commands/chart/importers/v1/__init__.py | 19 +-
.../commands/dashboard/importers/v1/__init__.py | 7 +-
superset/commands/importers/v1/assets.py | 7 +-
superset/commands/utils.py | 43 +-
superset/connectors/sqla/utils.py | 12 +-
superset/daos/dashboard.py | 3 +-
superset/dashboards/schemas.py | 3 +-
superset/db_engine_specs/trino.py | 7 +-
superset/examples/birth_names.py | 23 +-
tests/integration_tests/charts/api_tests.py | 1 +
tests/integration_tests/commands_test.py | 24 +-
tests/integration_tests/dashboards/api_tests.py | 2 +-
.../integration_tests/dashboards/commands_tests.py | 24 +-
tests/unit_tests/connectors/sqla/utils_test.py | 50 +-
tests/unit_tests/fixtures/assets_configs.py | 6 +-
tests/unit_tests/scripts/docker_build.py | 290 -----
tests/unit_tests/security/manager_test.py | 3 +-
tests/unit_tests/utils/docker.py | 268 -----
113 files changed, 3305 insertions(+), 2412 deletions(-)
delete mode 100644 docs/static/img/tutorial/add-data-upload.png
create mode 100644 docs/static/img/tutorial/allow-file-uploads.png
delete mode 100755 scripts/build_docker.py
copy superset-frontend/{plugins/legacy-plugin-chart-country-map/src/transformProps.js => packages/superset-ui-chart-controls/src/utils/colorControls.ts} (59%)
create mode 100644 superset-frontend/packages/superset-ui-chart-controls/test/utils/colorControls.test.ts
delete mode 100644 superset-frontend/packages/superset-ui-switchboard/package-lock.json
copy superset-frontend/{plugins/plugin-chart-echarts/src/Waterfall => src/components/MetadataBar}/constants.ts (64%)
create mode 100644 superset-frontend/src/dashboard/components/Header/useDashboardMetadataBar.tsx
delete mode 100644 superset-frontend/src/dashboard/containers/DashboardHeader.jsx
create mode 100644 superset-frontend/src/explore/components/ExploreChartHeader/useExploreMetadataBar.tsx
delete mode 100644 tests/unit_tests/scripts/docker_build.py
delete mode 100644 tests/unit_tests/utils/docker.py