This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a change to branch config_refactor
in repository https://gitbox.apache.org/repos/asf/superset.git
discard 15ef590b79 feat: Add dynamic time grain validation to chart schemas
discard 145a944c1f fix: Use SQLAlchemy table operations for slash table name
test
discard 4bdff504bc fix: Remove module-level config access in DuckDB engine spec
discard 7156805cad fix: Add idempotency to database API tests
discard 46bd9a90a3 fix: Replace mock.patch of superset.views.core.app.config
with @with_config
discard a9b023b6af fix: Correct import path and decorator syntax for
with_config
discard d77d37b06f fix: Replace direct app.config modifications with
@with_config decorator
discard 148e044303 fix: Make test_app.py load app lazily to avoid config issues
discard 3f143f3735 fix: Fix CI test failures for config mocking
discard 55bcaba742 refactor: Use @with_config decorator in tests and handle
metadb dependencies
discard a26901caaa fix: Remove module-level conf in thumbnails/digest.py to
fix app context issues
discard 04d1b2b785 refactor: Use @with_config decorator in sql_lab tests and
fix thumbnail tests to use current_app
discard 89078cf02a fix: Update test_get_user_agent to use @with_config
decorator
discard 798ed8910f fix: Add STATS_LOGGER to sql_lab test mocks
discard 16e08fa7d8 fix: Add conf alias for backward compatibility with
migrations
discard 9b8f415baa fix(migrations): Handle LocalProxy config without .get()
method
discard f95000ea74 fix(tests): Add missing config keys to sql_lab_test.py mocks
discard e35f4a0d19 fix(tests): Fix mock config data types
discard 567fe70d0b fix(tests): Add missing config keys in unit test mocks
discard 6da25ba5c6 fix(config): Remove module-level config from
views/filters.py
discard adc5593598 fix(config): Remove module-level config access from
webdriver.py
discard 2ae07bd045 fix: update sql_lab tests to mock current_app instead of
module config
discard a898b469ae fix: remove module-level config access in CLI and SQL Lab
discard 69b31baf88 fix: update slack.py to avoid module-level config access
discard ddb759bcf9 fix: update test mock path for query_context_processor
config
discard 3a5839ebc0 fix: update test mock path for query_context_factory config
discard 023ac199bf fix: update test mock path for viz config
discard d9b39ed66c fix: update test mock path for todo_config
discard 55ed0566a3 fix: update custom password store test to use app.config
discard 77d3740762 fix: correct app context check and test mock targets
discard 954832340a fix: handle CI test failures with app context issues
discard 03c78f8a57 fix: handle missing app context in sqlalchemy_uri_decrypted
discard b815e3fdec fix: remove module-level config access from import chain
discard ad87aaf02a fix: remove module-level config access from sql_lab.py
discard 2b3a9c6db7 more files
discard 277edf747b more files
discard b81f56c911 more files
discard cabf68cb26 more files
discard 35cbd2b5d0 fix: add pylint disable comment for
consider-using-transaction
discard 3af7cb1f35 more files
discard 1b56061700 test: Fix tests after config refactoring
discard 1bea1ac099 refactor: Process 6 more files for config pattern migration
discard b447767a42 refactor: Fix CLI and migrate commands/report/execute.py to
current_app.config
discard 81428d083d config -> conf and todo_conf
discard 15bac0b9a9 first, all conf to config
discard 2f817b25c5 chore: proper current_app.config proxy usage
add 0cbf4d5d4d chore(deps): bump d3-scale from 3.3.0 to 4.0.2 in
/superset-frontend/packages/superset-ui-core (#31534)
add 5c2eb0a68c build(deps): bump reselect from 4.1.7 to 5.1.1 in
/superset-frontend (#30119)
add a611278e04 fix: Console errors from various sources (#34178)
add 54a5b58e40 feat(codespaces): auto-setup Python venv with dependencies
(#34409)
add fd4570625a fix(theme-list): reorder buttons to place import leftmost
(#34389)
add becd0b8883 feat: add runtime custom font loading via configuration
(#34416)
add f168dd69a8 fix(sunburst): Fix sunburst chart cross-filter logic
(#31495)
add 762a11b0bb fix(sqllab): access legacy kv record (#34411)
add 6fc734da51 fix: prevent anonymous code in Postgres (#34412)
add c480fa7fcf fix(migrations): prevent theme seeding before themes table
exists (#34433)
add 50197fc33e chore: Add bottom border to top navigation menu (#34429)
add ea64f3122e chore: Change button labels to sentence case (#34432)
add 70394e79ef feat: Add configurable query identifiers for Mixed
Timeseries charts (#34406)
add cf5b976659 fix(dashboard): adds dependent filter select first value
fixes (#34137)
add 9cf2472291 fix: time grain and DB dropdowns (#34431)
add 25bb353f9d chore(deps-dev): update jest requirement from ^30.0.2 to
^30.0.4 in /superset-frontend/packages/generator-superset (#34039)
add 967134f540 fix(theming): Visual bugs p-3 (#34424)
add b4dbd48606 chore: proper current_app.config proxy usage
add fb0b2c2682 first, all conf to config
add 5e61a6719a config -> conf and todo_conf
add 1328eade0d refactor: Fix CLI and migrate commands/report/execute.py to
current_app.config
add 6460c3b4ee refactor: Process 6 more files for config pattern migration
add a40ee081fc test: Fix tests after config refactoring
add af256aa7cf more files
add 9249ab06cf fix: add pylint disable comment for
consider-using-transaction
add b885027323 more files
add de95bc6f0c more files
add 12b02d92f9 more files
add 2953d5b6eb more files
add 7681c51bd1 fix: remove module-level config access from sql_lab.py
add f08a7faaa4 fix: remove module-level config access from import chain
add 8dca1b6834 fix: handle missing app context in sqlalchemy_uri_decrypted
add e5b5b6b107 fix: handle CI test failures with app context issues
add 649d4f9b23 fix: correct app context check and test mock targets
add db00fe95f9 fix: update custom password store test to use app.config
add 774d2cb9c8 fix: update test mock path for todo_config
add c87045a6f8 fix: update test mock path for viz config
add a5a4bf3dbc fix: update test mock path for query_context_factory config
add 403523806f fix: update test mock path for query_context_processor
config
add 61318995f4 fix: update slack.py to avoid module-level config access
add dcc1caec07 fix: remove module-level config access in CLI and SQL Lab
add 1e8aa6cf13 fix: update sql_lab tests to mock current_app instead of
module config
add 52363a2a8a fix(config): Remove module-level config access from
webdriver.py
add 599c422473 fix(config): Remove module-level config from
views/filters.py
add fe6fc53141 fix(tests): Add missing config keys in unit test mocks
add 2afb4849af fix(tests): Fix mock config data types
add ba37ff8bd7 fix(tests): Add missing config keys to sql_lab_test.py mocks
add 608db84070 fix(migrations): Handle LocalProxy config without .get()
method
add 2e8cd26995 fix: Add conf alias for backward compatibility with
migrations
add 3075dd58b8 fix: Add STATS_LOGGER to sql_lab test mocks
add 25d92a7d6f fix: Update test_get_user_agent to use @with_config
decorator
add 3597ad80b8 refactor: Use @with_config decorator in sql_lab tests and
fix thumbnail tests to use current_app
add 3fe8db698a fix: Remove module-level conf in thumbnails/digest.py to
fix app context issues
add bdce330f71 refactor: Use @with_config decorator in tests and handle
metadb dependencies
add 8005b69a54 fix: Fix CI test failures for config mocking
add 16044c07e2 fix: Make test_app.py load app lazily to avoid config issues
add 63861b4ffd fix: Replace direct app.config modifications with
@with_config decorator
add d1d82a1243 fix: Correct import path and decorator syntax for
with_config
add 39641f7745 fix: Replace mock.patch of superset.views.core.app.config
with @with_config
add 4dd310e9fa fix: Add idempotency to database API tests
add 388c155b5f fix: Remove module-level config access in DuckDB engine spec
add efaf6c104c fix: Use SQLAlchemy table operations for slash table name
test
add 967c1920d4 feat: Add dynamic time grain validation to chart schemas
add f928bd93d0 docs: Add debug notes for CLI database connection issue
add f2fc9b42e0 fix app.config
add 24c8a29668 feat: Add clear database connection warnings for CLI
commands
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 (15ef590b79)
\
N -- N -- N refs/heads/config_refactor (24c8a29668)
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:
.devcontainer/Dockerfile | 20 +
.devcontainer/README.md | 11 +
.devcontainer/bashrc-additions | 62 +
.devcontainer/build-and-push-image.sh | 20 +
.devcontainer/devcontainer.json | 26 +-
.devcontainer/setup-dev.sh | 84 +-
.devcontainer/start-superset.sh | 71 +-
docker/frontend-mem-nag.sh | 44 +-
docs/docs/configuration/theming.mdx | 58 +
docs/docs/contributing/debug-cli-db-connection.md | 40 +
docs/docs/contributing/development.mdx | 2 +-
.../cypress/e2e/dashboard/drillby.test.ts | 17 +-
.../cypress/e2e/dashboard/nativeFilters.test.ts | 69 +
.../cypress-base/cypress/e2e/explore/chart.test.js | 6 +-
superset-frontend/package-lock.json | 1601 +++++++++++++++++++-
.../packages/generator-superset/package.json | 2 +-
.../src/shared-controls/sharedControls.tsx | 2 +
.../packages/superset-ui-core/package.json | 4 +-
.../src/chart/models/ChartProps.ts | 26 +-
.../test/chart/models/ChartProps.test.ts | 4 +-
.../components/TimeComparisonVisibility.tsx | 60 +-
.../src/MixedTimeseries/controlPanel.tsx | 17 +-
.../src/MixedTimeseries/transformProps.ts | 28 +-
.../src/MixedTimeseries/types.ts | 2 +
.../src/Sunburst/EchartsSunburst.tsx | 61 +-
.../test/MixedTimeseries/transformProps.test.ts | 83 +-
.../plugins/plugin-chart-table/src/TableChart.tsx | 87 +-
.../Chart/ChartContextMenu/ChartContextMenu.tsx | 10 +-
.../Chart/DrillBy/DrillByMenuItems.test.tsx | 43 +-
.../components/Chart/DrillBy/DrillByMenuItems.tsx | 10 +-
.../src/components/Chart/DrillDetail/index.ts | 1 +
...ilMenuItems.tsx => useDrillDetailMenuItems.tsx} | 179 ++-
.../components/Chart/MenuItemWithTruncation.tsx | 63 +-
.../Header/useHeaderActionsDropdownMenu.tsx | 358 +++--
.../PropertiesModal/PropertiesModal.test.tsx | 3 +-
.../components/SliceHeaderControls/index.tsx | 370 ++---
.../DownloadMenuItems/DownloadMenuItems.test.tsx | 22 +-
.../components/menu/DownloadMenuItems/index.tsx | 114 +-
.../menu/ShareMenuItems/ShareMenuItems.test.tsx | 49 +-
.../components/menu/ShareMenuItems/index.tsx | 43 +-
.../FilterBar/FilterControls/FilterValue.tsx | 29 +
.../FiltersConfigModal/FilterConfigPane.test.tsx | 6 +-
.../FiltersConfigModal/FilterTitlePane.tsx | 4 +-
.../explore/components/ControlPanelsContainer.tsx | 19 +-
.../DateFilterControl/components/DateLabel.tsx | 14 +-
.../useExploreAdditionalActionsMenu/index.jsx | 475 +++---
.../src/features/databases/DatabaseModal/index.tsx | 21 +-
superset-frontend/src/features/home/Menu.tsx | 1 +
.../HeaderReportDropdown/index.test.tsx | 58 +-
.../ReportModal/HeaderReportDropdown/index.tsx | 274 ++--
.../components/Select/SelectFilterPlugin.tsx | 59 +
.../components/TimeGrain/TimeGrainFilterPlugin.tsx | 1 +
superset-frontend/src/pages/ThemeList/index.tsx | 32 +-
superset/advanced_data_type/api.py | 7 +-
superset/async_events/async_query_manager.py | 29 +-
superset/available_domains/api.py | 6 +-
superset/charts/data/api.py | 5 +-
superset/charts/schemas.py | 3 +-
superset/commands/dashboard/filter_state/get.py | 6 +-
superset/commands/database/create.py | 4 +-
superset/commands/database/importers/v1/utils.py | 4 +-
superset/commands/database/sync_permissions.py | 6 +-
superset/commands/database/validate_sql.py | 6 +-
superset/commands/dataset/importers/v1/utils.py | 6 +-
superset/commands/distributed_lock/base.py | 4 +-
superset/commands/distributed_lock/create.py | 4 +-
superset/commands/distributed_lock/delete.py | 4 +-
superset/commands/distributed_lock/get.py | 4 +-
superset/commands/explore/form_data/get.py | 5 +-
superset/commands/report/alert.py | 8 +-
superset/commands/report/base.py | 4 +-
superset/commands/report/execute.py | 23 +-
superset/commands/sql_lab/estimate.py | 10 +-
superset/commands/sql_lab/export.py | 7 +-
superset/commands/sql_lab/permalink/get.py | 2 +-
superset/commands/sql_lab/results.py | 4 +-
superset/commands/theme/seed.py | 12 +-
superset/config.py | 10 +
superset/databases/api.py | 8 +-
superset/databases/ssh_tunnel/models.py | 3 -
superset/datasource/api.py | 5 +-
superset/db_engine_specs/__init__.py | 5 +-
superset/db_engine_specs/base.py | 25 +-
superset/db_engine_specs/clickhouse.py | 5 +-
superset/db_engine_specs/duckdb.py | 4 +-
superset/db_engine_specs/hive.py | 17 +-
superset/db_engine_specs/impala.py | 4 +-
superset/db_engine_specs/ocient.py | 4 +-
superset/db_engine_specs/presto.py | 4 +-
superset/db_engine_specs/singlestore.py | 7 +-
superset/db_engine_specs/snowflake.py | 8 +-
superset/db_engine_specs/trino.py | 10 +-
superset/initialization/__init__.py | 65 +-
superset/jinja_context.py | 6 +-
superset/models/core.py | 24 +-
superset/models/dashboard.py | 5 +-
superset/models/helpers.py | 4 +-
superset/models/sql_lab.py | 4 +-
superset/sql/parse.py | 10 +
superset/sql_lab.py | 45 +-
superset/sqllab/api.py | 10 +-
superset/templates/superset/spa.html | 7 +
superset/thumbnails/digest.py | 12 +-
superset/utils/cache.py | 17 +-
superset/utils/cache_manager.py | 5 +-
superset/utils/core.py | 21 +-
superset/utils/database.py | 6 +-
superset/utils/decorators.py | 9 +-
superset/utils/encrypt.py | 10 +-
superset/utils/feature_flag_manager.py | 9 +-
superset/utils/logging_configurator.py | 19 +-
superset/utils/machine_auth.py | 11 +-
superset/utils/oauth2.py | 12 +-
superset/utils/screenshots.py | 7 +-
superset/utils/slack.py | 8 +-
superset/utils/urls.py | 9 +-
superset/utils/webdriver.py | 44 +-
superset/views/base.py | 81 +-
superset/views/core.py | 6 +-
superset/views/database/views.py | 4 +-
superset/views/datasource/schemas.py | 4 +-
superset/views/datasource/utils.py | 5 +-
superset/views/error_handling.py | 8 +-
superset/views/filters.py | 10 +-
superset/views/health.py | 5 +-
superset/views/log/api.py | 3 +-
superset/views/log/views.py | 3 +-
superset/views/users/api.py | 13 +-
superset/views/utils.py | 14 +-
tests/unit_tests/sql/parse_tests.py | 37 +
130 files changed, 3995 insertions(+), 1634 deletions(-)
create mode 100644 .devcontainer/Dockerfile
create mode 100644 .devcontainer/bashrc-additions
create mode 100755 .devcontainer/build-and-push-image.sh
create mode 100644 docs/docs/contributing/debug-cli-db-connection.md
copy
superset-frontend/src/components/Chart/DrillDetail/{DrillDetailMenuItems.tsx =>
useDrillDetailMenuItems.tsx} (63%)