This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch hugh/bg-validation-db-modal
in repository https://gitbox.apache.org/repos/asf/superset.git.
from 4a92dd6 address comments
add 8febd81 feat: validate database parameters (#14883)
add 2313e3e fix: show error on invalid import (#14851)
add acbbced fix: timerange in filter box error (#14890)
add b72e5e0 feat(native-filters): improve inverse selection indicators
(#14873)
add fce8ac2 Add style (#14839)
add 8519a09 chore: Improves the native filters UI/UX - iteration 5
(#14882)
add f82a085 feat(dashboard): Highlight tabs that contain a chart in scope
of focused native filter (#14865)
add 507d4d7 chore: Bump @superset-ui/legacy-preset-chart-deckgl to 0.4.7
(#14871)
add 8f81fc0 fix: Redshift parameters not rendering (#14888)
add 0eb34be leverage qs to create new tab (#14855)
add 1d78c43 Upgrade cryptography package (#14906)
add a85f5c1 feat(trino): add support for user impersonation (#14843)
add b041897 chore: upgrade bleach dependency (#14907)
add 51935dd fix: permission denied when starting docker with uid 1000
(#14903)
add d86880d Revert style (#14840)
add 50c5dcb test(native-filters): add test for Select filter (#14919)
add e43112c feat(native-filter): Hide native filters (#14784)
add 66282c3 chore: customize adhoc filter icon and fix creatable label
(#14896)
add eef489c feat: add support for filters in sqlLab (#14765)
add eced510 fix: Query History cosmetic issues (#14885)
add fac6b7c fix: Remove Icon and align close button on DatasetModal
(#14902)
add 8cc97e4 feat: validation db modal (#14832)
add 06945cc feat: Icon Button (#14818)
add b6f00e6 chore: Improves the native filters UI/UX - iteration 6
(#14932)
add f4de0dc fix: is_temporal should overwrite is_dttm (#14894)
add 723a671 fix: time parser truncate to first day of year/month (#14945)
add 405f95b feat(dashboard/native-filters): Hide filters out of scope of
current tab (#14933)
add bf1358b feat: Adding FORCE_SSL as feature flag in config.py (#14934)
add 53505c2 additional safeguard (#14953)
add e6bc7c9 feat: add type_generic and is_dttm to table metadata (#14863)
add f94c6d2 fix(native-filters): cascading filters not rendering in tab
(#14964)
add 78d3089 chore: bump superset-ui to 0.17.53 (#14968)
add 765e9dd feat(native-filters): apply cascading without instant
filtering (#14966)
add f652908 fix: renamed sqllab filters to _filters (#14971)
add 004a6d9 refactor: Convert TableElement.jsx component from class to
functional with hooks (#14830)
add 20b86f8 fix(filter box): replace freeform where clause with ilike
(#14900)
add 61a438a fix(native-filters): update cascaded filter state on change
(#14980)
add 6955ed2 fix(native-filters): remove implied fetch predicate (#14982)
add 8c01c13 fix(native-filters): Fix "undefined" error after editing a
filter (#14984)
add 355223d feat(native-filters): add markers and number formatter +
simple tests (#14981)
add c8cf4b6 fix: toggle fullscreen on the dashboard (#14979)
add c0a8c74 # This is a combination of 6 commits. # This is the 1st
commit message:
add 907165f fix test for db modal
add e3a87b9 feat(db-connection-ui): Allow users to pick engine (#14884)
add 05a1bb7 split db modal file
add a8afce9 split db modal file
add b69bf16 hook up available databases
add 6eae68c add comment
add 842f856 first draft
add e764072 use new validation component
add a47d52d first draft
add 253053b first draft
add 8cec32b merge
add 92d81b9 using paxdax feature branch
add 19a4c3a get tests passing
add e7f0dbb split db modal file
add b57d090 hook up available databases
add 271c6e9 use new validation component
add ef63e3c feat(db-connection-ui): Allow users to pick engine (#14884)
add 013674b Merge branch 'pexdax/db-connection-ui' into ch6732_editDBModal
add 9246710 revisions
add 502abec fix package-lock.json
add 0457bfe fix conflicts
add 25b435b Merge branch 'pexdax/db-connection-ui' of
ssh://github.com/apache/superset into ch6732_editDBModal
add 29a899d # This is a combination of 6 commits. # This is the 1st
commit message:
add f45cae2 fix test for db modal
add 1aae834 feat(db-connection-ui): Allow users to pick engine (#14884)
add a380629 Merge branch 'master' into pexdax/db-connection-ui
add c4125fb pulling feature branch
add 95c7f66 more revisions
add e539834 used db.backend
add 47c30cb added engine to model
add 9fac1eb elizabeth revisions
add 78d7edb elizabeth revisions
add 145b947 # This is a combination of 6 commits. # This is the 1st
commit message:
add cea7b6c fix test for db modal
add d5c5167 feat(db-connection-ui): Allow users to pick engine (#14884)
add fc6d5d9 Merge branch 'pexdax/db-connection-ui' into ch6732_editDBModal
add 2cbe31e working edit db dynamic modal
add 6d0c45f Creating IconButton
add b0cdaba Changed naming: logo is now icon
add 8d96434 Hard-coded inset values for ellipses
add 3eea36d Removed default SVG
add b0ab2da Fixed test
add c8b148e Removed logo from test
add 8907bc1 Merge branch 'lyndsi/create-icon-button' of
https://github.com/preset-io/superset into
pexdax/db-connection-ui-show-preferred
add 96a87d8 saving for now
add 717c9ab update styles
add e299bfa save
add 8cfa0d8 create 1 function for setting the DB
add 7c610d5 add function to preferred section
add dcf8144 small refactor and added styling
add ef23e53 add new footer buttons
add 2602827 add finsh buttong
add 530150e refactor db modal render
add 508a6b9 fix comments issue
add 607e01a add header
add b343ca4 add bottom footer to sqlalchemy form
add 0df0cab add back headers
add 0d3c31d fix merge conflicts
add c21987f add step
add 9d2b36e address comments
add b8e6687 feat: Dynamic Form for edit DB Modal (#14845)
add 6c9fc9c fix merge conflicts
add 4aa2428 oops
add 514ec63 working preferred branch
add 5a604e3 remove merge conflicts
add 120866c small fix on blocking creating
add 9f9285a fixed merge conflicts
No new revisions were added by this update.
Summary of changes:
.pylintrc | 2 +-
Dockerfile | 4 +-
docs/installation.rst | 32 +
requirements/base.txt | 4 +-
setup.py | 2 +-
.../integration/dashboard_list/filter.test.ts | 4 +-
.../cypress/integration/database/modal.test.ts | 6 +-
superset-frontend/package-lock.json | 639 +++++++++----------
superset-frontend/package.json | 59 +-
.../dashboard/components/DashboardBuilder_spec.jsx | 5 +
.../components/gridComponents/ChartHolder_spec.jsx | 2 +
.../components/gridComponents/Tabs_spec.jsx | 4 +
.../datasource/DatasourceEditor_spec.jsx | 3 +
.../spec/javascripts/sqllab/TableElement_spec.jsx | 24 +-
.../{QueryTable.jsx => QueryTable/index.jsx} | 143 ++++-
.../components/QueryTable/styles.ts} | 36 +-
.../src/SqlLab/components/ResultSet.tsx | 18 +-
.../src/SqlLab/components/TableElement.jsx | 202 +++---
superset-frontend/src/components/Form/FormItem.tsx | 2 +-
.../IconButton.stories.tsx} | 63 +-
.../IconButton.test.jsx} | 30 +-
.../src/components/IconButton/index.tsx | 122 ++++
superset-frontend/src/components/Menu/Menu.tsx | 3 +-
.../src/components/Menu/MenuRight.tsx | 2 +-
superset-frontend/src/components/Tabs/Tabs.tsx | 5 -
superset-frontend/src/constants.ts | 16 +-
.../src/dashboard/actions/dashboardState.js | 5 +
superset-frontend/src/dashboard/actions/hydrate.js | 10 +-
.../src/dashboard/actions/nativeFilters.ts | 26 +-
.../DashboardBuilder/DashboardBuilder.tsx | 6 +-
.../DashboardBuilder/DashboardContainer.tsx | 36 +-
.../dashboard/components/FiltersBadge/selectors.ts | 10 +-
.../Header/HeaderActionsDropdown/index.jsx | 2 +-
.../components/gridComponents/ChartHolder.jsx | 41 +-
.../components/gridComponents/ChartHolder.test.tsx | 6 +-
.../dashboard/components/gridComponents/Tab.jsx | 21 +-
.../dashboard/components/gridComponents/Tabs.jsx | 27 +-
.../components/gridComponents/Tabs.test.tsx | 5 +-
.../CascadeFilters/CascadeFilterControl/index.tsx | 5 +
.../CascadeFilters/CascadePopover/index.tsx | 16 +-
.../nativeFilters/FilterBar/FilterBar.test.tsx | 4 +-
.../FilterBar/FilterControls/FilterControl.tsx | 2 +
.../FilterBar/FilterControls/FilterControls.tsx | 120 +++-
.../FilterBar/FilterControls/FilterValue.tsx | 3 +-
.../FilterBar/FilterControls/state.ts | 17 +-
.../FilterBar/FilterControls/types.ts | 2 +
.../components/nativeFilters/FilterBar/index.tsx | 21 +-
.../FiltersConfigModal/FilterTabs.tsx | 81 ++-
.../FiltersConfigForm/FiltersConfigForm.tsx | 676 +++++++++++----------
.../FiltersConfigForm/getControlItemsMap.test.tsx | 8 +-
.../FiltersConfigForm/getControlItemsMap.tsx | 15 +-
.../FiltersConfigModal/FiltersConfigModal.tsx | 8 +-
.../nativeFilters/FiltersConfigModal/utils.ts | 2 +-
.../dashboard/components/nativeFilters/state.ts | 7 +
.../dashboard/components/nativeFilters/types.ts | 2 +
.../dashboard/components/nativeFilters/utils.ts | 74 ++-
.../dashboard/containers/DashboardComponent.jsx | 29 +-
.../src/dashboard/reducers/dashboardState.js | 7 +
superset-frontend/src/dashboard/types.ts | 6 +-
.../src/dashboard/util/getDashboardUrl.ts | 4 +-
.../src/datasource/DatasourceEditor.jsx | 8 +-
.../explore/components/ControlPanelsContainer.tsx | 7 +
.../src/explore/components/EmbedCodeButton.jsx | 2 +-
.../explore/components/ExploreViewContainer.jsx | 2 +-
.../index.jsx | 6 +-
.../explore/components/controls/SelectControl.jsx | 4 -
.../src/explore/exploreUtils/index.js | 4 +-
.../RangeFilterPlugin.stories.tsx} | 60 +-
.../components/Range/RangeFilterPlugin.test.tsx | 121 ++++
.../filters/components/Range/RangeFilterPlugin.tsx | 60 +-
.../src/filters/components/Range/buildQuery.ts | 1 -
.../components/Select/SelectFilterPlugin.test.tsx | 213 +++++++
.../components/Select/SelectFilterPlugin.tsx | 12 +-
.../filters/components/Select/buildQuery.test.ts | 1 -
.../src/filters/components/Select/buildQuery.ts | 1 -
superset-frontend/src/modules/utils.js | 10 -
superset-frontend/src/utils/urlUtils.ts | 20 +-
.../DatabaseModal/DatabaseConnectionForm.tsx | 26 +-
.../data/database/DatabaseModal/ExtraOptions.tsx | 4 +-
.../data/database/DatabaseModal/index.test.jsx | 136 ++---
.../CRUD/data/database/DatabaseModal/index.tsx | 286 ++++++---
.../CRUD/data/database/DatabaseModal/styles.ts | 44 +-
.../src/views/CRUD/data/database/types.ts | 9 +-
.../views/CRUD/data/dataset/AddDatasetModal.tsx | 12 +-
.../src/visualizations/FilterBox/FilterBox.jsx | 10 +-
superset/charts/api.py | 17 +-
superset/commands/importers/exceptions.py | 5 +
superset/config.py | 11 +-
superset/connectors/sqla/models.py | 18 +-
superset/dashboards/api.py | 18 +-
superset/databases/api.py | 18 +-
superset/databases/schemas.py | 24 +-
superset/datasets/api.py | 18 +-
superset/db_engine_specs/redshift.py | 1 +
superset/db_engine_specs/trino.py | 38 +-
superset/models/core.py | 7 +-
superset/queries/saved_queries/api.py | 17 +-
superset/utils/date_parser.py | 3 +-
superset/views/utils.py | 25 +-
tests/charts/api_tests.py | 39 +-
tests/dashboards/api_tests.py | 86 ++-
tests/databases/api_tests.py | 112 +++-
tests/databases/schema_tests.py | 21 +
tests/datasets/api_tests.py | 57 +-
tests/model_tests.py | 27 +
tests/sqla_models_tests.py | 4 +
tests/utils/date_parser_tests.py | 12 +
107 files changed, 3012 insertions(+), 1361 deletions(-)
rename superset-frontend/src/SqlLab/components/{QueryTable.jsx =>
QueryTable/index.jsx} (66%)
copy superset-frontend/src/{dashboard/util/getFilterScopeParentNodes.js =>
SqlLab/components/QueryTable/styles.ts} (61%)
copy superset-frontend/src/components/{Timer/Timer.stories.tsx =>
IconButton/IconButton.stories.tsx} (55%)
copy superset-frontend/src/components/{OmniContainer/Omnibar.test.tsx =>
IconButton/IconButton.test.jsx} (66%)
create mode 100644 superset-frontend/src/components/IconButton/index.tsx
copy
superset-frontend/src/filters/components/{Select/SelectFilterPlugin.stories.tsx
=> Range/RangeFilterPlugin.stories.tsx} (51%)
create mode 100644
superset-frontend/src/filters/components/Range/RangeFilterPlugin.test.tsx
create mode 100644
superset-frontend/src/filters/components/Select/SelectFilterPlugin.test.tsx