This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch ch18764_gsheetsAdd
in repository https://gitbox.apache.org/repos/asf/superset.git.
from 9aba8fc remove console.log
add 0e4f249 revisions
add 6b30f79 Update
superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
add 962e597 Update
superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
add 84222b2 revisions
new 4b466ad save this for now
new aa65132 working form
add 77800f9 chore: results of npm audit fix on superset-websocket (#15591)
add e539d08 fix: DBC UI tooltip aligment (#15595)
add ad85e7b added isEditMode (#15594)
add 4685d86 fix: Revert "chore: Bump @svgr/webpack to 5.5.0" (#15589)
add 4ab565c refactor: icon to icons for sliceheader component (#15567)
add 026eefd Revert "Open in _self (#14778)" (#15588)
add 2be52c0 refactor: icon to icons for controls (#15568)
add 1d572ca fix(dashboard-list): change name of dashboard is not
reflected instantly (#15186)
add 7e9674a refactor(annotation): improve annotation modal (#15359)
add 367d47b chore: bumping superset-ui 0.17.64 (#15615)
add ee8b1ed chore: update dataset count badge and tash icon sizing
(#15608)
add abc18b1 initial commit (#15597)
add cc765b5 refactor: icon to icons for annotations & css templates
modals (#15611)
add b5fc03f fix: Database Connection Modal - corrected tooltip alignment
and info alert width (#15612)
add f67e402 update db for expose in sqllab param (#15609)
add 600473f refactor: icon to icons for toasts component (#15579)
add faf6fcd fix: Database List Sorted (#15619)
add 4d1672f fix: error page status codes (#15620)
add 2ebba51 clears errors when closing out of modal (#15623)
add 7ec6bdf fix: avoid fetching favorite status for anonymous user
(#15590)
add 0778f4a docs(docker): update README (#15607)
add 78dd17c docs: Small addition in add new databases with docker (#15410)
add 9ed8ce5 docs: fix typos in docs (#15113)
add 62a8f2e chore(python-testing): move memoized tests to unit tests
(#15507)
add d70ac21 fix(native-filters): Fix required filters (#15572)
add 5d86ffe fix: duplicate DB names (#15614)
add 79d3d06 refactor: icon to icons for homepage and card compompents
(#15624)
add d8a15e6 refactor: icon to icons for sqllab (#15593)
add 257385e feat(explore): Upgraded viz select gallery (#15303)
add 34542db refactor: icon to icons for syntaxhighlighter and querylist
components (#15618)
add 2252f33 fix: Remove default values for engine and schemas (#15635)
add f39582c fix: change sslmode to require for Postgres (#15642)
add 517f8c0 chore: bump superset-ui/plugin-chart-echarts 0.17.65 (#15633)
add 2dc8bd6 fix: Fix test connection for extra fields (#15645)
add 52ad779 fix: safe removal of tab with filters still scoped to a
non-existing chart (#15650)
add f0c0d74 chore: Reverts reset form in native filters (#15644)
add 8efd94a refactor: icon to icons for navbar (#15643)
add a914e3c feat(explore): Implement conditional formatting component
(#15651)
add 02032ee feat: cancel db query on stop (#15403)
add e6bbca3 chore: Preserve native filters selection after refresh
(#15583)
add ad87ba3 docs: Add section about updating Python requirements (#15574)
add 1483e04 refactor: icon to icons for Querytable, datasource test, and
copyclipboard story (#15665)
add 351d3c5 chore: Add metrics_b as viable metric form data parameter
(#15646)
add 9f969d0 chore: Add documentation for DB Connection UI (#15599)
add 42a1061 fix: small fixes for Makefile (#15670)
add b3e699b perf: Refactor Dashboard.datasets_trimmed_for_slices (#15648)
add a1793f3 fix(dashboard): Filters panel height (#15661)
add de17acd feat(menu): expand support for custom branding (#15628)
add 154f460 chore: Removes unnecessary uses of preselectNativeFilters
(#15688)
add ac01d91 fix: Show affected filters when interacting with the filters
(#15634)
add 070f0b6 refactor: icon to icons for IconButton and Header component
(#15647)
add 5d86b8dd refactor: remove old Icon component (#15690)
add 985af72 fix(dashboard): Make the View Chart In Explore menu option a
link (#15668)
add 22494b6 fix: remove form invalid title (#15679) (#15680)
add b489cff fix: no lazy translation on SupersetError (#15669)
add 5594a3b Merge branch 'pexdax/improved-sheets' of
https://github.com/apache/superset into pexdax/improved-sheets
new bd089fb Merge branch 'pexdax/improved-sheets' of
https://github.com/apache/superset into ch18764_gsheetsAdd
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
...est.yml => superset-python-integrationtest.yml} | 10 +-
.github/workflows/superset-python-unittest.yml | 152 +--
CONTRIBUTING.md | 12 +
Makefile | 8 +-
docker/README.md | 44 +-
docs/installation.rst | 2 +-
.../Connecting to Databases/docker-add-drivers.mdx | 8 +-
docs/src/pages/docs/Connecting to Databases/ui.mdx | 77 ++
docs/src/pages/docs/installation/caching.mdx | 2 +-
.../docs/installation/networking_settings.mdx | 2 +-
helm/superset/Chart.yaml | 2 +-
helm/superset/values.yaml | 2 +-
.../integration/dashboard/edit_mode.test.js | 4 +-
.../integration/dashboard/edit_properties.test.ts | 2 +-
.../cypress/integration/dashboard/markdown.test.ts | 2 +-
.../cypress/integration/dashboard/save.test.js | 6 +-
.../cypress/integration/explore/control.test.ts | 10 +-
superset-frontend/jest.config.js | 2 +-
superset-frontend/package-lock.json | 1320 ++++++++++----------
superset-frontend/package.json | 60 +-
superset-frontend/spec/helpers/testing-library.tsx | 16 +-
.../dashboard/util/getDashboardUrl_spec.js | 2 +-
.../datasource/DatasourceEditor_spec.jsx | 3 +-
.../explore/components/VizTypeControl_spec.jsx | 60 +-
.../messageToasts/components/Toast_spec.jsx | 7 +-
superset-frontend/src/CRUD/CollectionTable.tsx | 1 -
superset-frontend/src/SqlLab/actions/sqlLab.js | 24 +-
.../src/SqlLab/components/QueryTable/index.jsx | 132 +-
.../src/SqlLab/components/RunQueryActionButton.tsx | 10 +-
.../src/SqlLab/components/SaveQuery.tsx | 21 +-
.../src/SqlLab/components/ShareSqlLabQuery.tsx | 24 +-
.../src/SqlLab/components/SqlEditor.jsx | 13 +
superset-frontend/src/SqlLab/reducers/sqlLab.js | 5 +-
.../src/addSlice/AddSliceContainer.test.tsx | 17 +-
.../src/addSlice/AddSliceContainer.tsx | 60 +-
superset-frontend/src/common/components/index.tsx | 11 +-
.../CopyToClipboard/CopyToClipboard.stories.tsx | 6 +-
.../src/components/DynamicPlugins/index.tsx | 96 +-
.../ErrorMessage/BasicErrorAlert.test.tsx | 7 -
.../components/ErrorMessage/ErrorAlert.test.tsx | 7 -
.../src/components/FaveStar/FaveStar.test.tsx | 7 -
.../src/components/Icon/icon.stories.jsx | 84 --
superset-frontend/src/components/Icon/index.tsx | 440 -------
.../src/components/IconButton/index.tsx | 22 +-
.../src/components/ListView/ActionsBar.tsx | 3 +-
.../ListViewCard/ListViewCard.stories.tsx | 3 +-
.../src/components/ListViewCard/index.tsx | 7 +-
.../src/components/Menu/LanguagePicker.tsx | 4 +-
.../src/components/Menu/Menu.test.tsx | 3 +
superset-frontend/src/components/Menu/Menu.tsx | 57 +-
.../src/components/Menu/MenuRight.tsx | 18 +-
.../DashboardBuilder/DashboardBuilder.tsx | 7 +-
.../dashboard/components/DashboardBuilder/state.ts | 7 +-
.../dashboard/components/Header/Header.test.tsx | 19 +-
.../HeaderActionsDropdown.test.tsx | 2 +-
.../src/dashboard/components/Header/index.jsx | 11 +-
.../src/dashboard/components/Header/types.ts | 3 +-
.../components/SliceHeader/SliceHeader.test.tsx | 12 +-
.../src/dashboard/components/SliceHeader/index.tsx | 48 +-
.../SliceHeaderControls.test.tsx | 12 -
.../components/SliceHeaderControls/index.tsx | 41 +-
.../dashboard/components/gridComponents/Chart.jsx | 13 +-
.../nativeFilters/FilterBar/FilterBar.test.tsx | 24 +-
.../FilterBar/FilterControls/FilterValue.tsx | 16 +-
.../FilterBar/FilterControls/utils.ts | 17 +
.../nativeFilters/FilterBar/Header/Header.test.tsx | 1 +
.../nativeFilters/FilterBar/Header/index.tsx | 17 +-
.../components/nativeFilters/FilterBar/index.tsx | 81 +-
.../FiltersConfigForm/DefaultValue.tsx | 6 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 117 +-
.../FiltersConfigModal/FiltersConfigForm/state.ts | 41 +-
.../FiltersConfigModal/FiltersConfigModal.tsx | 2 -
.../nativeFilters/FiltersConfigModal/utils.ts | 2 -
.../dashboard/components/nativeFilters/state.ts | 11 -
.../src/dashboard/containers/DashboardHeader.jsx | 3 +-
.../dashboard/util/activeAllDashboardFilters.ts | 2 +-
.../src/dashboard/util/getDashboardUrl.ts | 13 +-
.../util/replaceUndefinedByNull.ts} | 28 +-
superset-frontend/src/dataMask/reducer.ts | 6 +-
.../src/datasource/DatasourceEditor.jsx | 16 +-
.../explore/components/ExploreViewContainer.jsx | 8 +-
.../controls/CollectionControl/index.jsx | 10 +-
.../ConditionalFormattingControl.tsx | 184 +++
.../FormattingPopover.tsx | 61 +
.../FormattingPopoverContent.tsx | 223 ++++
.../ConditionalFormattingControl}/index.ts | 6 +-
.../controls/ConditionalFormattingControl/types.ts | 68 +
.../controls/DatasourceControl/index.jsx | 12 +-
.../controls/DateFilterControl/DateFilterLabel.tsx | 15 +-
.../MetricControl/AdhocMetricPopoverTrigger.tsx | 1 -
.../controls/VizTypeControl/VizTypeControl.less | 54 -
.../VizTypeControl/VizTypeControl.test.tsx | 35 +-
.../controls/VizTypeControl/VizTypeGallery.tsx | 562 +++++++++
.../components/controls/VizTypeControl/index.jsx | 244 ----
.../components/controls/VizTypeControl/index.tsx | 152 +++
.../src/explore/components/controls/index.js | 2 +
.../src/explore/exploreUtils/index.js | 11 +-
.../components/GroupBy/GroupByFilterPlugin.tsx | 22 +-
.../filters/components/Range/RangeFilterPlugin.tsx | 94 +-
.../components/Select/SelectFilterPlugin.tsx | 25 +-
.../filters/components/Time/TimeFilterPlugin.tsx | 12 +-
.../TimeColumn/TimeColumnFilterPlugin.tsx | 33 +-
.../components/TimeGrain/TimeGrainFilterPlugin.tsx | 33 +-
superset-frontend/src/filters/components/common.ts | 6 +
.../src/messageToasts/components/Toast.tsx | 20 +-
superset-frontend/src/setup/setupErrorMessages.ts | 4 +
.../src/views/CRUD/alert/AlertReportModal.tsx | 19 +-
.../CRUD/alert/components/NotificationMethod.tsx | 7 +-
.../views/CRUD/alert/components/RecipientIcon.tsx | 26 +-
.../src/views/CRUD/annotation/AnnotationList.tsx | 1 +
.../views/CRUD/annotation/AnnotationModal.test.jsx | 1 +
.../src/views/CRUD/annotation/AnnotationModal.tsx | 38 +-
.../CRUD/annotationlayers/AnnotationLayerModal.tsx | 11 +-
.../src/views/CRUD/chart/ChartCard.tsx | 6 +-
.../views/CRUD/csstemplates/CssTemplateModal.tsx | 11 +-
.../src/views/CRUD/dashboard/DashboardList.tsx | 22 +-
.../components/SyntaxHighlighterCopy/index.tsx | 6 +-
.../DatabaseModal/DatabaseConnectionForm.tsx | 168 ++-
.../data/database/DatabaseModal/ExtraOptions.tsx | 22 +-
.../data/database/DatabaseModal/ModalHeader.tsx | 7 +-
.../data/database/DatabaseModal/index.test.jsx | 34 +-
.../CRUD/data/database/DatabaseModal/index.tsx | 128 +-
.../CRUD/data/database/DatabaseModal/styles.ts | 1 -
.../src/views/CRUD/data/database/types.ts | 3 +
.../src/views/CRUD/data/query/QueryList.tsx | 81 +-
superset-frontend/src/views/CRUD/hooks.ts | 2 +-
superset-frontend/src/views/CRUD/utils.tsx | 7 +
.../src/views/CRUD/welcome/ActivityTable.tsx | 14 +-
.../src/views/CRUD/welcome/SavedQueries.tsx | 10 +-
.../TimeTable/TimeTableChartPlugin.js | 15 +-
superset-frontend/webpack.config.js | 2 +-
superset-websocket/package-lock.json | 99 +-
superset/config.py | 10 +-
superset/connectors/base/models.py | 3 +-
superset/connectors/druid/models.py | 3 +-
superset/databases/api.py | 2 +
superset/db_engine_specs/base.py | 28 +-
superset/db_engine_specs/mysql.py | 32 +
superset/db_engine_specs/postgres.py | 38 +-
superset/db_engine_specs/snowflake.py | 32 +
superset/exceptions.py | 4 +
superset/jinja_context.py | 7 +-
.../620241d1153f_update_time_grain_sqla.py | 4 +-
superset/models/core.py | 7 +-
superset/models/dashboard.py | 47 +-
superset/models/datasource_access_request.py | 4 +-
superset/models/slice.py | 5 +-
superset/sql_lab.py | 51 +-
superset/typing.py | 6 +-
superset/utils/core.py | 60 -
superset/utils/date_parser.py | 2 +-
superset/utils/memoized.py | 77 ++
superset/views/base.py | 9 +-
superset/views/core.py | 25 +-
tests/integration_tests/databases/api_tests.py | 1 +
.../db_engine_specs/mysql_tests.py | 20 +
.../db_engine_specs/postgres_tests.py | 22 +-
.../db_engine_specs/snowflake_tests.py | 21 +
tests/integration_tests/utils_tests.py | 74 --
tests/unit_tests/memoized_tests.py | 96 ++
160 files changed, 3932 insertions(+), 2871 deletions(-)
copy .github/workflows/{superset-python-unittest.yml =>
superset-python-integrationtest.yml} (96%)
create mode 100644 docs/src/pages/docs/Connecting to Databases/ui.mdx
delete mode 100644 superset-frontend/src/components/Icon/icon.stories.jsx
delete mode 100644 superset-frontend/src/components/Icon/index.tsx
copy superset-frontend/src/{utils/cacheWrapper.ts =>
dashboard/util/replaceUndefinedByNull.ts} (63%)
create mode 100644
superset-frontend/src/explore/components/controls/ConditionalFormattingControl/ConditionalFormattingControl.tsx
create mode 100644
superset-frontend/src/explore/components/controls/ConditionalFormattingControl/FormattingPopover.tsx
create mode 100644
superset-frontend/src/explore/components/controls/ConditionalFormattingControl/FormattingPopoverContent.tsx
copy superset-frontend/src/{components/ListView =>
explore/components/controls/ConditionalFormattingControl}/index.ts (87%)
create mode 100644
superset-frontend/src/explore/components/controls/ConditionalFormattingControl/types.ts
delete mode 100644
superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeControl.less
create mode 100644
superset-frontend/src/explore/components/controls/VizTypeControl/VizTypeGallery.tsx
delete mode 100644
superset-frontend/src/explore/components/controls/VizTypeControl/index.jsx
create mode 100644
superset-frontend/src/explore/components/controls/VizTypeControl/index.tsx
create mode 100644 superset/utils/memoized.py
create mode 100644 tests/unit_tests/memoized_tests.py