This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a change to branch revamped-example-loading
in repository https://gitbox.apache.org/repos/asf/superset.git
discard e9bc9f9186 test(cypress): Skip tabs.test.ts that depends on specific
charts
discard 312c28deb1 fix(cypress): Add describe.skip to properly skip renamed
test files
discard bffcb6ab2e fix(cypress): Skip chart_list filter test that depends on
specific datasets
discard 12f952656c fix(cypress): Skip tests that depend on charts not in YAML
configs
discard 9aae1f59fc fix(cypress): Update tests to be more flexible with example
data
discard 98b051f599 fix(examples): Restore birth_names and world_bank modules
for fixtures
discard 5aba838f90 fix(examples): Fix path handling in utils.py and revert
fixtures
discard 29a0d34a5b fix(tests): Correct type ignores and expand CORE_EXAMPLES
discard b06e4aa6fd fix(typing): Restore type: ignore comments in
core_api_injection.py
discard f34aace0e9 fix(tests): Resolve example loading conflicts with
integration tests
discard 3a6d2e4ba1 chore(examples): Remove OSM Long/Lat chart from Misc Charts
discard bfd4c4ab4e fix(examples): Add missing required params to OSM Long/Lat
chart
discard e8d87add93 Revert "fix(examples): Remove OSM Long/Lat chart requiring
Mapbox API key"
discard 0c337d9907 fix(examples): Remove OSM Long/Lat chart requiring Mapbox
API key
discard 2aa6348926 refactor(examples): Move Unicode Cloud chart to Misc Charts
dashboard
discard a99d9ee193 docs(examples): Update README with complex example patterns
discard 91b4faf48c fix(examples): Reduce OSM chart row_limit to 100000
discard cde60df1d8 fix(examples): Fix OSM Long/Lat chart temporal column
reference
discard 3318fdafb6 fix(docker): Remove DuckDB from docker-compose examples URI
discard 33c4418b81 fix(examples): Remove DuckDB dependency from example loading
discard ef94a3e0bd style(examples): Fix ruff-format slice spacing in helpers.py
discard 3e1fcc8424 refactor(examples): Reduce complexity of
_load_example_contents
discard 2115efe890 fix(examples): Restore missing covid_vaccines Treemap chart
discard b76e9f37fb refactor(examples): Consolidate datasets into dashboard
folders and restore Misc Charts
discard 1bc38cdb4e refactor(examples): Support datasets/ and data/ folders for
complex dashboards
discard 06d23439b9 fix(examples): Restore missing SQL virtual datasets for
Slack Dashboard
discard 48c0878c44 fix(examples): Separate Featured Charts and remove orphan
chart files
discard e28cd45c02 fix(examples): Consolidate deck.gl Demo dashboard and
rename to deck_gl
discard 39ff4db1fe fix(examples): Restore deleted charts and rename channels
to slack_dashboard
discard 85d8bb296c refactor(examples): Reduce complexity of load_contents
function
discard 002e3a0cf2 fix(examples): Add missing chart configs for COVID vaccines
dashboard
discard 015d29959d docs: Fix remaining stale path references
discard 6a018656dc docs(examples): Update documentation for Parquet-based
examples
discard 9afab9cc04 chore(examples): Remove DuckDB references from helpers
discard 66b20b4505 chore(examples): Remove duplicate directories and simplify
config
discard 9b91e09614 fix(dashboard): Add missing dashboard_slices import
discard 2f76c9fd13 refactor(examples): Restructure examples by name for better
devex
discard f925bd4d11 refactor(examples): Migrate from DuckDB to Parquet format
discard b28bcbac67 refactor(examples): Replace energy.py custom loader with
config-based loading
discard b4262fe8aa fix(examples): Restore energy.py loader with DuckDB support
discard 5f74e03ebb style: Apply ruff 0.9.7 formatting and fixes
discard 991434aa1c style: Fix pytest decorator parentheses (PT001/PT023)
discard 584ad599bf style: Apply ruff formatting to all Python files
discard ae4b963068 fix(examples): Preserve remote URLs in
normalize_example_data_url
discard a0a0891f6a style: Remove empty parentheses from pytest decorators
discard f7c71a8e6f fix(examples): Map energy.duckdb to energy_usage table name
discard 48cb0928f6 chore: Add noqa comments for PT004 fixture naming warnings
discard bd1d1961c6 fix(examples): Add None check for SqlaTable obj before
creating slices
discard a4f8e1ddb5 fix: Use explicit None check for sample_rows parameter
discard 65ecd7e9cf chore: Add Claude Code hook to run pre-commit before commits
discard 9b1e2af5b4 perf(tests): Optimize fixture loading to prevent CI timeouts
discard a80a501a05 fix: Update test fixtures to use DuckDB-based example data
discard 6b8967bdb8 fix: Skip test fixtures when old example modules are missing
discard 086dbd2a1b fix: Remove unused dashboard_slices import from dashboard
importer
discard d819a7c92a test: Skip birth_names tests conflicting with DuckDB
example format
discard 33ec01d158 fix: Address CodeAnt AI security and performance suggestions
discard 6c8f646ccc fix: Add Apache license headers to new README and metadata
files
discard 4933929b90 fix: Add Apache license headers to YAML config files and
fix lambda binding
discard 45177e2922 fix(examples): Fix example data loading issues and chart
configurations
discard 07c535a9f3 chore: exclude DuckDB example files from large file check
discard c30a98cf75 feat(examples): add DuckDB data files
discard 5979affa2a feat(examples): migrate example datasets to DuckDB and
simplify loading
add 0f56e3b9ae fix: Implement SIP-40 error styles for GAQ (#36596)
add 0830a57fa6 feat(docs): add llms.txt for LLM-friendly documentation
index (#36730)
add 2cf0d7936e chore(pre-commit): exclude logos from end-of-file-fixer
(#36744)
add 32435bc3e9 feat(docs): enhance Matomo analytics tracking (#36743)
add da8e077a44 chore(frontend): migrate utility JS files to TypeScript
(#36721)
add b8f31124d0 chore(frontend): migrate 13 JS/JSX files to TypeScript
(#36720)
add 91539f77aa feat(docker): support running multiple Superset instances
simultaneously (#36751)
add fb6f3fbb4d chore: update files for release 6.0.0 (#36745)
add f1541f3c70 feat(examples): migrate example datasets to DuckDB and
simplify loading
add ffaf6cef42 feat(examples): add DuckDB data files
add 36145e18a2 chore: exclude DuckDB example files from large file check
add 582ae10343 fix(examples): Fix example data loading issues and chart
configurations
add 719e774c7c fix: Add Apache license headers to YAML config files and
fix lambda binding
add f7f6d1c23f fix: Add Apache license headers to new README and metadata
files
add a293aa2d57 fix: Address CodeAnt AI security and performance suggestions
add 6d60693b4b test: Skip birth_names tests conflicting with DuckDB
example format
add 5309c79649 fix: Remove unused dashboard_slices import from dashboard
importer
add b18771b18f fix: Skip test fixtures when old example modules are missing
add e9808c1280 fix: Update test fixtures to use DuckDB-based example data
add 2f5f82e0a1 perf(tests): Optimize fixture loading to prevent CI timeouts
add dc48159b1b chore: Add Claude Code hook to run pre-commit before commits
add b643f6347b fix: Use explicit None check for sample_rows parameter
add 7c6f09bf3e fix(examples): Add None check for SqlaTable obj before
creating slices
add 392ea3ef92 chore: Add noqa comments for PT004 fixture naming warnings
add 1c11812913 fix(examples): Map energy.duckdb to energy_usage table name
add b87b5b621e style: Remove empty parentheses from pytest decorators
add abb8d394a7 fix(examples): Preserve remote URLs in
normalize_example_data_url
add c701aa73aa style: Apply ruff formatting to all Python files
add fa598ad4cc style: Fix pytest decorator parentheses (PT001/PT023)
add 020eb784e6 style: Apply ruff 0.9.7 formatting and fixes
add 7c62fedbec fix(examples): Restore energy.py loader with DuckDB support
add 2238ddb5a4 refactor(examples): Replace energy.py custom loader with
config-based loading
add bcb957e924 refactor(examples): Migrate from DuckDB to Parquet format
add 51d6cf1e3e refactor(examples): Restructure examples by name for better
devex
add b66ed7547b fix(dashboard): Add missing dashboard_slices import
add 11eab19ffa chore(examples): Remove duplicate directories and simplify
config
add 28f5b44818 chore(examples): Remove DuckDB references from helpers
add e3e273c8de docs(examples): Update documentation for Parquet-based
examples
add c8f28f7a85 docs: Fix remaining stale path references
add 0d79337192 fix(examples): Add missing chart configs for COVID vaccines
dashboard
add fb974c70d0 refactor(examples): Reduce complexity of load_contents
function
add f45dd2cbe6 fix(examples): Restore deleted charts and rename channels
to slack_dashboard
add 85e9944cac fix(examples): Consolidate deck.gl Demo dashboard and
rename to deck_gl
add 5623772b79 fix(examples): Separate Featured Charts and remove orphan
chart files
add 41662b0ad9 fix(examples): Restore missing SQL virtual datasets for
Slack Dashboard
add ecf463d2e5 refactor(examples): Support datasets/ and data/ folders for
complex dashboards
add b4d465b688 refactor(examples): Consolidate datasets into dashboard
folders and restore Misc Charts
add 715c4e841e fix(examples): Restore missing covid_vaccines Treemap chart
add ec4bf657bc refactor(examples): Reduce complexity of
_load_example_contents
add 86c9bb548e style(examples): Fix ruff-format slice spacing in helpers.py
add 74748918d6 fix(examples): Remove DuckDB dependency from example loading
add 0b1fc79b39 fix(docker): Remove DuckDB from docker-compose examples URI
add fbca54aed2 fix(examples): Fix OSM Long/Lat chart temporal column
reference
add 0f3726bf44 fix(examples): Reduce OSM chart row_limit to 100000
add 7641a88eec docs(examples): Update README with complex example patterns
add 34854469e1 refactor(examples): Move Unicode Cloud chart to Misc Charts
dashboard
add fd6e344716 fix(examples): Remove OSM Long/Lat chart requiring Mapbox
API key
add f2c605f111 Revert "fix(examples): Remove OSM Long/Lat chart requiring
Mapbox API key"
add ab33cedd26 fix(examples): Add missing required params to OSM Long/Lat
chart
add a36c83bcd7 chore(examples): Remove OSM Long/Lat chart from Misc Charts
add d11bd23a2c fix(tests): Resolve example loading conflicts with
integration tests
add bdf51405bc fix(typing): Restore type: ignore comments in
core_api_injection.py
add 7e7801d5f6 fix(tests): Correct type ignores and expand CORE_EXAMPLES
add 503c55ecee fix(examples): Fix path handling in utils.py and revert
fixtures
add 4a3fded893 fix(examples): Restore birth_names and world_bank modules
for fixtures
add b51c5bdc74 fix(cypress): Update tests to be more flexible with example
data
add 5a27136827 fix(cypress): Skip tests that depend on charts not in YAML
configs
add dee737bab6 fix(cypress): Skip chart_list filter test that depends on
specific datasets
add 71bdaa0ec9 fix(cypress): Add describe.skip to properly skip renamed
test files
add 337e7d2149 test(cypress): Skip tabs.test.ts that depends on specific
charts
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 (e9bc9f9186)
\
N -- N -- N refs/heads/revamped-example-loading (337e7d2149)
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:
.envrc.example | 41 +
.github/ISSUE_TEMPLATE/bug-report.yml | 2 +-
.pre-commit-config.yaml | 2 +-
.rat-excludes | 1 +
CHANGELOG/6.0.0.md | 1062 ++++++++++++++++++++
Makefile | 21 +-
UPDATING.md | 51 +-
docker-compose.yml | 26 +-
docker/.env | 9 +
docker/.env-local.example | 39 +
docker/README.md | 28 +
.../contributing/development-setup.md | 33 +
docs/src/theme/Root.js | 238 ++++-
docs/static/llms.txt | 64 ++
scripts/docker-compose-up.sh | 171 ++++
.../{ChartContainer.jsx => ChartContainer.tsx} | 6 +-
.../{mockMessageToasts.js => mockMessageToasts.ts} | 6 +-
.../{MissingChart.jsx => MissingChart.tsx} | 11 +-
.../dnd/{handleHover.js => handleHover.ts} | 13 +-
.../dashboard/components/dnd/handleScroll/index.ts | 2 +-
.../{FilterFieldItem.jsx => FilterFieldItem.tsx} | 16 +-
.../{FilterFieldTree.jsx => FilterFieldTree.tsx} | 47 +-
.../{FilterScopeTree.jsx => FilterScopeTree.tsx} | 45 +-
...reeNodes.jsx => renderFilterFieldTreeNodes.tsx} | 29 +-
...reeNodes.jsx => renderFilterScopeTreeNodes.tsx} | 36 +-
.../filterscope/{treeIcons.jsx => treeIcons.tsx} | 0
.../{DashboardGrid.jsx => DashboardGrid.tsx} | 7 +-
.../{FilterScope.jsx => FilterScope.tsx} | 7 +-
.../containers/{SliceAdder.jsx => SliceAdder.tsx} | 17 +-
...ieldNodesTree.js => getFilterFieldNodesTree.ts} | 25 +-
....js => getSelectedChartIdForFilterScopeTree.ts} | 7 +-
...ChildChartIds.js => findNonTabChildChartIds.ts} | 26 +-
...ComponentIds.js => findTopLevelComponentIds.ts} | 33 +-
...nent.js => getLoadStatsPerTopLevelComponent.ts} | 21 +-
...arentsList.js => updateComponentParentsList.ts} | 14 +-
.../{AggregateOption.jsx => AggregateOption.tsx} | 20 +-
...nitionOption.jsx => MetricDefinitionOption.tsx} | 39 +-
.../{saveModalReducer.js => saveModalReducer.ts} | 29 +-
.../src/utils/getControlsForVizType.js | 52 -
superset-frontend/src/utils/reducerUtils.js | 71 --
superset/tasks/async_queries.py | 19 +-
tests/unit_tests/tasks/test_async_queries.py | 96 ++
42 files changed, 2130 insertions(+), 352 deletions(-)
create mode 100644 .envrc.example
create mode 100644 CHANGELOG/6.0.0.md
create mode 100644 docker/.env-local.example
create mode 100644 docs/static/llms.txt
create mode 100755 scripts/docker-compose-up.sh
rename superset-frontend/src/components/Chart/{ChartContainer.jsx =>
ChartContainer.tsx} (89%)
rename superset-frontend/src/components/MessageToasts/{mockMessageToasts.js =>
mockMessageToasts.ts} (85%)
rename superset-frontend/src/dashboard/components/{MissingChart.jsx =>
MissingChart.tsx} (86%)
rename superset-frontend/src/dashboard/components/dnd/{handleHover.js =>
handleHover.ts} (84%)
rename
superset-frontend/src/dashboard/components/filterscope/{FilterFieldItem.jsx =>
FilterFieldItem.tsx} (81%)
rename
superset-frontend/src/dashboard/components/filterscope/{FilterFieldTree.jsx =>
FilterFieldTree.tsx} (54%)
rename
superset-frontend/src/dashboard/components/filterscope/{FilterScopeTree.jsx =>
FilterScopeTree.tsx} (58%)
rename
superset-frontend/src/dashboard/components/filterscope/{renderFilterFieldTreeNodes.jsx
=> renderFilterFieldTreeNodes.tsx} (63%)
rename
superset-frontend/src/dashboard/components/filterscope/{renderFilterScopeTreeNodes.jsx
=> renderFilterScopeTreeNodes.tsx} (71%)
rename superset-frontend/src/dashboard/components/filterscope/{treeIcons.jsx
=> treeIcons.tsx} (100%)
rename superset-frontend/src/dashboard/containers/{DashboardGrid.jsx =>
DashboardGrid.tsx} (86%)
rename superset-frontend/src/dashboard/containers/{FilterScope.jsx =>
FilterScope.tsx} (85%)
rename superset-frontend/src/dashboard/containers/{SliceAdder.jsx =>
SliceAdder.tsx} (82%)
rename superset-frontend/src/dashboard/util/{getFilterFieldNodesTree.js =>
getFilterFieldNodesTree.ts} (72%)
rename
superset-frontend/src/dashboard/util/{getSelectedChartIdForFilterScopeTree.js
=> getSelectedChartIdForFilterScopeTree.ts} (91%)
rename
superset-frontend/src/dashboard/util/logging/{findNonTabChildChartIds.js =>
findNonTabChildChartIds.ts} (75%)
rename
superset-frontend/src/dashboard/util/logging/{findTopLevelComponentIds.js =>
findTopLevelComponentIds.ts} (77%)
rename
superset-frontend/src/dashboard/util/logging/{getLoadStatsPerTopLevelComponent.js
=> getLoadStatsPerTopLevelComponent.ts} (71%)
rename superset-frontend/src/dashboard/util/{updateComponentParentsList.js =>
updateComponentParentsList.ts} (87%)
rename
superset-frontend/src/explore/components/controls/MetricControl/{AggregateOption.jsx
=> AggregateOption.tsx} (74%)
rename
superset-frontend/src/explore/components/controls/MetricControl/{MetricDefinitionOption.jsx
=> MetricDefinitionOption.tsx} (66%)
rename superset-frontend/src/explore/reducers/{saveModalReducer.js =>
saveModalReducer.ts} (71%)
delete mode 100644 superset-frontend/src/utils/getControlsForVizType.js
delete mode 100644 superset-frontend/src/utils/reducerUtils.js