Maxime Beauchemin
48d8c91b19
feat: migrate examples from Python to YAML format with enhanced CLI
...
Migrates Superset's example data system from Python-based scripts to YAML configuration files, providing a cleaner, more maintainable approach to managing example datasets, charts, and dashboards.
- Converted 9 Python example modules to YAML configurations
- Exported existing examples from database and added as YAML files:
- 11 dashboards (USA Births Names, World Bank's Data, etc.)
- 115 charts
- 25 datasets
- Moved test-specific fixtures to `tests/fixtures/examples/`
- Removed theme_id from dashboard exports for compatibility
- **New command group**: `superset examples` with subcommands:
- `load` - Load example data (replaces `load-examples`)
- `clear-old` - Remove old Python-based examples
- `clear` - Placeholder for future YAML clearing
- `reload` - Clear and reload in one command
- **Backwards compatibility**: `superset load-examples` still works with deprecation warning
- **Safety mechanism**: Detects old examples and preserves them to avoid data loss
- Fixed JSON data loading - examples can now load `.json.gz` files from CDN
- Fixed Docker compose configuration for isolated development
- Fixed webpack WebSocket configuration for different ports
- Import operations now log what's being created vs updated:
- "Creating new dashboard: Sales Dashboard"
- "Updating existing chart: World's Population"
- Provides clear visibility into the import process
- Moved import logging to individual import functions (DRY principle)
- Non-destructive migration approach - no user data is deleted
- Deterministic UUID generation for consistent example data
- Tested migration from old Python examples to new YAML format
- Verified safety mechanism prevents accidental data overwrites
- Confirmed backwards compatibility with deprecated command
- All pre-commit checks pass
- Updated installation docs to use new CLI commands
- Added deprecation notice to UPDATING.md
- Updated development documentation
None - the old `load-examples` command continues to work with a deprecation warning.
For users with existing Python-based examples:
1. Run `superset examples clear-old --confirm` to remove old examples
2. Run `superset examples load` to load new YAML-based examples
2025-07-29 22:23:52 -07:00
sha174n
7f44992c4b
fix: enhance disallowed SQL functions list for improved security ( #33084 )
2025-07-24 16:36:32 -07:00
Ahmed Habeeb
43775e9373
fix(sqllab_export): manually encode CSV output to support utf-8-sig ( #34235 )
2025-07-23 18:44:56 -07:00
Maxime Beauchemin
2c81eb6c39
feat(docker): do not include chromium (headless browser) by default in Dockerfile ( #34258 )
2025-07-22 13:12:55 -07:00
Paul Lavacquery
da6947d295
feat(deckgl): add support for OpenStreetMap as our new default and make "tile-providers" more configurable FIX ( #34204 )
2025-07-18 15:25:32 -07:00
Damian Pendrak
7229e1ccf3
feat(deckgl): add new color controls with color breakpoints ( #34017 )
2025-07-11 17:29:26 +03:00
Paul Lavacquery
d951158ce6
feat(deckgl): add support for OpenStreetMap as our new default and make "tile-providers" more configurable ( #33603 )
...
Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com >
2025-07-08 14:04:10 -07:00
Hugo Ferrando Seage
09d975cc3f
docs: Fix typo in UPDATING.md regarding translations in version 5.0.0 ( #33972 )
2025-06-30 23:44:56 +07:00
Michael S. Molina
cd3191bb79
chore: Updates files related to 5.0.0 release ( #33869 )
2025-06-23 15:01:22 -07:00
Maxime Beauchemin
dd129fa403
feat(theming): land Ant Design v5 overhaul — dynamic themes, real dark mode + massive styling refactor ( #31590 )
...
Co-authored-by: Enzo Martellucci <52219496+EnxDev@users.noreply.github.com >
Co-authored-by: Diego Pucci <diegopucci.me@gmail.com >
Co-authored-by: Mehmet Salih Yavuz <salih.yavuz@proton.me >
Co-authored-by: Geido <60598000+geido@users.noreply.github.com >
Co-authored-by: Alexandru Soare <37236580+alexandrusoare@users.noreply.github.com >
Co-authored-by: Damian Pendrak <dpendrak@gmail.com >
Co-authored-by: Pius Iniobong <67148161+payose@users.noreply.github.com >
Co-authored-by: Enzo Martellucci <enzomartellucci@gmail.com >
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com >
2025-06-20 13:38:58 -07:00
Kamil Gabryjelski
839215148a
feat(explore): X-axis sort by specific metric when more than 1 metric is set ( #33116 )
2025-04-14 20:39:09 +02:00
Enzo Martellucci
4f0020d0df
feat(List Roles): Migrate FAB view to React ( #32432 )
...
Co-authored-by: Diego Pucci <diegopucci.me@gmail.com >
2025-04-02 14:06:17 +03:00
Joe Li
b5cb5f4525
chore: updating files for release 4.1.2 ( #32831 )
2025-03-25 10:26:37 -07:00
Evan Rusackas
c0e92b1639
feat(flag flip): Setting Horizontal Filters to True by default. ( #32317 )
...
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
2025-03-04 11:26:14 -07:00
Maxime Beauchemin
5867b87680
docs: adding notes about using uv instead of raw pip ( #32239 )
2025-02-12 15:37:54 -08:00
Michael S. Molina
a144464506
fix: Adds an entry to UPDATING.md about DISABLE_LEGACY_DATASOURCE_EDITOR ( #32185 )
2025-02-07 15:30:18 -03:00
Steven Liu
6478bb7eab
feat: add date format to the email subject ( #31413 )
...
Co-authored-by: Steven Liu <steven.l@covergenius.com >
2025-01-28 09:33:41 -08:00
Evan Rusackas
962fd4cca3
chore: Removing DASHBOARD_CROSS_FILTERS flag and all that comes with it. ( #31794 )
...
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com >
2025-01-28 17:39:30 +01:00
Daniel Vaz Gaspar
640d4f09bd
chore: add UPDATING note for CSV_UPLOAD_MAX_SIZE removal ( #32013 )
2025-01-28 13:31:24 -03:00
Kamil Gabryjelski
7e2b7941f3
refactor: Upgrade to React 17 ( #31961 )
2025-01-28 16:44:42 +01:00
Daniel Vaz Gaspar
1b375b715c
refactor: upload data unification, less permissions and less endpoints ( #31959 )
2025-01-28 11:09:55 +00:00
Ville Brofeldt
7482b20f7b
chore: replace selenium user with fixed user ( #31844 )
2025-01-22 12:46:06 -08:00
nsivarajan
78cd635b7a
chore(GAQ): Remove GLOBAL_ASYNC_QUERIES_REDIS_CONFIG ( #30284 )
...
Co-authored-by: Sivarajan Narayanan <narayanan_sivarajan@apple.com >
2025-01-21 20:03:00 -08:00
Sebastian Liebscher
dca3efb3dd
fix: correct value for config variable UPLOAD_FOLDER ( #25166 )
...
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com >
2025-01-21 12:37:26 -07:00
JUST.in DO IT
2874096e27
refactor(sqllab): migrate share queries via kv by permalink ( #29163 )
2025-01-17 16:16:02 -08:00
Stepan
c1cbc334ad
perf(dashboard): dashboard list endpoint returning large and unnecessary data ( #29121 )
...
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com >
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
2025-01-17 13:17:57 -03:00
Evan Rusackas
249fdf444a
chore(config): Deprecating Domain Sharding ( #31894 )
2025-01-16 11:58:02 -07:00
Maxime Beauchemin
274aa143d3
chore: python version to 3.11 (while supporting 3.10) ( #31503 )
2025-01-13 18:22:49 -08:00
Evan Rusackas
bebcd3dcdd
fix: corrects spelling of USE_ANALAGOUS_COLORS to be USE_ANALOGOUS_COLORS ( #31774 )
2025-01-10 18:44:32 -07:00
Michael S. Molina
399b709aaf
refactor: Removes 5.0 approved legacy charts ( #31582 )
2025-01-09 16:45:05 -03:00
Maxime Beauchemin
1f17b975d6
fix: docker refactor ( #31385 )
2024-12-13 16:17:44 -08:00
Maxime Beauchemin
4bccf36375
chore: deprecate pylint in favor of ruff ( #31262 )
...
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
2024-12-13 12:53:14 -08:00
nsivarajan
592564b623
fix: cache-warmup fails ( #31173 )
...
Co-authored-by: Sivarajan Narayanan <narayanan_sivarajan@apple.com >
Co-authored-by: Pat Heard <patrick.heard@cds-snc.ca >
2024-12-06 17:41:38 -08:00
Daniel Vaz Gaspar
25f4226dbb
fix: add more clickhouse disallowed functions on config ( #31198 )
2024-12-03 10:48:06 +00:00
Joe Li
c648cb2de5
chore: update change log, UPDATING.md and bug-report.yml for 4.1 release ( #30915 )
2024-11-15 11:52:15 -07:00
Martyn Gigg
1441ad8546
chore(UPDATING.md): Add item to UPDATING describing translations build flag ( #30313 )
2024-09-18 15:02:25 -07:00
Maxime Beauchemin
f315a4f02c
chore: move SLACK_ENABLE_AVATARS from config to feature flag ( #30274 )
2024-09-16 16:07:11 -07:00
Maxime Beauchemin
cc39afef46
chore: accelerate docker compose by skipping frontend build ( #30021 )
2024-09-04 08:52:16 -07:00
Evan Rusackas
4fe3000275
chore(docs): docker instructions use docker compose instead of the deprecated docker-compose ( #30030 )
2024-08-29 16:42:53 -06:00
Ville Brofeldt
606ddc3181
chore(docs): clean up a few md errors ( #30057 )
2024-08-29 11:54:21 -07:00
danielli-ziprecruiter
4a06e830ca
chore: describe timezone issue with alerts and reports scheduler in UPDATING.md ( #29863 )
2024-08-05 13:08:25 -06:00
Evan Rusackas
c3702be9d4
docs: Check markdown files for bad links using linkinator ( #28424 )
2024-07-29 16:19:42 -06:00
Elizabeth Thompson
6dbfe2aab9
feat: add slackv2 notification ( #29264 )
2024-07-17 15:14:32 -07:00
Jessie R
d74d3a87bb
fix: default logging ( #27777 )
2024-06-25 13:25:21 -07:00
Maxime Beauchemin
d49d79121c
chore: trigger CI jobs on all release-related branches ( #29274 )
2024-06-17 13:42:58 -07:00
Maxime Beauchemin
8d57a35531
feat: bake translations as part of the build processes ( #28483 )
2024-05-29 16:58:08 -07:00
John Bodley
1c48fe05fd
fix: Update migration logic in #27119 ( #28482 )
2024-05-20 11:30:56 -07:00
JUST.in DO IT
2a7bfa4bb3
fix: Missing sql_editor_id index ( #27392 )
...
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com >
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
2024-05-06 10:45:33 -07:00
Maxime Beauchemin
513852b7c3
fix: all_database_access should enable access to all datasets/charts/dashboards ( #28205 )
2024-05-02 09:25:14 -07:00
Maxime Beauchemin
68c77d6e9f
chore: clean up console upon firing up the CLI ( #28134 )
2024-04-23 11:43:39 -07:00