This is an automated email from the ASF dual-hosted git repository. diegopucci pushed a change to branch geido/chore/enforce-usage-icons-eslint in repository https://gitbox.apache.org/repos/asf/superset.git
from d176095904 Merge add 20e5df501e fix(migrations): Handle comparator None in old time comparison migration (#32538) add eae7cf81b0 chore(Ant Design): Remove unnecessary exports from version 4 (#32544) add c5dd52bcc9 docs: add Canonical to INTHEWILD.md (#32547) add 4c3aae7583 fix(sqllab): Allow clear on schema and catalog (#32515) add 33aa9030bf fix: add DateOffset to json serializer (#32532) add f45ab70080 chore: bump node to v20.18.3 (#32550) add edfcbed24f refactor(input): Remove leftover direct usage of Ant Design input (#32545) add 644882faff chore(docs): Add Flowbird to users list (#32561) add 89b6d7fb68 fix: Log table retention policy (#32572) add 979f890cd5 fix(comp/async-ace-editor): proper import of `ace-builds` (#32553) add 0b0e0e9ce8 chore(🦾): bump python cryptography 43.0.3 -> 44.0.2 (#32573) add d3ba2755e8 feat(charts): add two new boxplot parameter sets (#32170) add 7aa89db8d0 chore(🦾): bump python pandas subpackage(s) (#32579) add 8e021b0c82 fix(Slack V2): Specify the filename for the Slack upload method (#32599) add 91ab123860 chore(🦾): bump python slack-sdk 3.33.4 -> 3.34.0 (#32576) add 3b1d763421 chore(deps): bump @babel/helpers from 7.17.2 to 7.26.10 in /superset-frontend/cypress-base (#32602) add 85d51f5c9a chore: bump postgresql from 15 to 16 (#32597) add 9ea58381f4 docs: add information about ephemeral environments (#32600) add 4fdeab8dad docs: fix typo in ephemeral envs docs (#32605) add a3f3a35c20 docs(analytics): actually USING Matomo to track page views/changes (#32607) add 079e40144e chore(deps): bump @babel/runtime from 7.26.9 to 7.26.10 in /docs (#32604) add a16de15015 chore(deps): bump @babel/helpers from 7.24.5 to 7.26.10 in /docs (#32598) add ff9ae54ae9 chore(deps): bump @babel/runtime-corejs3 from 7.26.9 to 7.26.10 in /docs (#32603) add b8fd1a30ee chore(deps-dev): bump axios from 1.7.9 to 1.8.2 in /superset-frontend (#32583) add a0ea905a7a chore(deps): bump axios from 1.7.8 to 1.8.2 in /docs (#32582) add c8f5089f7a chore(deps-dev): bump axios from 1.7.7 to 1.8.2 in /superset-embedded-sdk (#32581) add e7721a8c4d fix(dashboard): Support bigint value in native filters (#32549) add 9f79c5ab4d fix(sqllab): Grid header menu (#32381) add 2ecc7e4f56 chore(🦾): bump python pyparsing 3.2.0 -> 3.2.1 (#32577) add c5a2bc5484 chore(🦾): bump python flask-migrate subpackage(s) (#32578) add 90e18e37d0 chore(🦾): bump python nh3 0.2.19 -> 0.2.21 (#32630) add d97d991b5f chore(🦾): bump python humanize 4.11.0 -> 4.12.1 (#32632) add 6c1806df74 chore(🦾): bump python greenlet 3.0.3 -> 3.1.1 (#32628) add 1e20b048d3 chore(🦾): bump python sqlparse 0.5.2 -> 0.5.3 (#32631) add 664047f3fb chore: fix precommit for eslint (#32596) add d8d4b75a11 chore: fix precommit for eslint (#32596) add 7dbe608d27 chore(🦾): bump python sshtunnel subpackage(s) (#32629) add 057423ed92 chore(🦾): bump python flask-caching 2.3.0 -> 2.3.1 (#32634) add f5eca4fe0b chore(🦾): bump python simplejson 3.19.3 -> 3.20.1 (#32635) add 67af8bd730 chore(🦾): bump python importlib-metadata 8.5.0 -> 8.6.1 (#32636) add fa890ecb23 chore(🦾): bump python celery subpackage(s) (#32638) add 4b4912ba99 chore(🦾): bump python flask-session subpackage(s) (#32637) add bf902b2240 chore(🦾): bump python croniter 5.0.1 -> 6.0.0 (#32639) add 53471072f4 chore(🦾): bump python paramiko 3.5.0 -> 3.5.1 (#32575) add 29b4c40e43 feat(reports): removing index column (#32366) add 8695239372 feat: `OAuth2StoreTokenCommand` (#32546) add 12435159db chore: add unique option to index migration utils (#32641) add d92af9c95c chore: simplify user impersonation (#32485) add 832e028b39 fix(welcome): perf on distinct recent activities (#32608) add 2f6f5c6778 fix: Upgrade node base image to Debian 12 bookworm (#32652) add e8ad096173 fix(sync perms): Avoid UnboundLocalError during perm sync for DBs that don't support catalogs (#32658) add 777760b096 fix(dashboard): Ensure `dashboardId` is included in `form_data` for embedded mode (#32646) add 0c6d868483 fix(import): Import a DB connection with expanded rows enabled (#32657) add 7c9c30db1d chore(examples): Touching up Vehicle Sales a bit (#32623) add 86b42ae6ac Merge branch 'master' of https://github.com/apache/superset into geido/chore/enforce-usage-icons-eslint add 7356f91b34 fix(no-restricted-imports): Fix rule and adjust overrides No new revisions were added by this update. Summary of changes: .github/workflows/ephemeral-env.yml | 6 +- .github/workflows/pre-commit.yml | 3 +- .github/workflows/superset-applitool-cypress.yml | 2 +- .github/workflows/superset-cli.yml | 2 +- .github/workflows/superset-e2e.yml | 2 +- .../workflows/superset-python-integrationtest.yml | 2 +- .github/workflows/superset-python-presto-hive.yml | 4 +- .pre-commit-config.yaml | 59 +- Dockerfile | 2 +- RESOURCES/INTHEWILD.md | 2 + docker-compose-image-tag.yml | 2 +- docker-compose-non-dev.yml | 2 +- docker-compose.yml | 2 +- docs/.nvmrc | 2 +- docs/docs/configuration/configuring-superset.mdx | 8 +- docs/docs/contributing/howtos.mdx | 24 + docs/docusaurus.config.ts | 5 +- docs/src/components/SectionHeader.tsx | 2 +- docs/src/theme/Root.js | 125 ++++ docs/static/script/matomo.js | 37 -- docs/yarn.lock | 72 ++- helm/superset/Chart.lock | 2 +- helm/superset/Chart.yaml | 2 +- helm/superset/README.md | 2 +- requirements/base.txt | 61 +- requirements/development.txt | 67 ++- scripts/eslint.sh | 2 +- superset-embedded-sdk/.nvmrc | 2 +- superset-embedded-sdk/package-lock.json | 12 +- superset-frontend/.eslintrc.js | 139 +++-- superset-frontend/.nvmrc | 2 +- .../cypress/e2e/dashboard/nativeFilters.test.ts | 2 +- superset-frontend/cypress-base/package-lock.json | 152 +++-- .../eslint-rules/eslint-plugin-icons/index.js | 24 - .../no-direct-ant-icons-import.test.js | 59 -- superset-frontend/package-lock.json | 6 +- .../src/connection/callApi/parseResponse.ts | 19 +- .../superset-ui-core/src/query/types/Query.ts | 6 +- .../src/query/types/QueryResponse.ts | 2 +- .../formatters/finestTemporalGrain.test.ts | 8 + .../time-format/formatters/finestTemporalGrain.ts | 4 + .../superset-ui-core/src/utils/lruCache.ts | 4 + .../superset-ui-core/test/utils/lruCache.test.ts | 4 + .../src/BigNumber/BigNumberViz.tsx | 1 + .../src/BoxPlot/controlPanel.ts | 2 + .../plugin-chart-echarts/src/BoxPlot/types.ts | 4 +- .../src/Heatmap/transformProps.ts | 2 +- .../plugins/plugin-chart-echarts/src/types.ts | 2 +- .../plugin-chart-echarts/src/utils/series.ts | 2 +- .../plugin-chart-echarts/test/index.test.ts | 2 +- superset-frontend/spec/helpers/setup.ts | 1 + superset-frontend/spec/helpers/testing-library.tsx | 3 + .../src/components/AsyncAceEditor/index.tsx | 2 +- .../src/components/DatabaseSelector/index.tsx | 2 + .../src/components/GridTable/Header.tsx | 11 +- .../src/components/GridTable/HeaderMenu.test.tsx | 2 +- .../src/components/GridTable/HeaderMenu.tsx | 97 ++- .../src/components/GridTable/index.tsx | 4 +- .../src/components/Icons/AntdEnhanced.tsx | 2 +- superset-frontend/src/components/Icons/Icon.tsx | 2 +- superset-frontend/src/components/Icons/IconType.ts | 2 +- .../src/components/ListView/Filters/Search.tsx | 8 +- superset-frontend/src/components/Menu/index.tsx | 3 + superset-frontend/src/components/index.ts | 9 +- .../dashboard/components/gridComponents/Chart.jsx | 3 + .../components/gridComponents/Chart.test.jsx | 7 +- .../src/features/home/ActivityTable.tsx | 14 +- superset-frontend/src/features/home/types.ts | 12 + .../components/Select/SelectFilterPlugin.test.tsx | 21 + superset-frontend/src/filters/utils.ts | 3 + .../src/pages/DatabaseList/DatabaseList.test.jsx | 8 +- superset-frontend/src/pages/Home/Home.test.tsx | 44 +- superset-frontend/src/pages/Home/index.tsx | 2 +- .../pages/SavedQueryList/SavedQueryList.test.jsx | 5 +- superset-frontend/src/utils/downloadAsImage.ts | 1 + superset-frontend/src/views/CRUD/utils.tsx | 9 +- superset-websocket/.nvmrc | 2 +- superset-websocket/utils/client-ws-app/.nvmrc | 2 +- superset/charts/client_processing.py | 5 +- superset/commands/database/oauth2.py | 88 +++ superset/commands/database/sync_permissions.py | 8 +- .../commands/{sql_lab/query.py => logs/prune.py} | 18 +- superset/config.py | 8 +- superset/daos/database.py | 11 + superset/databases/api.py | 50 +- superset/databases/schemas.py | 1 + superset/db_engine_specs/base.py | 39 +- superset/db_engine_specs/drill.py | 47 +- superset/db_engine_specs/gsheets.py | 20 +- superset/db_engine_specs/hive.py | 53 +- superset/db_engine_specs/lib.py | 1 + superset/db_engine_specs/presto.py | 37 +- superset/db_engine_specs/starrocks.py | 23 +- superset/db_engine_specs/trino.py | 55 +- .../configs/charts/Vehicle Sales/Items_Sold.yaml | 73 +++ .../Vehicle Sales/Items_by_Product_Line.yaml | 80 +++ .../Number_of_Deals_for_each_Combination.yaml | 9 +- .../Overall_Sales_By_Product_Line.yaml | 9 + .../Proportion_of_Revenue_by_Product_Line.yaml | 120 ++-- .../charts/Vehicle Sales/Quarterly_Sales.yaml | 133 +++-- .../Quarterly_Sales_By_Product_Line_113.yaml | 103 ++++ .../charts/Vehicle Sales/Revenue_by_Deal_Size.yaml | 50 +- .../Seasonality_of_Revenue_per_Product_Line.yaml | 5 + .../charts/Vehicle Sales/Total_Revenue.yaml | 48 +- .../configs/dashboards/Sales_Dashboard.yaml | 650 ++++++++++++++++----- .../datasets/examples/cleaned_sales_data.yaml | 106 +++- superset/migrations/shared/utils.py | 14 +- ...9123a_update_charts_with_old_time_comparison.py | 2 +- superset/models/core.py | 41 +- superset/reports/notifications/slackv2.py | 14 +- superset/tasks/scheduler.py | 22 + superset/utils/json.py | 3 + tests/integration_tests/databases/api_tests.py | 58 ++ ...update_charts_with_old_time_comparison__test.py | 28 + tests/integration_tests/utils_tests.py | 541 +---------------- tests/unit_tests/commands/databases/oauth2_test.py | 168 ++++++ tests/unit_tests/commands/databases/update_test.py | 48 ++ tests/unit_tests/databases/api_test.py | 34 +- tests/unit_tests/db_engine_specs/test_base.py | 84 ++- tests/unit_tests/db_engine_specs/test_drill.py | 57 +- tests/unit_tests/db_engine_specs/test_gsheets.py | 33 +- tests/unit_tests/db_engine_specs/test_starrocks.py | 26 +- tests/unit_tests/utils/json_tests.py | 88 ++- tests/unit_tests/utils/test_core.py | 474 +++++++++++++++ 124 files changed, 3189 insertions(+), 1638 deletions(-) create mode 100644 docs/src/theme/Root.js delete mode 100644 docs/static/script/matomo.js delete mode 100644 superset-frontend/eslint-rules/eslint-plugin-icons/no-direct-ant-icons-import.test.js create mode 100644 superset/commands/database/oauth2.py copy superset/commands/{sql_lab/query.py => logs/prune.py} (86%) create mode 100644 superset/examples/configs/charts/Vehicle Sales/Items_Sold.yaml create mode 100644 superset/examples/configs/charts/Vehicle Sales/Items_by_Product_Line.yaml create mode 100644 superset/examples/configs/charts/Vehicle Sales/Quarterly_Sales_By_Product_Line_113.yaml create mode 100644 tests/unit_tests/commands/databases/oauth2_test.py