You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ly...@apache.org on 2022/09/28 21:29:59 UTC

[superset] branch lyndsi/uneditable-header updated (7fa31ba609 -> 96235fe413)

This is an automated email from the ASF dual-hosted git repository.

lyndsi pushed a change to branch lyndsi/uneditable-header
in repository https://gitbox.apache.org/repos/asf/superset.git


 discard 7fa31ba609 Fix schema typing
 discard 78dec36afc Fix AddDataset test
 discard c4923c3097 Fix DatasetLayout test
 discard 895abb4e03 header is now uneditable and holds proper default values
    omit 8e2b2c113f Rebase with master and address review comments
    omit 9583534617 lint errors
    omit 1af4659a6c added logging
    omit a027f51e4f fixed tests
    omit e859b533ad implemented feedback
    omit dce8cb2239 with create functionality
    omit d2cc2d9684 added tests
    omit 82f4ef8ea1 rough draft of footer component
     add 42000823be chore: should return if get a exception in Dashboard edit modal (#21524)
     add 737d4dcf0c refactor: refine timestamp expr function (#21510)
     add 135909f814 feat: Making bar graphs in Table viz from fixed-size divs instead of calculated gradients (#21482)
     add 2224ebecfe chore: refactor SqlEditor to functional component (#21320)
     add 6644a84f79 fix(explore): fix chart save when dashboard deleted (#21497)
     add 4d12e3709e feat: generate consistent QueryObject whether GenericAxis is enabled or disabled (#21519)
     add c66205feac fix: pie chart orientation description error (#21514)
     add 8ee34e175d feat(helm): add annotations on ServiceAccount (#21536)
     add e438c967c9 fix(docs): added missing timescale.png (#21542)
     add cbadb8773f fix: Reset dataset name after saving a new dataset in SQL Lab (#21529)
     add fb835d1437 feat(nav): Update Tabbed Nav on CRUD Pages (#21213)
     add bbac67a2dc refactor: Rewrites ColorSchemeControl with Typescript (#21496)
     add e671d80209 feat: support multiple time columns with time grain in Pivot Table v2 (#21537)
     add 3f8e9a567a feat(helm): add RollingUpdate parameters (#20931)
     add dc539087c7 chore: Remove chromatic job per PR as it has errors (#21553)
     add 2e564897f8 feat: Add dataset tagging to the back-end (#20892)
     add d67b04683c feat: support multiple columns with time grain in Table Chart (#21547)
     add 2ec744da21 feat: Increments charts endpoint with related dashboards (#21518)
     add e2b77a7543 fix(sqllab): avoid unexpected re-rendering on DatabaseSelector (#21316)
     add 4913da1511 chore(deps): bump moment-timezone from 0.5.33 to 0.5.37 in /superset-frontend (#21565)
     add c4638fa2b9 feat: Dataset Creation Footer Component (#21241)
     add 5d51555c46 docs: Turkey map already added (#21566)
     add f4646f8edb feat: adding XAxis to BigNumberTrend (#21577)
     add 73429c6b2a fix(dashboard): show correct roles for dashboard access dropdown (#21549)
     add 82bd5a31b8 chore(deps): Unpin sqlparse dependency (#21581)
     add b36bd3f083 fix(databases): GSheets and Clickhouse DBs are not allowed to upload files (#21065)
     add 954fc89871 fix(explore): Fix datasource switch for table chart (#21544)
     add 2cdd88aa4f chore(dashboard): Add filter_scopes warning message for json metadata editor (#21543)
     add 24412e282d fix(dashboard): dashboard doesn't load properly if it has tabs (#21576)
     add bb1cf7f145 refactor: Organizes the Select files (#21589)
     add bb08c7e7f0 chore: Updates CHANGELOG.md and UPDATING.md with 1.5.2 changes (#21601)
     add eac74a1234 chore(deps): bump terser from 5.10.0 to 5.14.2 in /superset-embedded-sdk (#20785)
     add 9b058bc238 chore(deps): bump cookie from 0.4.1 to 0.5.0 in /superset-websocket (#20983)
     add c4edcbdb00 chore(deps): bump http-errors from 1.8.0 to 2.0.0 in /superset-websocket/utils/client-ws-app (#20978)
     add 18ec294336 fix(tags): Adding __init__ to tags (#21591)
     add e3ddd0bdd5 fix: Dataset duplication fatal error (#21358)
     add 2102ba7e4a chore(deps-dev): bump @types/jsonwebtoken from 8.5.5 to 8.5.9 in /superset-websocket (#21602)
     add b8c1aa5ff2 chore(deps): bump node-forge and webpack-dev-server in /superset-frontend (#21169)
     add f86e99e89c docs: Removing erroneous FAQ timeout message (#20853)
     add 546cc18475 docs: update installing-superset-using-docker-compose.mdx (#20958)
     add 15c3c34268 chore: refactor AceEditorWrapper to functional component (#21532)
     add 23cd5c90cf chore: removing '.git' from web url references in Yeoman generator's package.json (#21611)
     add 93f08e778b feat: explicit distribute columns on BoxPlot and apply time grain (#21593)
     add 60bab4269f fix(table-chart): don't color empty cells in table chart with color formatters (#21501)
     add ab53d77aba fix(dashboard): fix Pivot Table V2 dragPreview in the dashboard (#21539)
     add df99293c2b rough draft of footer component
     add dfc8ec9d37 with create functionality
     add c0e47d8f1c header is now uneditable and holds proper default values
     add ac9d80a14e Fix DatasetLayout test
     add f27495b958 Fix AddDataset test
     add d7b2969003 Fix schema typing
     add 96235fe413 Fix weird rebase issue

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   (7fa31ba609)
            \
             N -- N -- N   refs/heads/lyndsi/uneditable-header (96235fe413)

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:
 .github/workflows/chromatic-pr.yml                 |   85 -
 CHANGELOG.md                                       |   37 +-
 UPDATING.md                                        |    6 +
 docs/docs/frequently-asked-questions.mdx           |    8 -
 .../installing-superset-using-docker-compose.mdx   |    2 +-
 docs/docs/miscellaneous/country-map-tools.mdx      |    1 +
 docs/static/img/databases/timescale.png            |  Bin 0 -> 16120 bytes
 docs/static/resources/openapi.json                 |   13 +
 helm/superset/Chart.yaml                           |    2 +-
 helm/superset/templates/deployment-worker.yaml     |    4 +
 helm/superset/templates/deployment.yaml            |    4 +
 helm/superset/templates/service-account.yaml       |    3 +
 helm/superset/values.schema.json                   |    9 +
 helm/superset/values.yaml                          |   13 +
 requirements/base.txt                              |    2 +-
 setup.py                                           |    2 +-
 superset-embedded-sdk/package-lock.json            |  148 +-
 superset-frontend/package-lock.json                | 1749 ++++++++++++--------
 superset-frontend/package.json                     |    4 +-
 .../packages/generator-superset/package.json       |    4 +-
 .../superset-ui-chart-controls/src/index.ts        |    1 +
 .../src/operators/pivotOperator.ts                 |    4 +-
 .../src/operators/prophetOperator.ts               |    5 +-
 .../src/operators/renameOperator.ts                |    6 +-
 .../src/operators/timeComparePivotOperator.ts      |    5 +-
 .../src/operators/utils/index.ts                   |    1 -
 .../src/shared-controls/dndControls.tsx            |   29 +-
 .../src/shared-controls/index.tsx                  |   20 +-
 .../shared-controls/{constants.tsx => mixins.tsx}  |   17 +-
 .../superset-ui-chart-controls/src/types.ts        |   11 +-
 .../src/utils/getTemporalColumns.ts                |   64 +
 .../superset-ui-chart-controls/src/utils/index.ts  |    1 +
 .../superset-ui-chart-controls/test/fixtures.ts    |  149 ++
 .../test/operators/pivotOperator.test.ts           |    2 +-
 .../test/operators/prophetOperator.test.ts         |    2 +-
 .../test/operators/renameOperator.test.ts          |    2 +-
 .../operators/timeComparePivotOperator.test.ts     |    2 +-
 .../test/utils/columnChoices.test.tsx              |    4 +-
 .../test/utils/getTemporalColumns.test.ts          |   95 ++
 .../src/query/buildQueryContext.ts                 |    4 +-
 .../src/query/getXAxis.ts}                         |   14 +-
 .../packages/superset-ui-core/src/query/index.ts   |    1 +
 .../src/query/normalizeTimeColumn.ts               |    4 +-
 .../superset-ui-core/src/query/types/Query.ts      |   54 +-
 .../packages/superset-ui-core/src/types/index.ts   |    2 +
 .../test/query/buildQueryContext.test.ts           |    3 +-
 .../superset-ui-core/test/query/getAxis.test.ts    |   71 +
 .../test/query/normalizeTimeColumn.test.ts         |   50 +-
 .../BigNumber/BigNumberWithTrendline/buildQuery.ts |   40 +-
 .../BigNumberWithTrendline/controlPanel.tsx        |   25 +-
 .../BigNumberWithTrendline/transformProps.ts       |   10 +-
 .../plugin-chart-echarts/src/BigNumber/types.ts    |    2 +-
 .../plugin-chart-echarts/src/BoxPlot/buildQuery.ts |   54 +-
 .../src/BoxPlot/controlPanel.ts                    |   61 +-
 .../src/MixedTimeseries/buildQuery.ts              |   16 +-
 .../src/MixedTimeseries/transformProps.ts          |    7 +-
 .../src/Timeseries/buildQuery.ts                   |   24 +-
 .../src/Timeseries/transformProps.ts               |    8 +-
 .../plugins/plugin-chart-echarts/src/controls.tsx  |    2 +-
 .../test/BigNumber/transformProps.test.ts          |    7 +-
 .../test/MixedTimeseries/buildQuery.test.ts        |  129 +-
 .../test/Timeseries/buildQuery.test.ts             |  179 ++
 .../plugins/plugin-chart-pivot-table/package.json  |    3 +-
 .../src/plugin/buildQuery.ts                       |   39 +-
 .../src/plugin/controlPanel.tsx                    |   41 +-
 .../src/react-pivottable/Styles.js                 |    8 +-
 .../src/react-pivottable/TableRenderers.jsx        |    6 +-
 .../plugins/plugin-chart-table/package.json        |    4 +
 .../plugins/plugin-chart-table/src/TableChart.tsx  |  109 +-
 .../plugins/plugin-chart-table/src/buildQuery.ts   |   25 +-
 .../plugin-chart-table/src/controlPanel.tsx        |   37 +-
 .../plugin-chart-table/test/TableChart.test.tsx    |   75 +-
 .../AceEditorWrapper/AceEditorWrapper.test.tsx     |   31 -
 .../SqlLab/components/AceEditorWrapper/index.tsx   |  256 ++-
 .../SqlLab/components/SaveDatasetModal/index.tsx   |    9 +-
 .../SqlLab/components/SqlEditor/SqlEditor.test.jsx |   56 +
 .../src/SqlLab/components/SqlEditor/index.jsx      |  890 +++++-----
 superset-frontend/src/SqlLab/constants.ts          |    6 +
 .../src/components/DatabaseSelector/index.tsx      |   31 +-
 ...{Select.stories.tsx => AsyncSelect.stories.tsx} |  225 +--
 .../src/components/Select/AsyncSelect.tsx          |  111 +-
 .../src/components/Select/Select.stories.tsx       |  247 +--
 superset-frontend/src/components/Select/Select.tsx |   33 +-
 .../src/components/Select/constants.ts             |   52 +
 superset-frontend/src/components/Select/styles.tsx |   90 +
 superset-frontend/src/components/Select/types.ts   |  201 +++
 superset-frontend/src/components/Select/utils.tsx  |  259 +--
 .../src/components/TableSelector/index.tsx         |    1 -
 .../PropertiesModal/PropertiesModal.test.tsx       |  179 +-
 .../dashboard/components/PropertiesModal/index.tsx |   97 +-
 .../dashboard/components/gridComponents/Tabs.jsx   |   50 +-
 .../components/gridComponents/Tabs.test.jsx        |   12 +
 .../src/explore/actions/hydrateExplore.ts          |    1 -
 .../src/explore/actions/saveModalActions.js        |   29 +-
 .../src/explore/actions/saveModalActions.test.js   |   61 +-
 .../components/ExploreViewContainer/index.jsx      |    1 -
 .../src/explore/components/SaveModal.tsx           |   22 +-
 .../ColorSchemeControl/ColorScheme.test.jsx        |   43 -
 .../ColorSchemeControl/ColorSchemeControl.test.tsx |    4 +-
 .../controls/ColorSchemeControl/index.jsx          |  184 --
 .../controls/ColorSchemeControl/index.tsx          |  189 +++
 .../controls/SelectAsyncControl/index.tsx          |    3 +-
 .../getControlValuesCompatibleWithDatasource.ts    |   11 +-
 superset-frontend/src/views/CRUD/data/common.ts    |   14 +-
 .../views/CRUD/data/database/DatabaseList.test.jsx |    4 +
 .../src/views/CRUD/data/database/DatabaseList.tsx  |   11 +-
 .../data/database/DatabaseModal/ExtraOptions.tsx   |   79 +-
 .../data/database/DatabaseModal/index.test.jsx     |  197 +++
 .../CRUD/data/database/DatabaseModal/index.tsx     |    4 +-
 .../src/views/CRUD/data/database/types.ts          |    5 +
 .../views/CRUD/data/dataset/DatasetList.test.jsx   |    9 +
 .../src/views/CRUD/data/dataset/DatasetList.tsx    |    5 +-
 .../src/views/CRUD/data/query/QueryList.test.tsx   |   23 +
 .../CRUD/data/savedquery/SavedQueryList.test.jsx   |   18 +
 .../src/views/components/RightMenu.test.tsx        |  268 +++
 .../src/views/components/RightMenu.tsx             |   18 +-
 superset-frontend/src/views/components/SubMenu.tsx |    2 +-
 superset-frontend/src/views/routes.test.tsx        |    5 +-
 superset-websocket/package-lock.json               |   28 +-
 superset-websocket/package.json                    |    4 +-
 .../utils/client-ws-app/package-lock.json          |  360 +---
 .../utils/client-ws-app/package.json               |    2 +-
 superset/charts/api.py                             |    5 +
 superset/common/tags.py                            |  315 +++-
 superset/connectors/sqla/models.py                 |    5 +-
 superset/databases/api.py                          |   10 +
 superset/db_engine_specs/base.py                   |   18 +-
 superset/db_engine_specs/clickhouse.py             |    2 +
 superset/db_engine_specs/gsheets.py                |    2 +
 superset/db_engine_specs/pinot.py                  |    1 -
 superset/initialization/__init__.py                |    4 +
 ...8-07-26_11-10_c82ee8a39623_add_implicit_tags.py |    2 +-
 superset/models/core.py                            |   18 +-
 superset/models/dashboard.py                       |    7 -
 superset/models/slice.py                           |    8 -
 superset/models/sql_lab.py                         |    7 -
 superset/{advanced_data_type => tags}/__init__.py  |    0
 superset/tags/core.py                              |   89 +
 superset/{models/tags.py => tags/models.py}        |   46 +-
 superset/tasks/cache.py                            |    2 +-
 superset/utils/url_map_converters.py               |    2 +-
 superset/views/database/forms.py                   |   14 +
 superset/views/tags.py                             |   30 +-
 tests/integration_tests/charts/api_tests.py        |   45 +
 tests/integration_tests/databases/api_tests.py     |   25 +
 .../db_engine_specs/bigquery_tests.py              |    6 +-
 .../fixtures/{client.py => tags.py}                |   15 +-
 tests/integration_tests/strategy_tests.py          |    2 +-
 tests/integration_tests/tagging_tests.py           |  276 +++
 tests/unit_tests/sql_parse_tests.py                |   19 +-
 150 files changed, 5626 insertions(+), 3419 deletions(-)
 delete mode 100644 .github/workflows/chromatic-pr.yml
 create mode 100644 docs/static/img/databases/timescale.png
 rename superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/{constants.tsx => mixins.tsx} (79%)
 create mode 100644 superset-frontend/packages/superset-ui-chart-controls/src/utils/getTemporalColumns.ts
 create mode 100644 superset-frontend/packages/superset-ui-chart-controls/test/fixtures.ts
 create mode 100644 superset-frontend/packages/superset-ui-chart-controls/test/utils/getTemporalColumns.test.ts
 rename superset-frontend/packages/{superset-ui-chart-controls/src/operators/utils/getAxis.ts => superset-ui-core/src/query/getXAxis.ts} (79%)
 create mode 100644 superset-frontend/packages/superset-ui-core/test/query/getAxis.test.ts
 copy superset-frontend/src/components/Select/{Select.stories.tsx => AsyncSelect.stories.tsx} (62%)
 create mode 100644 superset-frontend/src/components/Select/constants.ts
 create mode 100644 superset-frontend/src/components/Select/styles.tsx
 create mode 100644 superset-frontend/src/components/Select/types.ts
 delete mode 100644 superset-frontend/src/explore/components/controls/ColorSchemeControl/ColorScheme.test.jsx
 delete mode 100644 superset-frontend/src/explore/components/controls/ColorSchemeControl/index.jsx
 create mode 100644 superset-frontend/src/explore/components/controls/ColorSchemeControl/index.tsx
 create mode 100644 superset-frontend/src/views/components/RightMenu.test.tsx
 copy superset/{advanced_data_type => tags}/__init__.py (100%)
 create mode 100644 superset/tags/core.py
 rename superset/{models/tags.py => tags/models.py} (84%)
 copy tests/integration_tests/fixtures/{client.py => tags.py} (63%)